Run and Debug Configurations don't work
I have 3 USB ports on this machine. Moving the one of the other ports did not change the behavior of openOCD.
I tried connecting and doing a full flash erase using St-Link Util on each of the ports, which went fine according to it's output:
10:56:55 : ST-LINK SN : 066BFF515350836767133618
10:56:55 : ST-LINK Firmware version : V2J24M11
10:56:55 : Connected via SWD.
10:56:55 : SWD Frequency = 1,8 MHz.
10:56:55 : Connection mode : Connect Under Reset.
10:56:55 : Debug in Low Power mode enabled.
10:56:55 : Device ID:0x421
10:56:55 : Device flash Size : 512KBytes
10:56:55 : Device family 😕TM32F446x
10:57:10 : Flash memory erased.
So I went a terminated and closed all debug perspectives, and tried a re-flash.
I got a new output:
Open On-Chip Debugger 0.9.0-dev-00418-g9afb8b4-dirty (2015-09-28-12:09)
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
srst_only separate srst_nogate srst_open_drain connect_deassert_srst
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
Error: libusb_open() failed with LIBUSB_ERROR_ACCESS
Error: open failed
in procedure 'program'
in procedure 'init' called at file "embedded:startup.tcl", line 473
in procedure 'ocd_bouncer'
- OpenOCD init failed **
shutdown command invoked
Looks like a driver problem to me, so I went and updated my St-Link drivers (again), but this produced the same output.