walthowd / husbzb-firmware

Nortek GoControl HUSBZB-1 / EM3581 Firmware update image
GNU General Public License v3.0
246 stars 40 forks source link

Add support for Sonoff ZBDongle-E stick #45

Open darkxst opened 2 years ago

darkxst commented 2 years ago

The Sonoff ZBDongle-E uses a CH9102F UART chip which has a new pid 55D4, but otherwise is very similar to the original Sonoff EFR32 stick. See Issue: #44

This patch adds support for the new pid.

I have tested using the Itead provided firmware

somq commented 1 year ago

+1

daskruegge commented 1 year ago

@darkxst Even with these changes I can't flash the Dongle-E. It hangs at line 330. The scan works and the stick is recognized. Do you have an idea?

darkxst commented 1 year ago

@daskruegge Can you paste logs from this failure?

daskruegge commented 1 year ago

@daskruegge Can you paste logs from this failure?

@darkxst I don't have logs, cause there is no error. The script is waiting on the readline at line 330. I validated with print where it is waiting.

darkxst commented 1 year ago

I don't have logs, cause there is no error. The script is waiting on the readline at line 330. I validated with print where it is waiting.

If its hanging there, then the dongle probably hasnt entered bootloader mode successfully. Try connecting with a serial terminal such as minicom or putty and see if you get the "Gecko Bootloader" menu prompt.

You can also manually force bootloader mode by using the boot button (requires disassembly).

Edit: Also once a dongle has been flashed with the Router firmware as available on iTead repo, then it refuses to automatically enter bootloader and you would need to use the boot button also.

daskruegge commented 1 year ago

Thanks, but it still doesn't work. This is what I tried so far:

Connecting to USB without holding boot button

Connecting to USB with holding boot button -> red LED

daskruegge commented 1 year ago

@darkxst Ok, nevermind. It seems like the only problem was that I was trying to do that in a VM 🙈 Trying with the host machine worked. Thanks for your help.