ST-LINK error: “The interface firmware FAILED to reset/halt the target MCU"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-04-16 3:17 PM
I have a new Nucleo F401RE board that I have been programming with a Mac and uploading code via the mass storage normally, until yesterday. Now when I connect it using USB to either Mac (12.3) / Windows (11), the device folder has a FAIL.txt file that says “The interface firmware FAILED to reset/halt the target MCU�?. On the board, JP1 is disconnected, JP5 is on U5V side, JP6 is on, and both CN2s are on. I have also upgraded the ST-LINK firmware to the latest, but the problem still persists and it doesn’t allow me to upload code (with an error saying “No space left on device�? despite that my code only takes up less than a tenth of the storage). Furthermore, my Mac also shows that the board volume has in total only 33 kb, instead of the correct 512 kb.
Any help is greatly appreciated!!
- Labels:
-
ST-Link
-
STM32CubeProgrammer
-
STM32F4 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-04-16 6:34 PM
Can you connect and upload code with STM32CubeProgrammer?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-04-16 8:38 PM
Thanks for the reply! I just tried, but STM32CubeProgrammer doesn't seem to be able to connect to the board either using the ST-LINK interface. The error is "No STM32 target found".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-04-17 6:53 AM
Did you reassign the SWD pins?
Try connecting with Mode: Under reset.
Not real sure. Boards are not prone to failing randomly. You don't recall doing anything or any events happening which caused the behavior?
