-
Notifications
You must be signed in to change notification settings - Fork 185
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
ERROR: Timeout waiting for ACK/NACK after 'Synch (0x55 0x55)' #63
Comments
The 500000 baud rate should work (this makes things a lot faster). The timeout waiting for the ACK/NACK means there was no answer from the chip. You're sure about the connection to the chip itself? Can you test it with another program / device? |
I'm sure about the connection. Uniflash was able to flash the chip just fine, and hello-world worked. |
Just trying to debug here: You're confident you've got the correct serial port, and you're sure the bootloader is unlocked on the chip? |
I'm getting a similar issue with a CC2538 module straight from the factory. These modules when programmed with a firmware communicate fine over serial. Just to be sure I connected JTAG and did an erase (in-case the factory set some bits for some reason) which should reset image valid I think. |
cc2538-bsl.py also works on Windows via the FTDI module C:\Python27>python cc2538-bsl.py -p COM8 The actual hardware is a Linux SBC with the module connected via a UART |
I think this may be related to the ZNP client attempting to start up (which uses the same serial port) causing the SBL to pick a wrong baud rate. |
Also the first time requested after boot fails.
|
How about the TI cc2650? I have tried I am trying the example on https://github.com/spoerk/contiki/tree/master/examples/cc26xx/cc26xx-ble-client-demo
|
@desword your problem seems different from the other issues in this thread, so feel free to open a new issue. The timeout errors you're getting means the script isn't getting any response from the chip. There's multiple possible causes, but the main one is usually hardware related. So make sure your serial connection to the chip and serial bootloader works. Then check that the SBL itself is properly configured. Also make sure the bootloader is actually running. Lastly make sure nothing else is accessing the serial line before the script. |
I also have the similar Issue: I will explain step by step:
I got to know by my analysis there is problem with the Bootloder kind of things only
but then also not working and again he said like this but I'am confused where to change what to change i did so many thing (I got the idea to recover the other 5 openmote-B board using JTAG programmer I'm going to make it work) But i sould work with other boards by solving this error Thanks |
@JelmerT, so if booloader is locked, then will get ERROR: Timeout waiting for ACK/NACK after 'Synch (0x55 0x55)' .... Is this normal ?
|
@dony71 A timeout can have multiple reasons, but a locked bootloader is one of them. The chip just doesn't answer because it's not listening. But if there is a problem your chip wouldn't answer either for example |
@JelmerT I read somewhere need to do mass erase on the flash so that backdoor bootloader can be enable. I have raspberry pi and have installed openocd on it. Do you know how to do mass erase flash using openocd? |
@dony71 You'd need to connect to the chip with a jtag programmer to enable the serial bootloader. quick google search brought me to this https://gist.github.com/hwhw/fc43892785aa84913d03495c97b0f25a which seems like a good explanation. |
Hello Everyone..!! I am getting this error I have read all the things which are mentioned above and applied it also but still it showing this error. |
fyi: I also was getting the error but it turned out to be brltty udev rule messing with the device. after commenting the udev rule as stated in https://unix.stackexchange.com/questions/670636/unable-to-use-usb-dongle-based-on-usb-serial-converter-chip I was able to flash without further problems. |
Hi Everyone, I also have this error but it was solved.
Please check your openmote before inserting it. Sometime the mote is also not working. Other than that i donot face this problem more.
Regards, Ali Shoaib
On Thu, 13 Jan 2022 at 16:12, Víctor ***@***.***> wrote:
fyi: I also was getting the error but it turned out to be brltty udev rule messing with the device. after commenting the udev rule as stated in https://unix.stackexchange.com/questions/670636/unable-to-use-usb-dongle-based-on-usb-serial-converter-chip I was able to flash without further problems.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you commented.Message ID: ***@***.***>
|
I had this issue and solved. https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers I had previously used steps in this video But was trying to follow this one |
I do have the same issue, just brought this sonoff ZBDongle-P 3.0 USB dongle and wanted to upgrade my firmware with your phyton script. Doing so i got the same error as mentioned above. There are a lot of suggestions but i'm not clear with path i need to take, i'm a newby on using the zigbee dongle. |
For future readers. I tried to flash my dongle which gave a While running the docker container (error).
After stopping docker:
|
Hi Bastiaan Nelissen, Regards, |
had the same timeout issue. Simply resolved that by adding --bootloader-sonoff-usb flag. |
I don't understand why I have this error and I don't think anyone in this post has fixed the problem? lrwxrwxrwx 1 root root 13 Nov 17 21:45 usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220816140554-if00 -> ../../ttyACM0 sudo python3 cc2538-bsl.py -ewv -p /dev/ttyACM0 --bootloader-sonoff-usb . /CC1352P2_CC2652P_launchpad_coordinator_20220219.hex sonoff Port d'ouverture /dev/ttyACM0, baud 500000 Lecture des données de . /CC1352P2_CC2652P_launchpad_coordinator_20220219.hex Votre micrologiciel ressemble à un fichier Intel Hex Connexion à la cible... ERREUR : Délai d'attente pour ACK/NACK après 'Synch (0x55 0x55)' |
@bglnelissen , thanks for these elements. How did you stop the docker ? Thanks again ! |
I might just have done a |
Hi, I followed those steps but get into an error and can t manage to update the firmware. bisol@bisolpc001:~/cc2538-bsl$ ls -la /dev/serial/by-id/ total 0 drwxr-xr-x 2 root root 60 ian 6 08:44 . drwxr-xr-x 4 root root 80 ian 6 08:44 .. lrwxrwxrwx 1 root root 13 ian 6 08:44 usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220811190441-if00 -> ../../ttyACM0 bisol@bisolpc001:~/cc2538-bsl$ sudo python3 cc2538-bsl.py -ewv -p /dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220811190441-if00 --bootloader-sonoff-usb ./CC1352P2_CC2652P_launchpad_coordinator_20220219.hex sonoff Opening port /dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220811190441-if00, baud 500000 Reading data from ./CC1352P2_CC2652P_launchpad_coordinator_20220219.hex Firmware file: Intel Hex Connecting to target... ERROR: Timeout waiting for ACK/NACK after 'Synch (0x55 0x55)' bisol@bisolpc001:~/cc2538-bsl$ Also tried using /dev/ttyACM0 but same result Any idea what I can do ? Thanks a lot P.S. Doing this on a fresh ubuntu installation and no docker present there... |
I had similar issues when an other instance trying to use the dongle. Try to figure out who/what is using the dongle. |
To those, who see ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2 (note V2 in the end), I guess you have ZBDongle-E model, which is based on a different chip (EFR32MG21). Obviously, you should not try to flash it with CC2652P image. Please refer to https://community.home-assistant.io/t/itead-s-sonoff-zigbee-3-0-usb-dongle-plus-v2-model-zbdongle-e-based-on-silicon-labs-efr32mg21-20dbm-radio-mcu-now-sold-for-19-99/442695 |
And may I add something : to those trying to flash this V2 version of the SONOFF dongle because of issues with zigbee2mqtt in home assistant, just add "adapter : ezsp" to your configuration file and it will work : data_path: /config/zigbee2mqtt |
For the ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus I received the same error ( Full command (using Python 3.10 on Windows 10): python.exe cc2538-bsl.py -p COM4 --bootloader-sonoff-usb -evw CC1352P2_CC2652P_launchpad_coordinator_20221226.hex |
I have CC2562P + CP2102N with 3 buttons RST, K1, K2 (not an official Sonoff). There is no Boot button. I was not able to boot into bootloader, not even with After checking https://github.com/Koenkk/Z-Stack-firmware/blob/master/coordinator/Z-Stack_3.x.0/bin/README.md I noticed that firmware usually uses DIO_13 or DIO_15 for bootloader backdoor pin ( |
Today, I got the same error Timeout waiting for ACK/NACK after 'Synch (0x55 0x55)' After investigation I found out, that my Sonoff Stick had another processor SONOFF Zigbee 3.0 USB Dongle E TI EFR32MG21 + CH9102F. Flashing of Firmware is not needed for this stick. This can also be an explanation for the issue. |
Hi. I’m joining the ERROR: Timeout waiting for ACK/NACK after 'Synch (0x55 0x55)' club 😭 My goal: Make the Sonoff Dongle work as a repeater in my Fibaro HC3 based environment My hardware setup is Mac OS X based (Intel iMac) and a Sonoff Dongle Plus plugged in to the USB of the Mac
A few weeks ago I did successfully flash the firmware:
I think you might agree that this was not the right firmware to flash. The script I followed did point me to this. After checking this table the launchpad version is recommended. Some sources point out that the bootloader might be "locked" after using the wrong firmware 😵💫 I still hope that it’s just the OS update or there’s a backdoor I didn’t try so far. Current situation:
I also tried to open the device and hold down the "boot" button while inserting to the USB port and tried multiple variations of releasing it. 🔒 Is it really locked? |
I am facing the ERROR: Timeout waiting for ACK/NACK after 'Synch (0x55 0x55) as well. My goal: I want to flash my Slaesh CC2652-stick as a router with the latest Z-Stack firmware from KoenkK. After succesfully flashing my SONOFF Zigbee-Dongle Plus I have accidentally flashed my Slaesh-stick with the launchpad firmware CC1352P2_CC2652P_launchpad_router_20221102.hex as well instead of chosing the CC2652RB_router_20221102.hex. Any ideas how to reanimate my Slaesh CC2652? |
you will need to hold the gpio defined in the launchpad fw for bsl Low during boot to get it into bootloader mode. the bsl pins are shown in the chart in the z-stack fw repo. |
Thank you very much! It worked indeed :-) GPIO15 with GND |
@tube0013 or @kenschbacher9 on what GPIO15 you talking about? What I should hold to go to bootloader mode because flag neither button don't work and I still getting :
Thanks for info |
Hold K1 button (DIO15) BSL Trigger Pin while plunging in USB dongle, Dongle will enter to bootloader |
Using CC1310 on a SMARTRF06, git rev a38cfc889ebb2197b8775c79763e04c592fd4b77, I get:
(I manually set the baud to 115200 which I believe is correct. 500000 failed the same way.)
The text was updated successfully, but these errors were encountered: