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

nRF51822 memory

Hello

The nRF51822 has as I understand it 256kByte flash and 16kByte SRAM. If I run the S110 softdevice, how much sram/flash memory is available to my application program?

Regards Erik

Parents
  • I don't really have a good explanation of the reason for this, but the 8 kB is mostly used for other things, among them TX/RX buffers, GATT table and similar. Also, using the application's stack gives the application the full freedom to handle the stack in any way it want, for example if using an RTOS or similar.

  • Hello Ole,

    I am using nRF51822 with 256KB of Flash memory and 16KB of RAM and SDK10.0.0 with RTX os. So when I am creating just 3 threads with less bytes needed for each byte then it's working properly but if I am increasing number of bytes needed in each thread then my application is not starting from correct address itself. If I am creating more than 3 number of threads then still my application is not starting from correct address when I am debugging my program. So do you know, what can be the reason for this? If I have to increase RAM size or stack size settings for that project then how to change that?

    Thanks.

Reply
  • Hello Ole,

    I am using nRF51822 with 256KB of Flash memory and 16KB of RAM and SDK10.0.0 with RTX os. So when I am creating just 3 threads with less bytes needed for each byte then it's working properly but if I am increasing number of bytes needed in each thread then my application is not starting from correct address itself. If I am creating more than 3 number of threads then still my application is not starting from correct address when I am debugging my program. So do you know, what can be the reason for this? If I have to increase RAM size or stack size settings for that project then how to change that?

    Thanks.

Children
No Data
Related