How to debug a esp32 with a st-link in platformio ide

should i remove the trst connection and try it manualy
sadly that it didnt work

sadly that it didnt work
i ran out of comments the limit of a new account is 12 per day

1 Like

If JTAG Debugging - ESP32 - — ESP-IDF Programming Guide latest documentation is truely correct with its

JTAG adapters that are hardcoded to a specific product line, e.g. ST-LINK debugging adapters for STM32 families, will not work.

Then I’m afraid there’s not much to do other than buy a supported JTAG adapter, like the standard ESP-PROG.

is there something universal that has no lock and also works with the esp32 and is under 25$ on amazon

See Low-cost ESP32 In-circuit Debugging | by Manuel Bl. | Medium.

What if I only have the cheap one?

I’ve not ever seen someone be able to debug an ESP32 via JTAG with a cheap ST-Link clone. They only have SWD (SWDIO, SWCLK) anyways, not the full JTAG pinout (TDI, TDO, TCLK, TMS).