2011-11-02 09:36 AM
I'm using the STM32F4 Discovery kit and slightly modified the PWR_CurrentConsumption example for power measurement testing. When I go to program the board with a new load of code, it will not program because the board is in sleep mode. Is there a way I can flash the board while it's in sleep mode?
2011-11-02 11:36 AM
You'll have to reset the board manually. The SWD interface does not include a reset control, and the programmer (ST-LINK) device cannot reset the STM32F4.
If you manager to brick the board, you can strap the BOOT pin to 3V3, and restart it, to recover.2011-11-02 12:19 PM
I found a solution. You can use this utility to clear the flash or re-program:
http://www.st.com/internet/com/SOFTWARE_RESOURCES/TOOL/DEVICE_PROGRAMMER/stm32_st-link_utility.zip