itead / Sonoff_Zigbee_Dongle_Firmware

204 stars 22 forks source link

unable to flash Sonoff ZBDongle-E as a router #27

Open wolfgang-muc opened 7 months ago

wolfgang-muc commented 7 months ago

Silabs flasher (Chrome on Windows 10 or Ubuntu 22.04) shows immediately after selecting the file: Auf darkxst.github.io wird folgendes angezeigt: Failed to parse firmware: PythonError: Traceback (most recent call last): File „/lib/python3.11/site-packages/universal_silabs_flasher/gbl.py“, line 118, in from_bytes for tag_byres, value in parse_silabs_gbl(data): File „/lib/python3.11/site-packages/zigpy/ota/validators.py“, line88, in parse_silabs_gbl raise ValidationError(„Image is truncated: tag value is cut off“) Zigpy.ota.validators.ValidationError: Image is truncated: tag value is cut off

Flashing with putty on Ubuntu: I'm setting the dongle in boot mode, getting the boot loader displayed, select 1, getting the "C" start the xmodem transfer, but nothing happens. When i close the xmodem terminal, putty several times shows the boot loader and i can select between 1-2-3 again.

Can you help?

Thanks Wolfgang

wolfgang-muc commented 7 months ago

PS: Updating the original firmware with silabs flasher was successful But i tried the flash the router firmware before and after updating the original firmware.

aro78 commented 7 months ago

Hello Wolfgang, i tried also to flash and received the same error message.

I tried also to flash with SEcure CRT xflasher "Starting Transfer .... but nothimng happened. Have you found a solution ?

Thanks and best regards Andreas

wolfgang-muc commented 7 months ago

Sorry, I Didn't found a solution until now.

aro78 commented 7 months ago

Hallo Wolfgang thank you very much I keep you informed if I get am answer BR Andreas

Am 25. April 2024 08:38:12 MESZ schrieb wolfgang-muc @.***>:

Sorry, I Didn't found a solution until now.

-- Reply to this email directly or view it on GitHub: https://github.com/itead/Sonoff_Zigbee_Dongle_Firmware/issues/27#issuecomment-2076473092 You are receiving this because you commented.

Message ID: @.***> -- Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.

ganJAHman commented 1 month ago

Hi guys,

same over here! Would be great if I could flash the router-fw easily to finally use my second ZBDongle-E. Anyone knows if this is a known bug which is beeing worked on?

routerFW

Regards, Sven

ganJAHman commented 1 month ago

Hi guys,

yesterday I was able to flash the fw without errors - layer 8 problem. ;) I downloaded the fw-file through "save link as" via the following site, which gave me a 313 kb "Z3RouterUSBDonlge_EZNet6.10.3_V1.0.0_direct.gbl". The one I was not able to flash.

image

When downloaded "Raw" (see the next image) the filesize changed to 281 kb - the fw-file I was able to flash without any problem. Maybe this will save someone´s day... @wolfgang-muc @aro78

image

Both files to compare:

image