12-01-2025, 08:34 PM (This post was last modified: 13-01-2025, 04:17 PM by embitz.)
Hello,
I have a battery powered project and want to test it with connected debugger.
The system goes to state "shutdown" and exits it by RTC every15s.
Exit means: "A power-on reset occurs when exiting from Shutdown mode."
Here my issue is, that EB halts after exit of shutdown at the reset vector and I need to press "F5" to continue.
I tried several debugger settings, like "don't stop at valid source info", "don't reset", "don't load app" and "don't run to main".
But no effect. It always halts.
14-01-2025, 12:42 PM (This post was last modified: 14-01-2025, 12:45 PM by Buzzwang.)
Hi,
where it the right location to put this commands ?
I tried several things. But I wasn't successfull. It always halts at reset vector.
Additional, when I continue, I get instant error resulting in target expection and UsageFault_Handler. I assume it is something with the watchdog, which is stopped during shutdown (programmed in STM32L4 options bytes), continues after wakeup and run out while waiting in the reset vector breakpoint.
I checked and can confirm, that this target exception only happens in case of watchdog is active. When wdg is inactive, I don't have this. I can continue normally after wakeup.
Hello, thank you. It worked for me with v2.63.
Before, I used v2.62, where it stopped after wakeup. Both times I used the same settings.
I not understand the connection for the above mentioned command line arguments and the "Fault unwind"-Box in the debugger interface dialog.
First I thought, I need to insert this command line arguments somewhere, but in the end, I changed only the "Fault unwind"-Box.