Skip to content

Serial Read Fail with latest IDF 5.4.1 #11498

Closed
@SuGlider

Description

@SuGlider

Board

Any SoC

Device Description

Any

Hardware Configuration

None

Version

latest stable Release (if not listed below)

IDE Name

Arduino IDF

Operating System

Any

Flash frequency

N/A

PSRAM enabled

no

Upload speed

115200

Description

A simple sketch fails reading UART data after IDF 5.4.1 commit espressif/esp-idf@60f5828

Nothing is printed into Serial Monitor, event when data is sent.

Sketch

void setup() {
  Serial.begin(115200); // using UART0 - open Serial Monitor to send data to Serial
}

void loop() {
  // just echo back what is sent to Serial
  if (Serial.available()) {
    Serial.write((char) Serial.read());
  }
}

Debug Message

Serial doesn't read data ... no echo back.

Other Steps to Reproduce

Checkout idf-release/v5.4 and run the sketch above.

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.

Metadata

Metadata

Assignees

Labels

Area: ESP-IDF relatedESP-IDF related issuesPriority: High 🗻Issues with high priority which needs to be solved first.bug 🐞Inconsistencies or issues which will cause a problem for users or implementers.

Type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions