2014-10-20 05:38 PM
I have built the samples and evaluation projects for the STM32F429 using the IAR tools. I can Download and Debug applications fine but I would like to flash the application and have it start when I power the board. I can not seem to figure that part out, when I Download the active application it does not start. I would also like to take a the output from the build and send it to someone to flash to their board and boot.
Is there a step I am missing to have the application start at power on?Thanks2014-10-20 06:49 PM
Ensure that the application is built for the 0x08000000 FLASH address, and the boot options via SW1 and SW2 are set correctly.
http://www.st.com/st-web-ui/static/active/en/resource/technical/document/user_manual/DM00093451.pdf
2014-10-20 08:31 PM
I have the intvec set and the locations of the switch do not seem to make a difference.
Thanks2014-10-21 01:24 AM
The default behaviour of the STM32 is to execute user supplied code from FLASH. If this code is not functioning correctly, then you'll need to break out the debugger and step through it to understand why it might not be working.
Code executed at full speed is going to be far less tolerant of code that does not wait for things like oscillators, and PLLs to start and lock. You might also consider simplifying the code being run, by default the processor will run from the HSI clock at 16 MHz, it does not need to be reconfigured to higher rates for basic code to function.