custom ESP32-C3 board with native USB does not work
Posted: Sun Dec 10, 2023 11:46 am
Hello fellas,
I have a custom-board with the ESP32-C3 chip and wanted to program it via the integrated JTAG interface. With a CP2102 I can program my board without any problems. I use vscode an platformio.
i don't have much experience with the esp32.
What I have found out so far is that USB works with addressing and the ID for the device must be stored in the Firmware. Since the ESP doesn't have one yet, I can't program directly out of the box with the JTAG interface. In my naive recklessness I thought I could simply load some program with the CP2102 and then it should work...no.
as soon as I connect the board to the PC via usb, windows says it has not recognized the device correctly and therefore no port.
i tried in the ini following configuration:
can someone help ?
thanks!
greeting
I have a custom-board with the ESP32-C3 chip and wanted to program it via the integrated JTAG interface. With a CP2102 I can program my board without any problems. I use vscode an platformio.
i don't have much experience with the esp32.
What I have found out so far is that USB works with addressing and the ID for the device must be stored in the Firmware. Since the ESP doesn't have one yet, I can't program directly out of the box with the JTAG interface. In my naive recklessness I thought I could simply load some program with the CP2102 and then it should work...no.
as soon as I connect the board to the PC via usb, windows says it has not recognized the device correctly and therefore no port.
i tried in the ini following configuration:
Code: Select all
[env:esp32-c3-devkitm-1]
platform = espressif32
board = esp32-c3-devkitm-1
monitor_speed = 460800
build_flags =
-D ARDUINO_USB_MODE=1
-D ARDUINO_USB_CDC_ON_BOOT=1
framework = arduino
thanks!
greeting