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

Debugger does now longer handle breakpoint after watchdog reset.

Hi 

I play with watchdog.

After a watchdog reset the debugger does no longer stop on a breakpoint or generate a hardfault on a __BKPT()

How can I config the Chip to handle breakpoints correct after watchdog reset?

Parents Reply
  • Hi,

     

    Canastra said:

    Hi Håkon

    SES is still in debugging mode.

    The target handle a reset from the debugger correct.

    How can I re-attach the debugger in SES?

    Can this be done automatically?

     Yes, the debug session is still open, but it goes into the running state after a wdt reset has occurred. If you halt the cpu, you can see that it has faulted (set CONFIG_RESET_ON_FATAL_ERROR=n to enable blocking assertions/faults), but you're not able to connect in such a time that the bpkt instruction is executed as you intend.

     

    Kind regards,

    Håkon

Children
Related