Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot get Sonoff dongle into bootloader mode #186

Open
greew opened this issue Dec 31, 2024 · 0 comments
Open

Cannot get Sonoff dongle into bootloader mode #186

greew opened this issue Dec 31, 2024 · 0 comments

Comments

@greew
Copy link

greew commented Dec 31, 2024

Hi all.

I've had the "SONOFF ZigBee 3.0 USB Dongle Plus (ZBDongle-P)" for a few years now. Never having flashed a new firmware onto it, it still has the original 20210708 firmware, when when I received it.

I now have a new Zigbee devices, that requires a newer firmware, hence I downloaded the newest firmware from the Koenkk repo and want to flash it.

BUT - I simply cannot get the Dongle into bootloader mode.

I have read the Readme here and also other threads around of how to use this script, and I simply cannot see what I'm doing wrong.

[cc2538-bsl] python3 cc2538-bsl.py -ewv ~/Downloads/CC1352P2_CC2652P_launchpad_coordinator_20240710.hex -V --bootloader-sonoff-usb
sonoff
Opening port /dev/ttyUSB0, baud 500000
Reading data from /home/js/Downloads/CC1352P2_CC2652P_launchpad_coordinator_20240710.hex
Firmware file: Intel Hex
Connecting to target...
*** sending synch sequence
Traceback (most recent call last):
  File "/home/js/code/cc2538-bsl/cc2538-bsl.py", line 1162, in <module>
    if not cmd.sendSynch():
  File "/home/js/code/cc2538-bsl/cc2538-bsl.py", line 384, in sendSynch
    return self._wait_for_ack("Synch (0x55 0x55)", 2)
  File "/home/js/code/cc2538-bsl/cc2538-bsl.py", line 277, in _wait_for_ack
    raise CmdException("Timeout waiting for ACK/NACK after '%s'"
CmdException: Timeout waiting for ACK/NACK after 'Synch (0x55 0x55)'
ERROR: Timeout waiting for ACK/NACK after 'Synch (0x55 0x55)'

I'm not used to play around with print boards and such, but I got "desperate" and went out and bought a PH00 screwdriver and wanted to try to enable the bootloader by unplugging the dongle, hold down the bootloader button, insert the dongle again and keep the button pressed for at least 10 seconds (one time I tried 30 seconds), but still I cannot get the script past the Synch command, where it crashed then.

Now, does anyone have any other ideas of how to get the dongle into bootloader mode, or should I just consider the dongle "broken"?

Thank you in advance - and a happy new year! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant