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

Debugging app with buttonless bootloader, breakpoint not working.

Hi,

I recently added the buttonless DFU bootloader on my device with the debug config. I am using and I can flash an application when in DFU. Although, I cannot debug my application anymore. I am using Eclipse with arm-gcc on the NRF 52832. When I build the application and lauch it, the app starts and advertise. So my app launched. But when in debug, the app does not stop at main like it is supposed to. I did not change my debug configuration. I tried generating the settings using nrfutil and merging them with the application hex file, but it still does not stop on main or any breakpoint that I've added. I did try to change the CFLAG to -O0 -g3, but it still did not work.

Here I've added my debug configuration on eclipse:

Note that I was able to debug the application before adding the bootloader.

If anyone had a similar proble any help would be appreciated

Edit: note that I am using FreeRTOS if that is relevant

Parents Reply Children
Related