8 years, 10 months ago.

Problem with STM32F401 Nucleo board.

Hello. I have an issue with my devboard. When I connect it to the PC, at Nucleo's disk I see "FAIL.TXT" file with the error: "The interface firmware FAILED to reset/halt the target MCU". Also size of the disk reduced to 12 kB. What should I do in this case to fix it? Thank you.

12 Answers

8 years, 8 months ago.

i first downloaded the driver of stm, please make sure the platform you are using, there are many stm's... this you can get when you extract the downloaded file. the driver is in that file. this be in the folder named "STLinkNucleoDriverSigned". th /media/uploads/jayvikram/st-linkupgrade.exe e drivers name will be started from dpinst_amd64 or x86. The next step is to go to folder named windows where you will find two files named ST- Link Upgrade and STLinkUSBDRIVER.dll. Click on the stlink upgrade and a window will pop up. click Device connect and it will show you your device name and connect to it. Then click "yes" and your upgrade may start. this will upgrade your stm it will disconnect and connect itself. check the drive properties. the memory should show 512kb. Also click on mbed HTML file and see if it takes you to your platform mbed page. As, the ppicture is in the above answer i am attaching the two files to be found in the window folder in case you don't find it. /media/uploads/jayvikram/stlinkusbdriver.dll /media/uploads/jayvikram/st-linkupgrade.exe

note: these two files should be in the same folder.

Accepted Answer
8 years, 10 months ago.

Check two CN2s short. When CN2 open, you will see 12KB. And also you should update the firmware. See https://developer.mbed.org/teams/ST/wiki/Nucleo-Firmware

7 years, 10 months ago.

Any one found solution of this issue?

8 years, 6 months ago.

I have the same problem, the FAIL.TXT is being created everytime I drag&drop .bin files, but the flash size is still 512KB.

I have upgraded firmware version (however it was already updated), but did not help anything. I tried ST Link Utility, it says "Can not read memory, please disable Read Out Protection and retry". I tried to disable it in Option bytes, it was set to Level 1, trying to change it to level 0 will result in error.

did anyone succeeded recovering his board?

You need to connect the boot pin to Vcc or GND (I forgot). Press reset and try to stlink erase it.

posted by Christian Vorobev 06 Sep 2015

What is the boot pin??!!

posted by Arman Safikhani 06 Sep 2015

Ok, i found BOOT0 pin, connected it to GND and 5V and tried erasing with ST Link, but the same errors pop out.

posted by Arman Safikhani 06 Sep 2015
8 years, 6 months ago.

From you txt file you have stlink version 2.21 (see pdf below... this holds NRST LOW after firmware update. not good i.e. the target remians in a permanent reset state)

You need to download (Version 2.24.11) here:

http://www.st.com/web/en/catalog/tools/PF260217

Revision Status: http://www.st.com/st-web-ui/static/active/en/resource/technical/document/release_note/DM00107009.pdf

Regards

8 years, 8 months ago.

I have this problem too. I have put the device out of box and CN2 was shorted. But still, it displays "The interface firmware FAILED to reset/halt the target MCU" in the text file "FAIL.TXT".

me to.. i want know..

posted by Pack seungjin 01 Aug 2015
8 years, 8 months ago.

Please check also that JP6 is ON and JP5 is on the right (U5V). Without those, the STLink cannot communicate with the MCU.

Thank you :) . Of course the chip doesn't work without power supply

posted by Christian Vorobev 10 Jul 2015

This is what I stacked.

posted by Yutaka Yamamoto 28 Jun 2016

This is what I want.Thank you!!

posted by Hiromu Sakaki 07 Nov 2016
8 years, 8 months ago.

I have this problem :S i shorted CN2s, JP6 and UV5 and i have the last USB driver /media/uploads/Kimba/drivers.png

and when i try ST-link upgrade i get upgrade successful. /media/uploads/Kimba/upgradesuccessful.png

But i still see 12KB and i have in the device 3 files:

-DETAILS.txt: Version: 0221 Build: Apr 29 2015 13:11:12 -FAIL.txt: The interface firmware FAILED to reset/halt the target MCU -MBED

From you txt file you have stlink version 2.21 (see pdf below... this holds NRST LOW after firmware update. not good i.e. the target remians in a permanent reset state)

You need to download (Version 2.24.11) here:

http://www.st.com/web/en/catalog/tools/PF260217

Revision Status: http://www.st.com/st-web-ui/static/active/en/resource/technical/document/release_note/DM00107009.pdf

Regards

posted by Martin Simpson 07 Sep 2015
6 years, 5 months ago.

[Solved] i faced the same issue on Discovery board STM32L476G. jumper 3 was connected. (RESET). just removed jumper, updated firmware. issue solved.

6 years, 5 months ago.

https://www.kitlaser.com/blue-laser-pointers.html Many children now have a laser pen toy. This little burn laser pointer could have been a few hundred metres in the light of a few hundred metres, and the children received their magical love. They didn't know that the laser pen would easily hurt the child's eyesight or even blindness. Swiss retinal experts have warned that the risk of a high-strength laser pointer is very good. Industry's largest power of up to 5000 mw laser pointer, far more than allow the sale to the public 3000 mw green laser strong beautiful finish. Therefore, I hope my parents will not let their children contact the laser pointer.

https://www.kitlaser.com/super-laser-pen-detect-atmospher-changes.html

7 years, 1 month ago.

I upgraded the firmware. Got ST-LINK "ON" entirely. JP5 "ON" at U5V. Unplugged and plugged back in. Play around with the jumpers and update the firmware. This should help.