cancel
Showing results for 
Search instead for 
Did you mean: 

STM32f4 runs but wont start after reset

berge472
Associate II
Posted on June 24, 2013 at 18:01

I have a project I have been working on and the coding has been fine up until now. When I upload the code it verifies and starts up without any problem. But If I reset the device (either by reset button or power cycle) it does not come back up. 

Using Openocd I can confirm that it does not get into the main() function at all. I have not edited any of the core/boot files so I don't know what the issues could be. 

Has anyone else experienced this?
1 REPLY 1
Posted on June 24, 2013 at 18:55

Using Openocd I can confirm that it does not get into the main() function at all.

So where DOES it get and what's it doing?

Does it Hard Fault?

Does it get stuck in a loop waiting for a clock to start, or PLL to lock?

Do you need to modify the start up files to account for some specifics on your board?

Can you output progress information via a GPIO or USART?

Can you confirm your code is in FLASH, and the BOOTx pins are set appropriately?
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..