Skip to content

ESP32-C3 non-responsive console over USB serial #2617

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
GaryOtt opened this issue Mar 20, 2025 · 7 comments
Closed

ESP32-C3 non-responsive console over USB serial #2617

GaryOtt opened this issue Mar 20, 2025 · 7 comments

Comments

@GaryOtt
Copy link
Contributor

GaryOtt commented Mar 20, 2025

This afternoon, I tried to play with an ESP32-C3 for the first time. I took a new and previously unused ESP32-C3-WROOM-O2 from its box and flashed Espruino onto it.

I tried to use a serial connection but found that while I could get serial output from the board, nothing I typed was echoed or responded to.

I was able to get responses using the Web Bluetooth capability of https://www.espruino.com/ide/

Having not used the board before, I wrote a simple Arduino sketch to echo data received by serial connection. The board is fully working.

@SimonGAndrews
Copy link
Contributor

SimonGAndrews commented Mar 21, 2025

Garry , Hi, the ESP32C3 port has an option to build Espruino for enabling the console on either the Serial RXD/TXD Pins or the USB (JTAG Driver) D+/D- pins. The default build in the Espruino distribution is for the USB Pins.

Image

If you are using the Serial UART you can build a version after a small modification to the board definition file (ESP32C3_IDF4.) The mod is to comment out the definition of DUSB_CDC as seen in this pic (not commented out).

Image

Else you can utilise the USB Pins with the distributed version.

This method is currently subject to a change thats being worked by myself to fix issue #2609 .

Hope this helps. Simon

@GaryOtt
Copy link
Contributor Author

GaryOtt commented Mar 21, 2025

Thank you for your help, @SimonGAndrews

I will try this.

@gfwilliams
Copy link
Member

So you have a link to the board you used?

As @SimonGAndrews says it's set up to work over the on-chip USB by default, but some boards don't connect that and instead have a separate USB-TTL chip - in which case right now those won't work out the box.

@GaryOtt
Copy link
Contributor Author

GaryOtt commented Mar 21, 2025

@gfwilliams
Copy link
Member

Thanks! Yes - I can see the CP2102 chip on there, so that's your problem.

Hopefully the work @SimonGAndrews is doing will sort this out though

@GaryOtt
Copy link
Contributor Author

GaryOtt commented Mar 21, 2025

Yes, that worked. Thank you both. I'll close this as duplicate.

@GaryOtt GaryOtt closed this as completed Mar 21, 2025
@GaryOtt GaryOtt reopened this Mar 21, 2025
@GaryOtt GaryOtt closed this as completed Mar 21, 2025
@SimonGAndrews
Copy link
Contributor

Great news.
I have an Espressif ESP32-C3-Devkitc-02 board and will include in the testing of #2609
Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants