2013-06-24 09:01 AM
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?2013-06-24 09:55 AM
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?