Debug step-by-step with Watchdog enable !
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2015-05-26 12:49 AM
Posted on May 26, 2015 at 09:49
Hello,
I am debugging step-by-step my project on stm32f103vd, using CooCox CoIDE, and ST-LinkV2.when I enable whatchdog, the system go then to Reset_DefaultHandler(). I think that's normal no ?and how I can debug step-by-step with keeping watchdog enable ?thanks :) #stm32 #debug #whatchdog
Labels:
- Labels:
-
DEBUG
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2015-05-26 2:08 AM
Posted on May 26, 2015 at 11:08
In the register DBGMCU_CR there are a number of bits you can set to stop some peripherals while the core is halted. You can freeze the IWDG and WWDG to prevent watchdog reset, as well as various timers.
See the ''debug support'' part of the reference manual for more details.Hope this helps,Danish