Skip to content

Sending more than 63 characters causes Serial to hang #193

@technoblogy

Description

@technoblogy

With this test program:

void setup() {
  Serial.begin(9600);
}

void loop (void) {
  if (Serial.available()) Serial.print((char)Serial.read());
}

if you repeatedly paste this 62-character string into the Arduino IDE Serial Monitor input field and press Return it gets echoed fine:

$0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXY

However if you use this string of 63 characters it immediately hangs up:

$0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ

I'm using the core Arduino Mbed OS RP2040 Boards 2.0.0 on a MacBook Pro with Arduino IDE 1.8.13. The board is a Raspberry Pi Pico.

Metadata

Metadata

Assignees

No one assigned

    Labels

    RP2040bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions