Skip to content

Standard output is truncated and sent to the shell input on Arduino Nano 33 BLE for the default example #20544

@bmewen

Description

@bmewen

Description

The default example is supposed to print two lines then let the user type the commands, but on the Nano 33 BLE the two lines are not printed correctly and some characters are mixed in the shell input which imply that the user has to erase them.

Steps to reproduce the issue

With a Nano 33 BLE linked to the computer :

BOARD=arduino-nano-33-ble RIOT_TERMINAL=picocom make -C default flash term 

Note that I'm using picocom instead of pyserial which doesn't change anything to the result.

Expected results

The output is clean with the lines printed in the right order and the input is empty and let the user type his command without erasing anything.

The output is supposed to be the following one :

main(): This is RIOT! (Version : 2024-)
Welcome to RIOT!
>

Actual results

The actual output is :

Welcome to RIOT!
> mai):Th is

The first line is not printed and instead seems to be partially sent to the input of the shell.

Versions

All tests performed on a fresh master branch.

Operating System Environment

Operating System: "Ubuntu" "22.04.4 LTS (Jammy Jellyfish)"
Kernel: Linux 6.5.0-26-generic x86_64 x86_64
System shell: /usr/bin/dash (probably dash)
make's shell: /usr/bin/dash (probably dash)

Installed compiler toolchains

native gcc: gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
arm-none-eabi-gcc: arm-none-eabi-gcc (15:10.3-2021.07-4) 10.3.1 20210621 (release)
clang: Ubuntu clang version 14.0.0-1ubuntu1.1

Installed compiler libs

arm-none-eabi-newlib: "3.3.0"

Installed development tools

cmake: cmake version 3.22.1
doxygen: 1.9.1
git: git version 2.34.1
make: GNU Make 4.3
openocd: Open On-Chip Debugger 0.11.0
python: Python 3.12.2
python3: Python 3.12.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: sysArea: SystemType: bugThe issue reports a bug / The PR fixes a bug (including spelling errors)

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions