Hello - I can’t seem to get openocd to come up properly after a successful build.
Anyone else have any luck getting vscode/platformio working for hte Nucleo-64 (NUCLEO-F446RE)
on OSX Catalina?
Thanks much.
I’m using the following platformio.ini:
[env:nucleo_f446re]
platform = ststm32
board = nucleo_f446re
framework = arduino
build_type = release
upload_protocol = stlink
----- 0 -----
Result of an upload attempt on simple test program that successfully builds is :
xPack OpenOCD, 64-bit Open On-Chip Debugger 0.10.0+dev (2019-07-17-15:21)
Licensed under GNU GPL v2
For bug reports, read
OpenOCD: Bug Reporting
debug_level: 1
srst_only separate srst_nogate srst_open_drain connect_deassert_srst
----- 0 -----
The following is I believe the failing part of the result of a command line run of openocd -d4
<…>.platformio/packages/tool-openocd/bin/openocd -d4 -s <…>.platformio/packages/tool-openocd/scripts -f board/st_nucleo_f4.cfg -c “program {.pio/build/nucleo_f446re/firmware.elf} verify reset; shutdown;”
xPack OpenOCD, 64-bit Open On-Chip Debugger 0.10.0+dev (2019-07-17-15:21)
Licensed under GNU GPL v2
For bug reports, read
OpenOCD: Bug Reporting
User : 13 1 options.c:60 configuration_output_handler(): debug_level: 4
User : 14 1 options.c:60 configuration_output_handler():
Info : 247 18 core.c:1381 adapter_init(): clock speed 2000 kHz
Debug: 248 18 openocd.c:158 handle_init_command(): Debug Adapter init complete
Debug: 249 18 command.c:143 script_debug(): command - transport transport init
Debug: 251 18 transport.c:239 handle_transport_init(): handle_transport_init
Debug: 252 18 hla_transport.c:152 hl_transport_init(): hl_transport_init
Debug: 253 19 hla_transport.c:169 hl_transport_init(): current transport hla_swd
Debug: 254 19 hla_interface.c:42 hl_interface_open(): hl_interface_open
Debug: 255 19 hla_layout.c:40 hl_layout_open(): hl_layout_open
Debug: 256 19 stlink_usb.c:2705 stlink_usb_open(): stlink_usb_open
Debug: 257 19 stlink_usb.c:2719 stlink_usb_open(): transport: 1 vid: 0x0483 pid: 0x3744 serial:
Debug: 258 19 stlink_usb.c:2719 stlink_usb_open(): transport: 1 vid: 0x0483 pid: 0x3748 serial:
Debug: 259 19 stlink_usb.c:2719 stlink_usb_open(): transport: 1 vid: 0x0483 pid: 0x374b serial:
Debug: 260 19 stlink_usb.c:2719 stlink_usb_open(): transport: 1 vid: 0x0483 pid: 0x374d serial:
Debug: 261 19 stlink_usb.c:2719 stlink_usb_open(): transport: 1 vid: 0x0483 pid: 0x374e serial:
Debug: 262 19 stlink_usb.c:2719 stlink_usb_open(): transport: 1 vid: 0x0483 pid: 0x374f serial:
Debug: 263 19 stlink_usb.c:2719 stlink_usb_open(): transport: 1 vid: 0x0483 pid: 0x3752 serial:
Debug: 264 19 stlink_usb.c:2719 stlink_usb_open(): transport: 1 vid: 0x0483 pid: 0x3753 serial:
Error: 265 27 stlink_usb.c:2733 stlink_usb_open(): open failed
Debug: 266 27 hla_layout.c:47 hl_layout_open(): failed
Debug: 267 27 command.c:630 run_command(): Command ‘transport init’ failed with error code -4
User : 268 27 command.c:695 command_run_line(): in procedure ‘program’
Debug: 269 27 command.c:630 run_command(): Command ‘init’ failed with error code -4
Debug: 270 27 command.c:143 script_debug(): command - echo echo ** OpenOCD init failed **
User : 272 27 command.c:770 jim_echo(): ** OpenOCD init failed **
Debug: 273 27 command.c:143 script_debug(): command - shutdown shutdown error
User : 275 27 server.c:742 handle_shutdown_command(): shutdown command invoked
Debug: 276 27 command.c:630 run_command(): Command ‘shutdown’ failed with error code -4