JelmerT / cc2538-bsl

Python cross-platform script to upload firmware via the serial boot loader onto the CC13xx, CC2538 and CC26xx SoC.
BSD 3-Clause "New" or "Revised" License
517 stars 178 forks source link

Timeout waiting for ACK/NACK after 'Get ChipID (0x28)' #125

Open hocomadvies opened 2 years ago

hocomadvies commented 2 years ago

pi@raspberrypi:~ $ sudo python3 cc2538-bsl/cc2538-bsl.py /dev/ttyUSB0 -evw --bootloader-sonoff-usb CC2652RB_coordinator_20220219.hex

Opening port /dev/ttyUSB0, baud 500000
Connecting to target...
ERROR: Timeout waiting for ACK/NACK after 'Get ChipID (0x28)'

Tried to update the slaesh cc2652RB stick through ssh on my rpi3b. I kept on getting the Timeout waiting for ACK/NACK. Took out the stick and replaced it. Made sure the port is ok. Read trough all posts/ how-to''s about this subject but still cannot get it to work. After applying some install / update I now get this:

pi@raspberrypi:~ $ sudo python3 cc2538-bsl/cc2538-bsl.py /dev/ttyUSB0 -evw  --bootloader-sonoff-usb  CC2652RB_coordinator_20220219.hex
Opening port /dev/ttyUSB0, baud 500000
Connecting to target...
CC1350 PG2.0 (7x7mm): 352KB Flash, 20KB SRAM, CCFG.BL_CONFIG at 0x00057FD8
Primary IEEE Address: 00:12:4B:00:21:CC:39:4A

Does this mean it has been flashed? Went so fast ? How can I check if its ok?

hocomadvies commented 2 years ago

tried also with pushing the button when inserting. Nothing different.

hocomadvies commented 2 years ago

Still getting errors when trying to flash. it seems not working ok. How to deal with it to get it working ok?

JelmerT commented 2 years ago

It seems the chip on your stick can be read, but the script quit too early?

Are you still having issues?

nielsnl68 commented 2 years ago

EDIT: my post was put in the wrong issue.

116