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

PepeTheGreat
Posts: 20
Joined: Mon Sep 18, 2023 3:54 am

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

Postby PepeTheGreat » Mon Sep 18, 2023 4:00 am

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?

lbernstone
Posts: 826
Joined: Mon Jul 22, 2019 3:20 pm

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

Postby lbernstone » Mon Sep 18, 2023 4:28 am

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

PepeTheGreat
Posts: 20
Joined: Mon Sep 18, 2023 3:54 am

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

Postby PepeTheGreat » Mon Sep 18, 2023 1:43 pm

You want to see my Serial.open(); ?

Who is online

Users browsing this forum: No registered users and 100 guests