cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F446 custom, will not boot without debugger

FJB2069
Senior

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:

FJB2069_0-1744745563934.png

 

Any suggestions on why it will not run?

1 ACCEPTED SOLUTION

Accepted Solutions
FJB2069
Senior

I found issue.  Pull down resistor on Boot0 had a poor solder joint!

 

Thanks for all your help!

View solution in original post

6 REPLIES 6

@FJB2069 wrote:

Custom board will not run without debugger. 


Then you'll need to post the schematic

 

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.
FJB2069
Senior

 

 

FJB2069
Senior

stm32F446.jpg

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

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
TDK
Guru

Why is C8 here?

VSS should be connected directly to ground.

TDK_0-1744755246280.png

 

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.

If you feel a post has answered your question, please click "Accept as Solution".
FJB2069
Senior

I found issue.  Pull down resistor on Boot0 had a poor solder joint!

 

Thanks for all your help!