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
  • Thanks Hung Bui for the suggestion. I have edited the original question to include a screenshot of the error. I think I have the bootloader and main application overlapping since there respective Flash Section Placement files start at the same section. I'll need to edit them so they don't overlap. Each project works if it's the only one loaded.

Reply
  • Thanks Hung Bui for the suggestion. I have edited the original question to include a screenshot of the error. I think I have the bootloader and main application overlapping since there respective Flash Section Placement files start at the same section. I'll need to edit them so they don't overlap. Each project works if it's the only one loaded.

Children
No Data
Related