darkxst / silabs-firmware-builder

Silicon Labs firmware builder
https://darkxst.github.io/silabs-firmware-builder/
261 stars 25 forks source link

Sonoff ZBDongle-E v1.0 does not work with ncp-uart-hw-xxxxx-zbdonglee-115200 (-nohw) firmware #93

Open jacgl opened 1 month ago

jacgl commented 1 month ago

Programmed with universal-silabs-flasher --device COM4 --probe-method bootloader --bootloader-reset sonoff flash --firmware .\ncp-uart-hw-xxxxx-zbdonglee-115200.gbl finished correctly universal-silabs-flasher --device COM4 probe checking fails z2m fail to start with Error: Failed to start EZSP layer with status=HOST_FATAL_ERROR. The dongle bootloader version: Detected ApplicationType.GECKO_BOOTLOADER, version '1.12.0' at 115200 baudrate (bootloader baudrate 115200)

It was flashed before with ncp-uart-sw_7.1.1.0_115200.gbl from https://github.com/xsp1989/zigbeeFirmware/tree/master/firmware/Zigbee3.0_Dongle-NoSigned/EZSP It is working with the newest -sw from the same site (ncp-uart-sw_7.3.1.0_115200.gbl)

Seems like the matter of ncp-uart-hw vs. ncp-uart-sw (-nohw with v.7.4.3.0 behaves in the same way unfortunately)

darkxst commented 1 month ago

Hi @jacgl,

apparently there is sometimes issue migrating from xps1989 firmware, but flashing nvm3_init.gbl fixes it. https://github.com/xsp1989/zigbeeFirmware/blob/master/firmware/Zigbee3.0_Dongle-NoSigned/EZSP/nvm3_initfile.gbl

See this post (which includes backing up data): https://github.com/darkxst/silabs-firmware-builder/issues/84#issuecomment-2094078288

jacgl commented 1 month ago

Thanks, the procedure works. It really needs nvm3_initfile.gbl as middle one.