#Can't flash ZBDongle-E

1 messages · Page 1 of 1 (latest)

dusty oak
#

I bought a new Sonoff ZBDongle-E to use it for Thread/Matter and Zigbee. I tried to flash it using the web-based Silabs Firmware Flasher but it errors.

On Linux, it errors with The running firmware could not be detected.

On macOS, it complains about having to install the Silicon Labs driver (which I have already done), plus the same error as on Linux.

The debug logs are below but I can't see how they might be helpful.

Does anyone know where to go from here?

2024-11-13 12:57:29 emscripten universal_silabs_flasher.flasher[42] INFO Probing ApplicationType.GECKO_BOOTLOADER at 115200 baud
2024-11-13 12:57:29 emscripten zigpy.serial[42] DEBUG Opening a serial connection to '/dev/webserial' (115200 baudrate)
2024-11-13 12:57:29 emscripten universal_silabs_flasher.common[42] DEBUG Connection made: <webserial_transport.WebSerialTransport object at 0x13ae4f8>
2024-11-13 12:57:29 emscripten universal_silabs_flasher.common[42] DEBUG Sending data b'3'
2024-11-13 12:57:31 emscripten webserial_transport[42] DEBUG Closing serial port
2024-11-13 12:57:31 emscripten universal_silabs_flasher.flasher[42] INFO Probing ApplicationType.CPC at 460800 baud
2024-11-13 12:57:31 emscripten zigpy.serial[42] DEBUG Opening a serial connection to '/dev/webserial' (460800 baudrate)
2024-11-13 12:57:32 emscripten universal_silabs_flasher.flasher[42] INFO Probing ApplicationType.CPC at 115200 baud
2024-11-13 12:57:32 emscripten zigpy.serial[42] DEBUG Opening a serial connection to '/dev/webserial' (115200 baudrate)
prime storm
#

running multi-pan isn't really recommended, better off getting 2 separate dongles

#

does auth-flashing work if you install the OTBR add-on?

there is a issue where some versions wont, but some will

dusty oak
#

It looks like I have the problem in the linked issue. I'll run some tests. I tried the OTBR addon and also the Silicon Labs flasher, both seem to do the same thing and error in the same way.

dusty oak
#

I have now tried to flash https://github.com/darkxst/silabs-firmware-builder/blob/main/firmware_builds/zbdonglee/ot-rcp-v2.4.4.0-zbdonglee-460800.gbl on it but the flasher errors with Error: '/root/firmware.gbl' does not appear to be a valid firmware image: ValueError('Unknown firmware image type')

dusty oak
#

I've managed to check and the file size of what the addon downloads is the correct size to the byte. It's difficult to run any more checks as the container stops quite quickly.

#

Same error when using the flasher CLI:

# universal-silabs-flasher --device /dev/ttyUSB0 flash --firmware ot-rcp-v2.4.4.0-zbdonglee-460800.gbl
Error: 'ot-rcp-v2.4.4.0-zbdonglee-460800.gbl' does not appear to be a valid firmware image: ValueError('Unknown firmware image type')
#

D'oh! That firmware URL downloads HTML for the page with the View Raw link. After downloading the raw version it's looking better.

#
# universal-silabs-flasher --device /dev/ttyUSB0 flash --firmware ot-rcp-v2.4.4.0-zbdonglee-460800.gbl --allow-cross-flashing
2024-11-13 18:21:35.475 CT100 universal_silabs_flasher.flash INFO Extracted GBL metadata: NabuCasaMetadata(metadata_version=1, sdk_version='4.4.4', ezsp_version=None, ot_rcp_version='SL-OPENTHREAD/2.4.4.0_GitHub-7074a43e4' (2.4.4.0), cpc_version=None, fw_type=<FirmwareImageType.OPENTHREAD_RCP: 'openthread_rcp'>, fw_variant=None, baudrate=460800)
2024-11-13 18:21:35.475 CT100 universal_silabs_flasher.flasher INFO Probing ApplicationType.GECKO_BOOTLOADER at 115200 baud
2024-11-13 18:21:37.520 CT100 universal_silabs_flasher.flasher INFO Probing ApplicationType.SPINEL at 460800 baud
2024-11-13 18:21:41.865 CT100 universal_silabs_flasher.flasher INFO Probing ApplicationType.CPC at 460800 baud
2024-11-13 18:21:46.211 CT100 universal_silabs_flasher.flasher INFO Probing ApplicationType.CPC at 115200 baud
2024-11-13 18:21:50.554 CT100 universal_silabs_flasher.flasher INFO Probing ApplicationType.CPC at 230400 baud
2024-11-13 18:21:54.897 CT100 universal_silabs_flasher.flasher INFO Probing ApplicationType.EZSP at 115200 baud
2024-11-13 18:21:56.093 CT100 universal_silabs_flasher.flasher INFO Detected ApplicationType.EZSP, version '6.10.3.0 build 297' (6.10.3.0.297) at 115200 baudrate (bootloader baudrate None)
2024-11-13 18:21:56.094 CT100 universal_silabs_flasher.flash INFO Cross-flashing from FirmwareImageType.ZIGBEE_NCP to FirmwareImageType.OPENTHREAD_RCP
2024-11-13 18:22:02.270 CT100 universal_silabs_flasher.flasher INFO Probing ApplicationType.GECKO_BOOTLOADER at 115200 baud
2024-11-13 18:22:02.325 CT100 universal_silabs_flasher.flasher INFO Detected bootloader version '1.12.0'
2024-11-13 18:22:02.326 CT100 universal_silabs_flasher.flasher INFO Detected ApplicationType.GECKO_BOOTLOADER, version '1.12.0' at 115200 baudrate (bootloader baudrate 115200)
ot-rcp-v2.4.4.0-zbdonglee-460800.gbl  [####################################]  100%
dusty oak
#

Anyway, it seems to be sorted for now. Thanks for the pointers! 🙂

raw saddle
#

@dusty oak were you able to get this running in HAOS?