calculating available memory

Hi,

Softdevice - 112

sdk 17.1.0

I am trying to evaluate the memory of the device. I am using nRF52810 and the datasheet says 192KB flash and 24KB of RAM available.

I am a bit confused. 

  • From the nRF connect the file memory layout is showing that, memory till 0x22AA3 is occupied by application and Sofdevice, does that mean that the remaining space can be used by application (0x30000 - 0x22AA3 = 53KB) ?

  • The above given is the output from the elf file. My understanding is that the 'text' is the code instructions and it is placed in the flash memory and ".data + .bss" in RAM. Also .bss + .data is adding up to 117 KB !!!! I think I am doing it wrong. What is the space left for user application ?

  • Could you please explain or provide link which will help me to understand how the above variables are used ?
Related