SW/code is only executed with debugger connected?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
User17612
Level 4
Level 4
First like received
Hi,

Software starts with a debugger attached but not without it. What could be the reason?

#8042000 11597
0 Likes
1 Reply
User17615
Level 2
Level 2
First like received
Hi,

This could have several reasons. Please find the most common ones below
1: Installed debug protection in the UCB_DBG (256bit password)
2: Incorrect UCB handling
-->* Please check if the UCBs are written correctly,
3: Incorrect internal Watchdog service:
--> If the external watchdog is serviced correctly as well as the internal Watchdog.
* * * The debugger often do a WDT suspend to disable the internal Core watchdog.
* * * So if the * debugger is disconnected and the SW is not servicing the WDT accordingly there * will be a WDT overflow which is resulting in an reset.
4: Please check also the startup scripts of the Debugger, where maybe additional Traps and Alarms are disabled for better debugging (e.g. Flash ECC Traps)*
0 Likes