• 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.

Help Updating Firmware on a SCSI2SD v6

Tom2112

Well-known member
I can't get either of my SCSI2SD v6 boards (one is rev F and the other is 2020d) to update the firmware. In both cases, I get an error message "firmware update failed". That's not a very descriptive or helpful error message. The log isn't that helpful either:

scsi2sd-util6 log: 20:08:43: Attempting firmware update from file C:\scsi2sd-util6-x64-6.4.11\firmware.V6.revF.dfu 20:08:43: Searching for bootloader 20:08:47: Resetting SCSI2SD into bootloader 20:08:47: USB HID read failure: 0x1fe48edc030 20:08:50: STM DFU Bootloader found 20:08:50: Running: dfu-util --download "C:\scsi2sd-util6-x64-6.4.11\firmware.V6.revF.dfu" --alt 0 --reset 20:16:16: Firmware update failed

The DFU-UTIL output isn't much help either - except maybe that last line "No DFU capable USB device available" - except in the log above it says it found it. Why can't DFU-UTIL find it?
dfu-util 0.9+usbdk Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc. Copyright 2010-2016 Tormod Volden and Stefan Schmidt Copyright 2020 Michael McMaster <michael@codesrc.com> The program is Free Software and has ABSOLUTELY NO WARRANTY Please report bugs to http://sourceforge.net/p/dfu-util/tickets/ Match vendor ID from file: 0483 Match product ID from file: dfll Cannot open DFU device 0483:dfll No DFU capable USB device available

I have installed the UsbDk_1.0.22_x64.msi for the drivers for this device straight from the github page. But they don't seem to make a difference.

I have tried this on two different Windows 10 machines and a Mac Mini running OSX 10.5.8 with the same results. I've tried different USB cables. I even tried doing it from a Raspberry Pi4 but I can't even get the SCSI2SD-util6 to work on the Pi (there's no instructions, I guess they just assume that you're a mind reader)...

Anyway, if it was only one device that wouldn't cooperate, I'd think the device's DFU interface was bad and not worry about it. But the chances of me having two different revisions of the board and both being broken in the same way are pretty slim. It's far more likely I just don't know what I'm doing.

Any ideas, pointers, instructions?
 

Tom2112

Well-known member
BTW, let me say that both SCSI2SD devices work fine. I can configure them with the SCSI2SD-util6 program, and use them in my vintage Macs. So I know my USB cable works. That's how I configured the devices. They just won't update the firmware.
 

SuperSVGA

Well-known member
You might try using something like Zadig to verify that the correct drivers are being selected when it enters DFU mode, and change it if necessary.
 

aperezbios

Well-known member
I can't get either of my SCSI2SD v6 boards (one is rev F and the other is 2020d) to update the firmware. In both cases, I get an error message "firmware update failed". That's not a very descriptive or helpful error message. The log isn't that helpful either:

Any ideas, pointers, instructions?
@Tom2112 did you ever make any headway here? You can force any SCSI2SD V6 to boot straight in to Device Firmware Update mode and stay there, by shorting the BOOTLDR pin header with a paperclip or piece of solder. It only needs to be shorted at the moment the board is powered up (when you plug it in via USB, usually), to enter DFU mode. If any firmware is present in the flash, it will not load it.

If you haven't tried this already, I'd recommend you do so. Are these SCSI2SD V6 boards otherwise working, under normal conditions? To upgrade V6 firmware, you _must_ have the USB driver installed under Windows. On macOS and Linux, no driver is necessary.
 

TimHD

Well-known member
Am having similar issues with my V6 SCSI2SD (Rev C) board I bought last year. Have tried entering DFU mode to update the firmware (NB: which one of the three are we supposed to use, tried 2020 and 2021 version, but not Rev F one, given mines a C)...

I get this message in the debug log window suggesting it works fine but it seems to be unable to then find it when 'Searching for SCSCI2SD device -'

08:54:21 PM: Attempting firmware update from file /Users/TimHD/SCSI2SD/firmware.V6.2020.dfu
08:54:21 PM: Searching for boot-loader
08:55:47 PM: STM DFU Bootloader found, checking compatibility
08:55:47 PM: Running: “/Users/TimHD/SCSI2SD/dfu-util” —alt 2 -s 0x1FFF7800:4 -U “/var/folders/12/m5qqf6y53ms_l2nxw5yz3d0c0000gn/T/SCSI2SD_MARKERrYPqlv”
08:55:47 PM: OTP Hardware version not set. Ignoring.
08:55:47 PM: STM DFU Bootloader found
08:55:47 PM: Running: “/Users/TimHD/SCSI2SD/dfu-util” —download “/Users/TimHD/SCSI2SD/firmware.V6.2020.dfu” —alt 0 —reset
08:55:47 PM: Debug: wxMacLaunch Bad bundle: /Users/TimHD/Desktop/SCSI2SD/dfu-util
08:56:41 PM: Firmware update succeeded

Meanwhile in the terminal window, it recorded this:

Opening DFU capable USB device...
ID 0483:df11
Run-time device DFU version 011a
Claiming USB DFU Interface...
Setting Alternate Setting #2 ...
Determining device status: state = dfuERROR, status = 10
dfuERROR, clearing status
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 2048
DfuSe interface name: "OTP Memory "
dfu-util: Non-valid multiplier ' ', assuming bytes
dfu-util: Non-valid multiplier ' ', assuming bytes
Upload [=========================] 100% 4 bytes
Upload done.
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

Anyone got any ideas. Clearly the usb cable seems to be working as it completes, but the amber light remains on after completing and when I plug the usb back in, the light powers up and stays on...

Any ideas?
 

Tom2112

Well-known member
@Tom2112 did you ever make any headway here? You can force any SCSI2SD V6 to boot straight in to Device Firmware Update mode and stay there, by shorting the BOOTLDR pin header with a paperclip or piece of solder. It only needs to be shorted at the moment the board is powered up (when you plug it in via USB, usually), to enter DFU mode. If any firmware is present in the flash, it will not load it.

If you haven't tried this already, I'd recommend you do so. Are these SCSI2SD V6 boards otherwise working, under normal conditions? To upgrade V6 firmware, you _must_ have the USB driver installed under Windows. On macOS and Linux, no driver is necessary.

I never did make any headway. I just kinda gave up. Both my SCSI2SD units work as intended as drive in my Mac SEs. But I just can't update the firmware. <shrug>
 

nosuch

New member
I was having the same issue with a 2020 scsi2sd v6. Installed the STM32CubeProg utility from STM and noticed that device manager now correctly detected the dfu device (on Win11 latest updates). My guess is the drivers on the scsi2sd site are incorrect. I have updated to the latest firmware and the scsi2sd util shows the correct/new version.

 

altstar

New member
I ran into the same issue and managed to find a solution (for Windows 10 22H2)

1) Launch scsi2sd-util6 and try to upgrade the firmware (it will fail).

scsi2sd_2.png

2) Leave the program running and open device manager. Check that you can see "STM32 BOOTLOADER" under "Other Devices"

scsi2sd_1.png

3) Launch Zadig and enable "List all Devices" under "Options"

scsi2sd_3.png

4) Install the driver for the "STM32 BOOTLOADER" device

scsi2sd_4.png

5) Run the firmware upgrade again. It will work now.
 
Top