cancel
Showing results for 
Search instead for 
Did you mean: 

I would like to know if my nucleo board is dead or if I can recover it.

Fkoko
Associate

For some reason I cannot flash my Nucleo (STM32F446) board anymore. It used to work well... I got the following message:

openocd -f ./cfg/openocd.cfg -c "program ./build/ch.elf verify reset" -c "shutdown"

Open On-Chip Debugger 0.10.0

Licensed under GNU GPL v2

For bug reports, read

http://openocd.org/doc/doxygen/bugs.html

Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD

adapter speed: 2000 kHz

adapter_nsrst_delay: 100

none separate

Info : Unable to match requested speed 2000 kHz, using 1800 kHz

Info : Unable to match requested speed 2000 kHz, using 1800 kHz

Info : clock speed 1800 kHz

Info : STLINK v2 JTAG v34 API v2 SWIM v25 VID 0x0483 PID 0x374B

Info : using stlink api v2

Info : Target voltage: 3.247800

Error: init mode failed (unable to connect to the target)

in procedure 'program'

in procedure 'init' called at file "embedded:startup.tcl", line 506

in procedure 'ocd_bouncer'

** OpenOCD init failed **

shutdown command invoked

Makefile:210: recipe for target 'flash' failed

make: *** [flash] Error 1

Also when I am issuing:

telnet localhost 4444

I get:

Trying 127.0.0.1...

telnet: Unable to connect to remote host: Connection refused

When I plug my Nucleo board I can see its build version etc. Strange.

1 REPLY 1

Try strapping BOOT0 high.​

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..