Elelabs / elelabs-zigbee-ezsp-utility

Elelabs Zigbee EZSP Utility to perform firmware update on a range of Elelabs EZSP products as well as other generic EZSP adapters.
Apache License 2.0
127 stars 26 forks source link

Unable to upgrade a Smabit AV2010/10 dongle #18

Closed obones closed 2 years ago

obones commented 2 years ago

Hello,

I have a Smabit (Bitronvideo) AV2010/10 dongle that I'mtrying to update with firmware from this repository: https://github.com/grobasoz/zigbee-firmware/tree/master/EM3587

I believe that I have installed everything properly, but the utility does not seem to be able to place the stick in bootloader mode:

[obones@server ZigbeeFirmware]$ python3 Elelabs_EzspFwUtility.py restart -p /dev/ttyUSB2 -m btl
2022/01/16 10:51:15 Elelabs_EzspFwUtility:   Generic Zigbee EZSP adapter detected:
2022/01/16 10:51:15 Elelabs_EzspFwUtility:   Firmware: 6.7.8-117
2022/01/16 10:51:15 Elelabs_EzspFwUtility:   EZSP v8
2022/01/16 10:51:15 Elelabs_EzspFwUtility:   Launch in bootloader mode
2022/01/16 10:51:20 Elelabs_EzspFwUtility:   Generic Zigbee EZSP adapter detected:
2022/01/16 10:51:20 Elelabs_EzspFwUtility:   Firmware: 6.7.8-117
2022/01/16 10:51:20 Elelabs_EzspFwUtility:   EZSP v8
[obones@server ZigbeeFirmware]$ python3 Elelabs_EzspFwUtility.py flash -p /dev/ttyUSB2 -f NCP_USW_EM3587-LR_678-115k2.ebl
2022/01/16 10:51:28 Elelabs_EzspFwUtility:   Generic Zigbee EZSP adapter detected:
2022/01/16 10:51:28 Elelabs_EzspFwUtility:   Firmware: 6.7.8-117
2022/01/16 10:51:28 Elelabs_EzspFwUtility:   EZSP v8
2022/01/16 10:51:28 Elelabs_EzspFwUtility:   Launch in bootloader mode
2022/01/16 10:51:33 Elelabs_EzspFwUtility:   Generic Zigbee EZSP adapter detected:
2022/01/16 10:51:33 Elelabs_EzspFwUtility:   Firmware: 6.7.8-117
2022/01/16 10:51:33 Elelabs_EzspFwUtility:   EZSP v8
2022/01/16 10:51:33 Elelabs_EzspFwUtility:   EZSP adapter not in the bootloader mode. Can't perform update procedure
[obones@server ZigbeeFirmware]$ python3 Elelabs_EzspFwUtility.py restart -p /dev/ttyUSB2 -m nrml
2022/01/16 10:52:40 Elelabs_EzspFwUtility:   Generic Zigbee EZSP adapter detected:
2022/01/16 10:52:40 Elelabs_EzspFwUtility:   Firmware: 6.7.8-117
2022/01/16 10:52:40 Elelabs_EzspFwUtility:   EZSP v8
2022/01/16 10:52:40 Elelabs_EzspFwUtility:   Allready in normal mode. No need to restart

What have I missed? Should I reset it completely with a special command before trying to flash it?

NilsBohr commented 2 years ago

@obones Hello, Everything looks in order from the communication perspective. You can enable additional logs with -d RAW option.

However, you should probably ask the manufacturer support if the dongle has the bootloader enabled/integrated. The utility just sends a command reboot into bootloader. But if the device doesn't have a bootloader, or firmware doesn't understand understand this command, the device will be back into regular EZSP operation mode.

obones commented 2 years ago

Ok, thanks, I'll contact the vendor then.