Reset problem on STM32F401 discovery board
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-10-05 9:12 PM
I have a new STM32F401 discovery board, but the on-board ST-LINK stops responding only after a few programming. It shows ''internal command error''. I have to press the reset button when I want to program/debug the code (for ST-LINK to recognize the board), and then have to release the button on-time to let it proceed to program/debug. So I guess the problem has something to do with resetting. I can connect and program the board through ''STM32 ST-LINK Utility'' software without difficulties. After a full chip-wide erase, the ''internal command error'' problem exists. So I think the problem is more related to ST-LINK side. I am using Keil 5.
How can I solve this problem? #stm32f4 #discovery #stlink- Labels:
-
ST-Link
-
STM32F4 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-10-05 9:31 PM
Guess you'd want to double check the ''Connect and Reset Options'' for the debugger.
You'd want to avoid coding things that interfere with the SWD pins, or putting the device into a low power mode.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
‎2015-10-05 10:34 PM
Your answer really helps. I have a __WFI() call in the main() function. The ST-LINK works properly after I remove it. Thanks!
