2019-03-01 08:58 AM
Hi. When I call HAL_NVIC_SystemReset(); or NVIC_SystemReset(); the system just freezes up instead of restarting. I figured forget about it and moved on to try out the watchdog, well the same thing happens. Watchdog is enabled and working fine, then I enter an infinite loop to try it and after it times out the whole chip gets stuck.
I don't know why this is :(
Solved! Go to Solution.
2019-03-03 03:29 PM
Technically it is running the code in ROM rather than yours.
2019-03-01 11:51 AM
>>I don't know why this is
You're actively driving NRST high externally with a push-pull driver?
2019-03-01 06:22 PM
I think what it was was BOOT0 was left floating on this particular board. I will verify and post my findings.
2019-03-03 02:25 PM
I can confirm that's what it was. If BOOT0/PH3 is tied high, then the system freezes up after the reset. If I tie it low, then the reset works perfectly fine, should have read the manual.
2019-03-03 03:29 PM
Technically it is running the code in ROM rather than yours.