Olimex Support Forum

Microcontrollers => ESP32 => Topic started by: Edward on April 18, 2024, 02:47:56 PM

Title: ESP32-C3-DevKit-Lipo USB Serial problems.
Post by: Edward on April 18, 2024, 02:47:56 PM
a) What board should I use in the Arduino setup for the "ESP32-C3-DevKit-Lipo", since that is not listed in the boards selection.

b) I am trying to use the USB connector on an "ESP32-C3-DevKit-Lipo" as a regular Serial port but accessing the port causes a crash:
"OpenOCD: GDB Server Quit Unexpectedly. See gdb-server output for more details."
and
CDRTOSConfigure
embedded:startup.tcl:28: Error: Can't find debug.cfg
in procedure 'script'
at file "embedded:startup.tcl", line 28"

Can the USB connector be used as a regular COM port?

Title: Re: ESP32-C3-DevKit-Lipo USB Serial problems.
Post by: LubOlimex on April 19, 2024, 12:18:56 PM
Try with the development json in preferneces instead of the stable:

https://espressif.github.io/arduino-esp32/package_esp32_dev_index.json

Follow the instructions here:

https://docs.espressif.com/projects/arduino-esp32/en/latest/installing.html

After the JSON update the package to 3.0.x and the board should show up.

The pull request for the board is here:

https://github.com/espressif/arduino-esp32/pull/8896

and then in this commit:

https://github.com/espressif/arduino-esp32/commit/8c08727658e90416de5496b66d0a95f42c495eef