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

Application downloaded from Keil and over bootloader start address - how to set

Hi,

question is probably trivial, but I cannot find answer for second hour, so maybe somebody know, how to set that same address for Application downloaded from Keil and through example bootloader provided by Nordic?

I'd like to have a possibility to debug apps from Keil, but to do it I need to erase bootloader and download app manually, otherwise debuger is send to undefined address..

Thanks, Patryk

  • I'm not exactly sure what you are asking, but it seems you want to be able to debug your application with the bootloader on the chip.

    If you flash your application through Keil the bootloader believes the application is invalid, and your device would stay in DFU mode, it will never come to the application where you are tring to debug.

    You are able to debug if you flash your application through DFU, or if you manually set the bootloader settings.

    Please see the these questions: 1 2 3

Related