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

Embedded Studio With Bootloader + Application

All,

I'm relatively new with the Nordic Ecosystem and have been playing with the example projects on the nRF52 DK and have successfully gotten several examples up and running including 'Blinky' and 'Bootloader Secure BLE.' In addition, I have successfully merged the S132 softdevice, bootloader, blinky, and a bootloader settings file that I generated into 1 hex file that I was able to load and have it successfully jump into the blinky application.

Moving forward with Nordic, my plan is to have a modified bootloader project and a main application in 1 solution that I can load. I know that multiple hex files can be loaded from the Debug->Loader but when I've attempted using the individual files from the merge I get errors about a section not fitting in the target description. I'm assuming this is due to FLASH_START and SRAM_START not being set properly for each project. How can I determine the proper FLASH_START and SRAM_START for both the bootloader and main application?

EDIT: Below is a screenshot of the error: image description

Parents
  • I think it was the issue of declaring the uicr_bootloader_start_address section in flash_placement.xml file Your main project file, the one that you use to combine other hex into (I assume it's the application ) should have this section defined, otherwise it's not possible for SES to integrate the bootloader and bootloader setting into the project.

    I would assume you follow the sections definition in the flash_placement.xml in the bootloader project to add those sections into the application.

Reply
  • I think it was the issue of declaring the uicr_bootloader_start_address section in flash_placement.xml file Your main project file, the one that you use to combine other hex into (I assume it's the application ) should have this section defined, otherwise it's not possible for SES to integrate the bootloader and bootloader setting into the project.

    I would assume you follow the sections definition in the flash_placement.xml in the bootloader project to add those sections into the application.

Children
No Data
Related