- There were recent bugfixes in the Espressif32 platform regarding a openocd update which fixes many problems that people have experienced, but they are not released as a stable release yet. To still use it, replace
platform = espressif32
in yourplatformio.ini
withplatform = https://github.com/platformio/platform-espressif32.git
and recompile and restart debugging. - the logs show that
JTAG speed is at 20MHz? Your cables can handle that? Better lower the speed in the configuration files as seen in ESP32-Pico-V3 fails to upload/debug using esp-prog - #6 by maxgerhardt (after using the latest platform version).