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

How can I debug in Segger Embedded Studio when bootloader exists?

I am using NRF52840DK with SDK15.2 to test the DFU. 

I use Segger Embedded Studio to compile both the secure_bootloader  project and ble_app_buttonless_dfu project.

Then I use nrfjprog to program the hex files including the setting , SD, and application  .into nrf52840dk

and DFU works perfectly.

My Question is : 

How can I debug in Segger Embedded Studio when bootloader exists?

I mean using the Debug > Go in the SES for the debugging.

I can debug line by line in the bootloader project  after  programming the merged image, 

but I cannot debug line by line with the ble_app_buttonless_dfu project. It fail to  start at "main". 

I cannot debug the application when bootloader exist. 

How to debug  in Segger Embedded Studio when bootloader is used. ? 

Thank you.

Related