stuck in sleep mode
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-11-02 9: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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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.Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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
