-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Open
Labels
Status: Awaiting triageIssue is waiting for triageIssue is waiting for triage
Description
Board
ESP32-S2 (Adafruit QT-PY)
Device Description
Board
Adafruit QT Py ESP32-S2
Arduino IDE
Arduino IDE 2.3.7
CLI version 1.3.1
Arduino-ESP32 core versions tested
- 3.3.4 → works correctly
- 3.3.5 → regression
USB configuration
- Native USB CDC
- “USB CDC on boot” enabled
Hardware Configuration
- GPIO 40/41 (I2C SDA1/SCL1) on StemmaQT port connected
Version
v3.3.5
Type
Bug
IDE Name
Arduino IDE 2.3.7
Operating System
Windows 11
Flash frequency
80MHz
PSRAM enabled
yes
Upload speed
921600
Description
Expected behavior
Serial over USB CDC works continuously.
CSV telemetry and command parsing continue indefinitely.
Actual behavior (Arduino-ESP32 3.3.5)
- Serial prints 1–2 lines after boot, then stops completely
- Serial command input (e.g. typing commands) also stops responding
- Board does NOT reset (USB port remains enumerated; no disconnect sound)
- Downgrading core to 3.3.4 immediately restores correct behavior
Notes
- Reproduces with old, previously known-good sketches
- Appears unrelated to application logic changes
- Suspect regression in USB CDC / TinyUSB handling or Serial backend
Minimal reproduction sketch
- not for distribution unfortunately
Sketch
Serial.print(now / 1000.0/60.0, 3); // xxsecondsXX mins since boot, force floating point division since "now" is an integer
Serial.print(',');
Serial.print(Tj_F, 3);
Serial.print(',');
Serial.print(Tw_F, 3);
Serial.print(',');
Serial.print(Ta_F, 3);
Serial.print(',');
Serial.print(Tw_sp_F, 3);
Serial.print(',');
Serial.print(duty_pct, 3);
Serial.print(',');
Serial.print(I_j, 3);
Serial.print(',');
Serial.print(Delta_FF, 3);
Serial.print(',');
if (isnan(dTj_dt)) Serial.println("nan");
else Serial.println(dTj_dt, 5);Debug Message
there is none. Serialjust freezes after 1.5 lines of serial printed to Arduino IDE serial monitor or CoolTerm. Code compiles fine
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.
Metadata
Metadata
Assignees
Labels
Status: Awaiting triageIssue is waiting for triageIssue is waiting for triage