• Updated 2023-07-12: Hello, Guest! Welcome back, and be sure to check out this follow-up post about our outage a week or so ago.

older ver. 10-b BlueSCSI Firmware update

slomacuser

Well-known member
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

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
[stm32f1x.cpu] halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x08000388 msp: 0x20005000
** Programming Started **
Warn : Adding extra erase range, 0x0800c210 .. 0x0800c3ff
** Programming Finished **
** Verify Started **
** Verified OK **
** Resetting Target **
shutdown command invoked
=========================================================== [SUCCESS] Took 6.13 seconds ===========================================================

Environment Status Duration
------------- -------- ------------
STM32F1 SUCCESS 00:00:06.133
=========================================================== 1 succeeded in 00:00:06.133 ===========================================================
* Terminal will be reused by tasks, press any key to close it.

Tried Toolbox, saying "no compatible scsi found" ...

the LOG file on sd

BlueSCSI <-> SD - https://github.com/erichelgeson/BlueSCSI
VERSION: 1.0-b
DEBUG:0 SCSI_SELECT:0 SDFAT_FILE_TYPE:3
SdFat version: 2.0.6
SdFat Max FileName Length: 32
Initialized SD Card - lets go!
Imagefile: HD50_512.hda / 2147483648bytes / 2097152KiB / 2048MiB
Imagefile: HD60_512.hda / 2147483648bytes / 2097152KiB / 2048MiB
ID:LUN0:LUN1:
0:----:----:
1:----:----:
2:----:----:
3:----:----:
4:----:----:
5: 512:----:
6: 512:----:
Finished initialization of SCSI Devices - Entering main loop.
:
3:----:----:
4:----:----:
5: 512:----:
6: 512:----:
Finished initialization of SCSI Devices - Entering main loop.

So looks like it is not updated to latest firmware?
 

joshc

Well-known member
It says programming finished. So in theory that worked. When I last did this, it always finished with an error despite working. Doesn’t explain why it still seems to be on the old version though…
 
Top