This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

32k memory allocation required for data storage in internal flash of nrf52840

Hi, I am Working on nRF52840 and using nRF52840-DK.
Below is my working environment SDK - nRF5_SDK_16.0.0_98a08e2 ,
IDE - Segger Embedded studio (windows 10 - 64 Bit)
Softdevice - s140_nrf52_7.0.1_softdevice
Base code - ble_app_multirole_lesc_s140_pca10056
also using bootloader of dual bank for OTA
My device is scanning and advertising both simultaneously. Advertisement interval is 1 second Below are my configurations.
i want to reserve 32k memory in internal flash also these allocated address should not be erased during OTA.
end_addr = nrf5_flash_end_addr_get(); I am getting end_addr is 0xf1000.
i am getting above address using above API,will it is a fixed address in nrf52840 or it will vary.
please suggest better way to reserve this memory for data storage.
Parents Reply Children
Related