Timeout waiting for ACK/NACK after 'Synch (0x55 0x55)'
See original GitHub issueHi, Im trying to do the python flash with the SSH, I’m doing it on the Home Assistant OS SSH,
Im getting this error …
/zigbee python3 cc2538-bsl.py -p /dev/ttyUSB0 -evw CC1352P2_CC2652P_launchpad_coordinator_20211217.hex
Opening port /dev/ttyUSB0, baud 500000
Reading data from CC1352P2_CC2652P_launchpad_coordinator_20211217.hex
Your firmware looks like an Intel Hex file
Connecting to target...
ERROR: Timeout waiting for ACK/NACK after 'Synch (0x55 0x55)
Thanks
Issue Analytics
- State:
- Created 2 years ago
- Comments:13 (6 by maintainers)
Top Results From Across the Web
ERROR: Timeout waiting for ACK/NACK after 'Synch (0x55 ...
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?...
Read more >Tube's ZB Coordinators and Routers (was Zigbee router on ...
... the dreaded ERROR: Timeout waiting for ACK/NACK after 'Synch (0x55 0x55)' . ... I use to initially flash and then reflash after...
Read more >[Contiki-developers] cc2538-bsl support for the CC13xx ...
tools/cc2538-bsl/cc2538-bsl.py", line 233, in _wait_for_ack % (info,)) CmdException: Timeout waiting for ACK/NACK after 'Synch (0x55 0x55)' ERROR: Timeout ...
Read more >contiki-ng/Developers - Gitter
I get ERROR: Timeout waiting for ACK/NACK after 'Get ChipID (0x28)'. after many efforts it might eventually work. using two different USB hubs, ......
Read more >Not able to program CC2650 with contiki os-hello-world ...
ERROR : Timeout waiting for ACK/NACK after 'Synch (0x55 0x55)'. Even if I used TI's flash programmer or Uniflash programmer to dump the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
FYI, after updating several times and helping others with different setups I have broken down my tested steps to flash firmware mentioned from https://github.com/JelmerT/cc2538-bsl/pull/114 into this basic guide for flashing ITead SONOFF Zigbee 3.0 USB Dongle Plus adapter.
This guide uses the cc2538-bsl tool from JelmerT’s latest “master” branch on GitHub and could easily be made to work on all operating systems. I tested on Windows OS but others have done this on Linux and Mac OS by using different Serial/COM-port addressing as the steps should otherwise be the same.
python -m pip install --upgrade pip
, (if pip is not available then first runpython -m ensurepip --upgrade
), then pre-install dependencies fro cc2538-bsl from PyPi via pip command:pip install wheel pyserial intelhex python-magic
pip install zigpy-znp
then perform NVRAM backup by following instructions in TOOLS.md (also find more details ZNP radio backup procedure at https://github.com/zigpy/zigpy/wiki/Coordinator-Backup-and-Migration) for Windows backup command should be something likepython -m zigpy_znp.tools.nvram_read COM5 -o nvram_backup.json
and optionally also backup Zigbee network viapython -m zigpy_znp.tools.network_backup COM5 -o network_backup.json
.setup.py
to install its dependencies (should include “setuptools”, “wheel”, “pyserial”, “intelhex”, and “python-magic” packages).CC1352P2_CC2652P_launchpad_*.zip
” image available from its “master” branch at this time. Alternatively, you could get the latest “beta” version from the develop branch). Regardless make sure to get the correct image file as should be the one for “launchpad” (and not for “other)”!python cc2538-bsl.py -p COM5 -e -v -w --bootloader-sonoff-usb CC1352P2_CC2652P_launchpad_coordinator_20211217.hex
Obviously need to replace number in COM5 with the port # actually shown used under ports in Device Manager on Windows.
Also, if using Linux or Mac OS instead of Microsoft Windows then the
COM#
serial device path after-p
will be different when set the port to use, (like for example/dev/ttyUSB0
or/dev/ttyUSB1
) and might need different Silabs CP210x device drivers (CP2102N USB-to-UART bridge / USB-to-Serial converter chip) for your operating system, on Linux might have to run Python withsudo
, and read that many on Linux successfully runsudo python cc2538-bsl.py -e -v -w --bootloader-sonoff-usb CC1352P2_CC2652P_launchpad_coordinator_20211217.hex
without setting serial device path with-p
for port to use.@Hedda I had the same issue as @Rowleys. After adding --bootloader-sonoff-usb to the command, flashing completed successfully. I’ve added the feedback to 114 per your request.