Skip to content

ESP32-S3 hangs on Serial if no Serial Monitor is connected #9004

Closed
@mvermand22

Description

@mvermand22

Board

ESP32-S3

Device Description

wt32-sc01-plus 3.5 inch display board with Wireless-Tag WT32-S3-WROVER chip

Hardware Configuration

no

Version

v2.0.11

IDE Name

Arduino IDE 2.2.1

Operating System

Windows 11

Flash frequency

80Mhz

PSRAM enabled

no

Upload speed

921600

Description

I think the issue will happen on any esp32-S3:
When you use Serial.begin(...) & Serial.println(...) in a scetch, then the board will hang if no serial monitor is opened.
See discussion: espressif/esp-idf#10324 (comment)
The arduino-esp32 in Arduino IDE 2.x should be upgraded to v5.1.2

Sketch

void setup() {
  Serial.begin(9600);
  Serial.println("Hello World");
  pinMode(LED_BUILTIN, OUTPUT);
}

void loop() {
  digitalWrite(LED_BUILTIN, HIGH);  // turn the LED on (HIGH is the voltage level)
  delay(1000);                      // wait for a second
  digitalWrite(LED_BUILTIN, LOW);   // turn the LED off by making the voltage LOW
  delay(1000);                      // wait for a second
}

Debug Message

NA, since it only happens when not connected to Arduino-IDE

Other Steps to Reproduce

Open the Serial Monitor, reboot the board.
The led will blink.
Close the Serial Monitor, reboot the board.
The led will not blink.

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

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions