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
  • Hi cwerther,

    Could you take a screenshot of the error ? How did you configure the project that you use to flash ?

    I assume you tested each project (application, bootloader) separately and they all works ?

    Have you tried with only bootloader + application + softdevice and no "bootloader setting" file ?

    I suspect the overlapping of flash section in the bootloader and bootloader setting caused the error.

Reply
  • Hi cwerther,

    Could you take a screenshot of the error ? How did you configure the project that you use to flash ?

    I assume you tested each project (application, bootloader) separately and they all works ?

    Have you tried with only bootloader + application + softdevice and no "bootloader setting" file ?

    I suspect the overlapping of flash section in the bootloader and bootloader setting caused the error.

Children
No Data
Related