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

how much is flash storage size available to store data in following case ,for nrf52832?

hi..I am using nRF52832 with sd 132 v4.0.2, I want to store data received over BLE in flash. So i wanted to know how much is the memory available to store data in following case if nrfgo studio is showing

Region 1(Application) size: 388kB address: 0x1f000

Region1(SoftDevice) size: 124kB

Parents
  • Hi,

    As shown in nRFgo Studio, the SoftDevice takes 124 kB, that means that you have 388 kB for your application code + extra storage for the data you want to store. How much data that is available for storing extra data is therefore dependent on how big your application code is. If you are using Keil, you can calculate the total flash usage of your application by adding Code + RO-data + RW-data. (These numbers are shown when you build your project in Keil). That means that you have 388 kB – (Code + RO-data + RW-data) storage space for extra data. Example: the ble_app_uart code in SDK 13 takes about 18 kB, leaving you with 370 kB available space to store extra data.

  • Hi Sigurd,Thanks for reply ..It was really useful for me..but can we use whole 370kB ? or there are restrictions?

Reply Children
No Data
Related