2017-12-01 07:08 AM
Hi,
I'm developping a firmware with a stm32f405zgt6
Unfortunatly, I debug the code, step by step, and it's working fine, but then, when my board is on stand alone mode, the firmware is not working. It looks it even didn't start.
Any idea or tip about such a behaviour?
Thank you very much
Solved! Go to Solution.
2017-12-01 08:01 AM
Assuming a custom board, make sure BOOT0 is pulled low.
Add instrumentation so that it outputs status and progress via a serial port, or use a GPIO/LED. Use check points starting at Reset_Handler to see how far it is getting.
Add status output to obvious failure points, like ErrorHandler() and Hard Fault Handler, so you know if it stuck there. Also anywhere you have while(1) loops where things might get trapped.
2017-12-01 08:01 AM
Assuming a custom board, make sure BOOT0 is pulled low.
Add instrumentation so that it outputs status and progress via a serial port, or use a GPIO/LED. Use check points starting at Reset_Handler to see how far it is getting.
Add status output to obvious failure points, like ErrorHandler() and Hard Fault Handler, so you know if it stuck there. Also anywhere you have while(1) loops where things might get trapped.
2017-12-01 02:04 PM
Are you sure your hardware gives a proper RESET without the debugger ...
2017-12-04 09:44 AM
Hi Clive One,
Thanks, that was the answer. Boot 0 was not forced to GND.