cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F429ZIT6 doesn't start without debugging session

Benjamin Brammer
Senior II

Hey Guys,

I have designed a custom board with the STM32F429ZIT6 which I programm with the STLink debugger together with TrueStudio. So far everything seems to work except that when I don't use a debugging session I have to manually make a reset on NRST pin or otherwise the processor will not start it's normal program execution. I have to do this every time power get's cycled.

I have one 4,7uF cap for overall buffering and then 10nF and 100nF at each Vdd and an extra ferrite bead for the Vdda pin but with 1µF and 10nF as a decooupling. I did not implemnt a 100nF cap from NRST to ground for short ESD burst but I doubt that this is the cause for the problem since after the manual reset everything works fine.

Do I maybe need a reliable power cycling with an external power supervisor chip doing the manual reset, or did I do something comepletely wrong?

My controller runs with 3,3V.

best regards

Benjamin

1 ACCEPTED SOLUTION

Accepted Solutions

OK I programmed the optional bytes via the ST-LINK Utility. It didn't change the problem. But for a reason I don't know today in the lab it seems to work without a manual NRST reset. Strange to my believes but that's how it is now. Anyhow I think I will implement a robust POR circuit.

So for now it may seem as if the 100nF on NRST did the job. But I will watch this..

View solution in original post

12 REPLIES 12

Make sure BOOT0 is pulled low strongly.

Issue suggests BOOT0 floats, and looks relatively high as the supply ramps and the processor starts running.

Yes, having a proper POR circuit might help by clamping NRST low for 100's ms after the supply thresholds at 2.85V or some percent below nominal is preferable, but in this case might mask the issue.

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

I have implemented a 10k from BOOT0 as from the DISCOVERY schematics suggested. Would you recommend a 4,7k?

Ah and I have BOOT1 with 10k floating at the moment because with GND the debugging would not work..

Uwe Bonnes
Principal III

The value of the BOOT0 pulldown does not matter, as long as the input bias current does not pull the pin high. However you really should try with 100n at NRST. Why did you omit it?

To my regret, I did not read this in AN4488 (Getting started with STM32F4xxxx MCU hardware development ). And didn't see at once that the 100nF are also implemented inside the DISCOVERY schematics. But I really would wonder if this should be the cause, since the 100nF are only for short EM or ESD burst to not trigger the NRST. At least for my understanding.. otherwise I would get some resets when I run my program after manually reseting the controller.

Uwe Bonnes
Principal III

100nF and 50 kOhm internal Pullup give 5 ms time constant. When you power cycle, the input voltage will be much less "nervous" after this 5 ms period. Please, try the capacitor at NRST and report back!

S.Ma
Principal

Correct, the reset signal is intended to start the mcu once its power suppy are high enough to operate properly. In debug mode, Reset is typically not monitored by ST-Link.

Off course! You are right! I will check on that immediately and report back.

OK I implemented 100nF to GND on NRST. Sadly it doesn't change anything. Still the same problem.

Uwe Bonnes
Principal III

Do you have VCAP1/VCAP2 external capacitor ? Do option bits disable Brownout supervision?