Here's another log output when trying to build and upload using stlink 2.1
Program SAIN size: 148,532 bytes (used 28% of a 524,288 byte maximum) (21.30 secs)
Minimum Memory Usage: 5296 bytes (3% of a 163840 byte maximum)
# Copy build result to 'Project>Property Pages>Intermediate Directory'
# Destination:
Uploading 'SAIN' to 'Nucleo-64' using 'COM15'
Open On-Chip Debugger 0.10.0
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html debug_level: 0
adapter speed: 1000 kHz
adapter_nsrst_delay: 100
none separate
****[vMicro]**** Uploading ELF :none separate
Error: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED
The uploader process failed
# Copy build result to 'Project>Property Pages>Intermediate Directory'
Error: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED
# Destination:
Error: expected 1 of 1: 0x1ba01477
in procedure 'program'
in procedure 'init' called at file "embedded:startup.tcl", line 495
in procedure 'ocd_bouncer'
** OpenOCD init failed **
shutdown command invoked