Ive been getting random resets in my code, but it never gets caught in the exception handlers.........
What could cause this reset and by pass exception handlers......
Random Reset
Moderators: RoccoMarco, lbednarz, utzig, tfAteba, barthess
- Giovanni
- Site Admin
- Posts: 14455
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: Random Reset
A watchdog?
Try to run with the debugger attached putting breakpoints in the reset path. You need to understand if it is a reset or a random jump into the boot path.
Giovanni
Try to run with the debugger attached putting breakpoints in the reset path. You need to understand if it is a reset or a random jump into the boot path.
Giovanni
Re: Random Reset
Giovanni wrote:A watchdog?
Try to run with the debugger attached putting breakpoints in the reset path. You need to understand if it is a reset or a random jump into the boot path.
Giovanni
Think i've tracked it down, its the window watchdog, inspecting the RCC to find the reset reason pointed to WWDG reset. I then traced this to a loop which was taking too long to execute, anything longer than 50ms and the WWDG will trigger......
Who is online
Users browsing this forum: No registered users and 21 guests