Oh boy do I hate running into upload problems .
I was uploading to my Nucleo board just fine, but then all of a sudden I started getting this error when attempting to upload to the board.
GNU MCU Eclipse OpenOCD, 64-bitOpen On-Chip Debugger 0.10.0+dev-00593-g23ad80df4 (2019-04-23-00:01) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html debug_level: 1 adapter speed: 2000 kHz adapter_nsrst_delay: 100 none separate srst_only separate srst_nogate srst_open_drain connect_deassert_srst Error: init mode failed (unable to connect to the target) in procedure 'program' ** OpenOCD init failed ** shutdown command invoked *** [upload] Error 1
Does anyone have any experience fixing this error? It would also be great if someone could explain why it happens ahaha…
Here is my
.ini file if it matters at all:
[env:nucleo_f401re] platform = ststm32 board = nucleo_f401re framework = stm32cube