[riot-notifications] [RIOT-OS/RIOT] ERROR: Timeout waiting for ACK/NACK after 'Synch (0x55 0x55)' (#11031)

Yannic notifications at github.com
Fri Apr 12 22:44:28 CEST 2019


I think you may have misunderstood, my issue is not with an incorrect call to the `cc2538-bsl.py` script.

This is the output of `make flash BOARD=openmote-b`:

```
make flash BOARD=openmote-b
Building application "hello-world" for "openmote-b" with MCU "cc2538".
[...]
{path_to_RIOT}/dist/tools/cc2538-bsl/cc2538-bsl.py -p "/dev/ttyUSB1" --bootloader-invert-lines -e -w -v -b 460800 {path_to_RIOT}/examples/hello-world/bin/openmote-b/hello-world.bin
{path_to_RIOT}/examples/hello-world/bin/openmote-b/hello-world.bin
Opening port /dev/ttyUSB1, baud 460800
Reading data from {path_to_RIOT}/examples/hello-world/bin/openmote-b/hello-world.bin
Cannot auto-detect firmware filetype: Assuming .bin
Connecting to target...
ERROR: Timeout waiting for ACK/NACK after 'Synch (0x55 0x55)'
make: *** [{path_to_RIOT}/examples/hello-world/../../Makefile.include:538: flash] Error 1
```

And by checking `ls /dev/tty*` I can clearly see that my board is indeed on the port `/dev/ttyUSB1`, so copying and pasting the call to `cc2538-bsl.py` wouldn't help anything.

To demonstrate I can directly call:
```
{path_to_RIOT}/dist/tools/cc2538-bsl/cc2538-bsl.py -p "/dev/ttyUSB1" --bootloader-invert-lines -e -w -v -b 460800 {path_to_RIOT}/examples/hello-world/bin/openmote-b/hello-world.bin
```

and as expected get the output:

```
opening port /dev/ttyUSB1, baud 460800
Reading data from /home/guyyst/Documents/Programming/riot-os/RIOT/examples/hello-world/bin/openmote-b/hello-world.bin
Cannot auto-detect firmware filetype: Assuming .bin
Connecting to target...
ERROR: Timeout waiting for ACK/NACK after 'Synch (0x55 0x55)'
```




-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/issues/11031#issuecomment-482716555
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190412/f63df83c/attachment.html>


More information about the notifications mailing list