2025-07-14 8:28 PM
Hello,
The problem is that we have made 50 customized boards using STM32F412RET6TR, 2 of them has the same issue. It does not run the code (forzen) at cold start up, but will work after a manual reset or power unstable.
One Device was fixed by replacing the MCU, another was remaining for investigating the issue.
Initially, I thought it is the problem of start up reset was released to early, so an RC mod was added to the reset line, but it does not work. Probe on the reset signal and VDD was normal. And later debug shows that the program hit the Reset_Handler and failed in SystemClock_Config section.
Here's some log:
Attached crystal layout and both cap are 18pF, Crystal is 728-1073-2-ND
Can you help me with this issue?
2025-07-15 12:55 AM
I assume you don't have the oscilloscope probe connected, as per @Ozone 's post.
Was PWR enabled and PWR_CR.DBP set when you tried the backup domain reset?
Other than this, I have no other suggestions, sorry.
> Besides, I also measured VCAP_1 voltage is around 1.1V in when chip in error handler, 1.3V when normal running.
That may perhaps be consequence of the program possibly not reaching the point where PWR_CR.VOS is set.
JW
2025-07-15 1:40 AM
Hi Jan,
Oscilloscope was not connected, PWR was enabled and PWR_CR.DBP set was set.
Thanks for your explanation and help.
Regards,
Leo