Skip to content

Not able to flash binary on samr21-xpro boards choosing serial number #19805

@LizzieDE110

Description

@LizzieDE110

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-xpro

Expected 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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: bugThe issue reports a bug / The PR fixes a bug (including spelling errors)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions