No BLE activity Flash operation will always succeed.
I can not write to flash ok,
So, I want to change the BLE status.
No BLE activity Flash operation will always succeed.
I can not write to flash ok,
So, I want to change the BLE status.
I use register to write and read flash can be ok without BLE. So, I want to get the method to change the BLE status to No BLE status. the data is come from the BLE from my android APP.
NRF_NVMC->CONFIG=0;//FOR READ We only add one sentense as above, the board wil die. Why?
Hi,
It is fully possible to read/write to flash when you are in a BLE connection. There is no need to disconnect from the phone in order to read/write to flash.
I recommend to use either the fstorage or FDS(Flash Data Storage) module. These modules will schedule flash access in between radio events automatically, to avoid conflicts between the radio and the flash operations.
I have attached an example for SDK 12.2 that show you how to use FDS:
Example: nRF52-fds-example.rar
Extract the project in the examples/ble_peripheral folder in the SDK.
Cannot execute external request (Install Pack, "NordicSemiconductor:nRF_DeviceFamilyPack:8.11.1"): Pack not found
What happen?
Is the FDS(Flash Data Storage) module only support SDK V13.0.0.1 alpha?