itead / Sonoff_Zigbee_Dongle_Firmware

155 stars 18 forks source link

Confirm firmware image backward and forward compatibility with ITtead's old barebone Silabs EFR32MG21 based Zigbee 3.0 USB adapter (model 9888010100045) from ITead? #15

Open Hedda opened 1 year ago

Hedda commented 1 year ago

@Daniel-zhan-itead Can you for reference confirm if firmware images for new ZBDongle-E is technically compatible with the old "9888010100045" dongle and vice versa? This was asked here -> https://github.com/xsp1989/zigbeeFirmware/issues/29 as well as in Home Assistant forum.

ITead's no longer sold Zigbee 3.0 dongle barebone model "9888010100045" adapter (which did not tget the "Sonoff" branding) was also based on EFR32MG21 and therefor I just assumed that it should also work with the same firmware image files, however it PCB board maybe designed to use different pins?

https://community.home-assistant.io/t/itead-zigbee-3-0-usb-dongle-stick-adapter-based-on-silicon-labs-efr32mg21/271144

https://www.facebook.com/watch/?v=262086502015726

image

At least, back when the new “Sonoff Zigbee 3.0 USB Dongle Plus V2” (model “ZBDongle-E”) was released I asked @Daniel-zhan-itead (product manager at ITead) about firmware compatibility with their old 9888010100045 (previous barebone Silabs EFR32MG21 based Zigbee 3.0 USB adapter from ITead) and got the reply that the pinout definition for the EFR32MG21 SoC chip on the new model ZBDongle-E board is exactly the same as the original first-generation barebone Zigbee 3.0 USB Dongle model 9888010100045, but that that the new model ZBDongle-E adapter can still not use the exact same firmware images as their old barebone model 9888010100045 adapter, so I guess that must mean that they might not use the exact same EFR32MG21 SoC chip model or?

image

At least as far as I can tell the ZBDongle-E does use the exact same EFR32MG21A020F768IM32 SoC used on their previous model 9888010100045 ITead Zigbee 3.0 USB Dongle,

EFR32MG21A020F768IM32 is well as on CoolKit Technologies “SM-011 V1.0” module used in the ITead Sonoff ZBBridge Zigbee Bridge and in Tuya ZS3L and Tuya ZSLC5 SoC modules.

That includes an 80 MHz ARM Cortex-M33 core, 768 kB Flash Storage, 64 kB RAM in a QFN32 package

At the time when the ew “Sonoff Zigbee 3.0 USB Dongle Plus V2” (model “ZBDongle-E”) was released I also asked @Daniel-zhan-itead at ITead about the default RF output power configuration and was told that the new ZBDongle-E adapter currently ships with Zigbee NCP 6.10.3 firmware that has enabled 20 dBm output RF power default, however, is not hardcoded in the firmware so users/applications can choose to lower output RF power if they want.

In addition, got part of the Configuration Parameter values Table for Silicon Labs EmberZNet PRO Zigbee networking protocol stack:

Configuration Parameter Value
EMBER_APS_UNICAST_MESSAGE_COUNT 32
EMBER_PACKET_BUFFER_COUNT 250
EMBER_NEIGHBOR_TABLE_SIZE 26
EMBER_SOURCE_ROUTE_TABLE_SIZE 200
EMBER_ADDRESS_TABLE_SIZE 32

It does not mention “Child Table Size” but I guess that is probably configured to 32 same as for old model 9888010100045 as per https://github.com/xsp1989/zigbeeFirmware/blob/4533c8daa1e571801a2c49dca8498a1b1b79f54f/firmware/Zigbee3.0_Dongle/EZSP/README.md or?

image