Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 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
9 years, 7 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.
9 years, 9 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
9 years, 5 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?
9 years, 5 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
9 years, 7 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.
9 years, 7 months ago.
I have this problem :S i shorted CN2s, JP6 and UV5 and i have the last USB driver
and when i try ST-link upgrade i get upgrade successful.
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 07 Sep 20157 years, 4 months ago.
[Solved] i faced the same issue on Discovery board STM32L476G. jumper 3 was connected. (RESET). just removed jumper, updated firmware. issue solved.
7 years, 4 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
8 years 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.
8 years, 8 months ago.
http://www.thewindowsclub.com/prevent-system-volume-information-folder-usb
DO this and problem Solve