Page 1 of 1

ESP32 C3 blocks when USB-CDC is enabled but no terminal program connected

Posted: Mon Sep 18, 2023 4:00 am
by PepeTheGreat
It works when USB-CDC is disabled and it works if USB-CDC is enabled and serial monitor is open, but it does not word if enabled and no serial monitor is open. So i use the serial monitor to debug and all is OK but then the same device doesent work if not connected to the PC?
Is there a work-araound?

Re: ESP32 C3 blocks when USB-CDC is enabled but no terminal program connected

Posted: Mon Sep 18, 2023 4:28 am
by lbernstone
Can't give you a workaround for code you haven't included.
Search on https://github.com/espressif/arduino-es ... Aissue+cdc for known issues

Re: ESP32 C3 blocks when USB-CDC is enabled but no terminal program connected

Posted: Mon Sep 18, 2023 1:43 pm
by PepeTheGreat
You want to see my Serial.open(); ?