arduino-esp32 icon indicating copy to clipboard operation
arduino-esp32 copied to clipboard

String data = USBCOM.readString();

Open Red-Owl opened this issue 7 months ago • 4 comments

Board

ESP32 wt32-s3-wrover (wt32sc01 plus)

Device Description

ESP32 wt32-s3-wrover (wt32sc01 plus)

Hardware Configuration

ESP32 wt32-s3-wrover (wt32sc01 plus)

Version

v2.0.16

IDE Name

Platformio

Operating System

win11

Flash frequency

40mhz

PSRAM enabled

yes

Upload speed

115200

Description

ERROR A stack overflow in task usbd has been detected.

Sketch

void usb_as_serial_read(){
    String data = USBCOM.readString();
}

Debug Message

***ERROR*** A stack overflow in task usbd has been detected.


Backtrace: 0x40378296:0x3fcb8c90 0x4037d7e9:0x3fcb8cb0 0x40380c9a:0x3fcb8cd0 0x4037f49c:0x3fcb8d50 0x4037d8a0:0x3fcb8d80 0x4037d896:0x00000000 |<-CORRUPTED

Other Steps to Reproduce

send via serial monitor a INFO string in repeat mode repeat 10 arrow up, INFO enter arrow up,INFO enter arrow up,INFO enter .... panic !! or send \r\n panic !!

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

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

Red-Owl avatar Jun 30 '24 15:06 Red-Owl