Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Where can get some template or sample for S113 with PCA10040 / nRF52832?

I am trying to make couple templates for S113 with nRF52832 and nRF52840 with and without FreeRTOS and because there is no such in the examples, I’m not sure I made it right.

My most concern are some of the values set in the project files, because is difficult to follow the logic for setting those values like:

arm_linker_heap_size="2048"

arm_linker_stack_size="2048"

FLASH_PH_START=0x0;FLASH_PH_SIZE=0x80000;RAM_PH_START=0x20000000;RAM_PH_SIZE=0x10000;FLASH_START=0x1c000;FLASH_SIZE=0x67000;RAM_START=0x200022c8;RAM_SIZE=0xdd38

For the 52840 at least there couple examples with S113  (not sure which one to get as startup template as  they also vary in the above mentioned values)

Any help or information will be highly appreciated

Thanks

P.S.

That is the result when I’m trying to flash the result from my template for S113 based on the S112 Frowning2

Parents
  • Hi,

    According to S113 release notes (you can find them in the SDK folder at <sdk root folder>/components/softdevice/s113/doc/) the flash size is 0x1C00 and the RAM size is at least 0x1198, so your ...START and ...END settings looks reasonable and consistent. (RAM size depend on SoftDevice configuration, and is something you may need to adjust later - this you will figure out runtime at the point of initializing the SoftDevice.)

    I am assuming that you use the nRF52832 DK, with the 512 kB Flash / 64 kB RAM variant of the nRF52832 SoC (packet variant QFAA), for which the total amount of RAM and Flash fits with what you use.

    Is there a particular combination of device, example and SoftDevice, that you would like us to look into and help with?

    Regards,
    Terje

Reply
  • Hi,

    According to S113 release notes (you can find them in the SDK folder at <sdk root folder>/components/softdevice/s113/doc/) the flash size is 0x1C00 and the RAM size is at least 0x1198, so your ...START and ...END settings looks reasonable and consistent. (RAM size depend on SoftDevice configuration, and is something you may need to adjust later - this you will figure out runtime at the point of initializing the SoftDevice.)

    I am assuming that you use the nRF52832 DK, with the 512 kB Flash / 64 kB RAM variant of the nRF52832 SoC (packet variant QFAA), for which the total amount of RAM and Flash fits with what you use.

    Is there a particular combination of device, example and SoftDevice, that you would like us to look into and help with?

    Regards,
    Terje

Children
No Data
Related