2025-04-15 12:45 PM - last edited on 2025-04-15 1:14 PM by Andrew Neil
Custom board will not run without debugger. With debugger removed and cycling power I have manually touch NRST to ground to get it to run.
The NRST is only connected to SWD pin, but when debugger is removed it is not connected. Theis is no ST-LINK on the board. The NRST does measure 3.3 volts after power up.
I do use BOOT0 pin as an output. It is configured low with pull down in .IOC (could this be issue?)
Debugger is set to hardware reset, but I have tried all resets.
Debugger is set to break at main (not sure if it is trying to break at main without debugger attached?) I tried to not break at main and will not run with or without debugger.
I also put HAL_DELAY(3000); after Hal_init(), no difference.
Here is how my clocks are set:
Any suggestions on why it will not run?
Solved! Go to Solution.
2025-04-16 9:38 AM
I found issue. Pull down resistor on Boot0 had a poor solder joint!
Thanks for all your help!
2025-04-15 1:13 PM
@FJB2069 wrote:Custom board will not run without debugger.
Then you'll need to post the schematic
2025-04-15 2:12 PM - edited 2025-04-15 2:17 PM
2025-04-15 2:16 PM - edited 2025-04-15 2:21 PM
2025-04-15 3:11 PM
BOOT0 with a local 10K pull-down looks Ok. What do you mean use as Output?
With a single VCAP I think expectations is for 4.7uF, not 2.2uF
2025-04-15 3:17 PM
Why is C8 here?
VSS should be connected directly to ground.
Otherwise seems okay-ish. Should have 0.1 uF decoupling cap on each VDD pin. Unlikely to prevent it from booting.
Voltage at PB0 may be a problem. If using the ADC, voltages above VDDA are not allowed. Included schematic is missing details.
2025-04-16 9:38 AM
I found issue. Pull down resistor on Boot0 had a poor solder joint!
Thanks for all your help!