2022-10-23 11:39 PM
Hi everyone,
I have developed a software using mbed OS on a Nucleo-144 board (STM32F767ZI), and everything works well.
Now, I am powering my board from an external power supply, and I moved the JP3 jumper to VIN position.
However, the board is stuck. The program correctly starts only if:
I read several posts, and I tried all the proposed solutions: update the ST-Link firmware, place a jumper between the NRST and 3V3 pins, also removed the SB111 0-ohm resistance between NRST and RST, but nothing works.
One interesting thing I have is this: if I manage to start the program (using USB connection or reset button), powering off and on again the board in a very short amount of time make the nucleo works fine. However, if I power it off and wait a few seconds, then the board is stuck again until the reset button is pressed or USB connection provided.
Any help on this?
Thank you very much.
2026-01-20 3:04 AM
this solved the problem for me:
here in short:
PROBLEM:
The clock for the STM32 is provided by the on board debugger. This clock signal is generated about 2 seconds after the board is power, after which a reset takes effect. By default HSE Startup Timout Value is 100ms, so it timeouts before the clock is available → the board doesn’t start.
that solves it:
thanks to Elec in the OG post on stack overflow and Rubb to extend it.