How to write and read internal flash of nRF51822?
I use the Beacon Nrf51822
How to write and read internal flash of nRF51822?
I use the Beacon Nrf51822
Hi,
We have several flash handling libraries in the SDK, depending on how low-level access you need to flash. I will refer to the documentation for those libraries in SDK 12.3, as that is the latest SDK with nRF51 support.
The most abstracted library is Flash Data Storage, which lets you write, update and delete "records" in flash, where each record is a piece of data which is identified by "file id" and "record id". Flash Data Storage is also used by Peer Manager, which is the library for keeping track of bonded BLE devices.
Then there is Flash Storage, which gives more direct access to flash.
Then there is the low-level Flash handling library (i.e. the NVMC driver), and the flash functions in the SoftDevice SoC Library API (i.e. functions beginning in "sd_flash_").
Regards,
Terje
Hi,
We have several flash handling libraries in the SDK, depending on how low-level access you need to flash. I will refer to the documentation for those libraries in SDK 12.3, as that is the latest SDK with nRF51 support.
The most abstracted library is Flash Data Storage, which lets you write, update and delete "records" in flash, where each record is a piece of data which is identified by "file id" and "record id". Flash Data Storage is also used by Peer Manager, which is the library for keeping track of bonded BLE devices.
Then there is Flash Storage, which gives more direct access to flash.
Then there is the low-level Flash handling library (i.e. the NVMC driver), and the flash functions in the SoftDevice SoC Library API (i.e. functions beginning in "sd_flash_").
Regards,
Terje
... or are you looking for programming / reading flash from an external programmer/debugger?