I’m not sure if debugging this board is possible without an ESP-PROG but I’m hoping it can be. I have one of these esp32c3 variants Lolin_c3_mini. C3 mini — WEMOS documentation
It has the d+ and d- pins routed to the USB. When plugging this board into the computer I get two USB JTAG/serial debug devices in device manager.
I’m getting an error with GDB and it wants me to open the source config file but I’m not sure what I’m supposed to put in there. All the documentation I could find is for the ESP PROG or JLINK adapters for the esp32.
Reading symbols from c:.pio\build\esp32c3\firmware.elf…
PlatformIO Unified Debugger → Redirecting...
PlatformIO: debug_tool = custom <— not sure if this is correct, probably not
PlatformIO: Initializing remote target…
.pioinit:13: Error in sourced command file:
:3333: (undocumented errno 138).
Is it even possible to debug straight from the d+d- pins of the C3? I thought I read it was but cannot find that information any more.
I don’t know what to enter in the platformio.ini or launch.json to get it going, not sure if it would be the same as ESP-PROG but I’m thinking not.
Any help at all would be greatly appreciated.