-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Not able to flash binary on samr21-xpro boards choosing serial number #19805
Copy link
Copy link
Closed
Labels
Type: bugThe issue reports a bug / The PR fixes a bug (including spelling errors)The issue reports a bug / The PR fixes a bug (including spelling errors)
Description
Description
Not able to flash binary on samr21-xpro boards choosing serial number.
Steps to reproduce the issue
I am trying to work with 2 samr21-xpro boards, however, I can't flash binary on the board I want when I am choosing a Serial number.
Below, commands I have executed :
git clone https://github.com/RIOT-OS/RIOT.git
cd RIOT/
git checkout 2023.04-branch
make list-ttys This last command shows the 2 boards I use with their Serial number.
To show you the bug, I used the hello-world example :
cd examples/hello-world
make flash term BOARD=samr21-xpro SERIAL=ATML2127031800003035 It respond :
/home/dev/RIOT/dist/tools/usb-serial/find-tty.sh: ligne 10: ./ttys.py: Aucun fichier ou dossier de ce type
/home/dev/RIOT/makefiles/boards/sam0.inc.mk:11: *** Did not find a device with serial ATML2127031800003035. Arrêt.However, without Serial parameter, RIOT works as expected :
make flash term BOARD=samr21-xproExpected results
I can choose which board I would like to flash using serial number.
Actual results
When I try to specify serial number, it respond :
/home/dev/RIOT/dist/tools/usb-serial/find-tty.sh: ligne 10: ./ttys.py: Aucun fichier ou dossier de ce type
/home/dev/RIOT/makefiles/boards/sam0.inc.mk:11: *** Did not find a device with serial ATML2127031800003035. Arrêt.Versions
OS : Ubuntu 22.04.2 LST
Build environment :
- native gcc: gcc (Ubuntu 11.3.0-1ubuntu1~22.04.1) 11.3.0
- arm-none-eabi-gcc: arm-none-eabi-gcc (15:10.3-2021.07-4) 10.3.1 20210621 (release)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type: bugThe issue reports a bug / The PR fixes a bug (including spelling errors)The issue reports a bug / The PR fixes a bug (including spelling errors)