Your log files indicate that the communication between the PC and the ESP-Prog works without issue. Your problem is between the ESP-Prog and the ESP32 board.
- Check all connections for continuity (incl. GND), if possible up to the pads of the ESP32 module on the development board
- Ensure that you haven’t swapped any connections
- Lower the debug speed
I’m assuming you have uploaded a simple blink sketch via USB first – just to be on the safe side.
So I had done what you have said mutiple times, and I don’t know why but it started working this time…
I’ll reiterate the connections here for anyone finding this post later :
- TMS to 14
- TDI to 12
- TCK to 13
- TDO to 15
- GND to GND
- Power both boards independently via USB
Check continuity from pad to pad from the esp-prog to the esp32 module
Try with shorter cables
Try lowering debug speed using debug_speed = 500
Ensure you have used zadig
Try deleting C:/users/you/.platformio
Try installing device drivers via windows device manager
Try disabling drivers signature
Try restarting vscode ?
Try disabling everything else in windows (Steam, Epic…)