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

Memory allocation macros in Segger Embedded Studio to program a Soft Device, Application and Bootloader all at once

I am looking for some guidance as to the memory regions to reserve for the Bootloader hex if I pull it in via Segger Embedded Studio. I have the memory allocations for the Application down pat and there is no problem linking in the SoftDevice. However how do I specify where the Bootloader goes (at the top of the memory allocation) using the section placement macros in Linker Options?

[UPDATE 10 JUNE - Brought up from the dead as it would be good if an answer could be found to this]

Thanks a lot - RJH

  • There is both a Memory Map XML and a Flash Placement XML. With the Flash Placement XML there is no obvious way in which to add a length or end memory address looking in the example files. Nor is there an obvious way in which to associate each memory segment with the linker files. Are you able to provide further guidance? You mentioned you had managed to get this to work, how did you do it?

Related