Hello, just bought ST-LINK V2. Now trying to update older version of BlueSCSI and I need help. So far I have:
- ST-LINK V2
- installed Visual Studio Code for Windows 10
- installed PlatformIO IDE extension
- downloaded BlueSCSI github
- opened folder in VSC
- hook up the pill
- clicked -> upload
and got this error. Tried with holding reset on no luck.
- ST-LINK V2
- installed Visual Studio Code for Windows 10
- installed PlatformIO IDE extension
- downloaded BlueSCSI github
- opened folder in VSC
- hook up the pill
- clicked -> upload
and got this error. Tried with holding reset on no luck.
Processing STM32F1 (platform: ststm32; board: genericSTM32F103C8; framework: arduino)
----------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/ststm32/genericSTM32F103C8.html
PLATFORM: ST STM32 (17.0.0) > STM32F103C8 (20k RAM. 64k Flash)
HARDWARE: STM32F103C8T6 72MHz, 20KB RAM, 64KB Flash
DEBUG: Current (blackmagic) External (blackmagic, cmsis-dap, jlink, stlink)
PACKAGES:
- framework-arduinoststm32-maple @ 3.10000.201129 (1.0.0)
- tool-dfuutil @ 1.11.0
- tool-dfuutil-arduino @ 1.11.0
- tool-openocd @ 3.1200.0 (12.0)
- tool-stm32duino @ 1.0.2
- toolchain-gccarmnoneeabi @ 1.90301.200702 (9.3.1)
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 32 compatible libraries
Scanning dependencies...
Dependency Graph
|-- SdFat @ 2.2.0+sha.ddbc887
|-- minIni
Building in release mode
Checking size .pio\build\STM32F1\firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM: [====== ] 62.3% (used 12768 bytes from 20480 bytes)
Flash: [======== ] 75.8% (used 49680 bytes from 65536 bytes)
Configuring upload protocol...
AVAILABLE: blackmagic, cmsis-dap, dfu, jlink, serial, stlink
CURRENT: upload_protocol = stlink
Uploading .pio\build\STM32F1\firmware.elf
xPack Open On-Chip Debugger 0.12.0-01004-g9ea7f3d64-dirty (2023-01-30-15:04)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
debug_level: 1
0
hla_swd
Error: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED
Error: open failed
in procedure 'program'
** OpenOCD init failed **
shutdown command invoked
*** [upload] Error 1
============================================================ [FAILED] Took 3.20 seconds ============================================================
Environment Status Duration
------------- -------- ------------
STM32F1 FAILED 00:00:03.205
====================================================== 1 failed, 0 succeeded in 00:00:03.205 ======================================================