Closed
Description
Board
Espressif ESP32-S3-DevKitC-1-N8 (8 MB QD)
Device Description
Official board by Espressif
Programming and powering by the UART port.
Hardware Configuration
Unconnected to any external peripherals.
Version
v2.0.9
IDE Name
PlatformIO
Operating System
Windows 11
Flash frequency
40MHz (Default one)
PSRAM enabled
yes
Upload speed
115200
Description
When data rushes to UART at application startup the MCU hangs.
This is observed in printing to UART within global constructors, wherein the Serial began in an earlier one.
This issue wasn't observed with normal ESP32.
The amount of data being successfully printed depends on the introduced delay (delayMs in the example sketch).
With no delay it printed ~155 Bytes, and with a delay of uS it printed ~182 Bytes, finally run with not problems when delay was 100uS.
Sketch
#include <Arduino.h>
int delayMs = 10;
class dummy {
public:
dummy () {
Serial.begin(115200);
for(int i=0;i<200;i++) {
Serial.printf("0", i);
delayMicroseconds(delayMs);
}
}
};
dummy d;
void setup() {
// put your setup code here, to run once:
pinMode(LED_BUILTIN, OUTPUT);
Serial.begin(115200);
Serial.printf("Hello World!\n");
}
void loop() {
// put your main code here, to run repeatedly:
digitalWrite(LED_BUILTIN, HIGH);
delay(1000);
digitalWrite(LED_BUILTIN, LOW);
delay(1000);
}
Debug Message
rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3808,len:0x44c
load:0x403c9700,len:0xbe4
load:0x403cc700,len:0x2a68
entry 0x403c98d4
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x10 (RTCWDT_RTC_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3808,len:0x44c
load:0x403c9700,len:0xbe4
load:0x403cc700,len:0x2a68
entry 0x403c98d4
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
- I confirm I have checked existing issues, online documentation and Troubleshooting guide.