ST-LINK error: “The interface firmware FAILED to reset/halt the target MCU"
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!!
