Page 1 of 1

How to configure JTAG clock for openOCD in vscode (windows)

Posted: Tue Dec 29, 2020 9:02 am
by espdorian
I am trying to get debugging working. OpenOCD is able to read the device type, but when starting a debug session it gets timeouts.
I image it can be due to the clock which is (by default) quite high (20MHz)

Now my question, where to configure the JTAG clock for openOCD within VScode ?

It seems I was able to anser my own question:

.espressif\tools\openocd-esp32\v0.10.0-esp32-20191114\openocd-esp32\share\openocd\scripts\interface\ftdi\esp32_devkitj_v1.cfg

Contains the clock configuration which is used (in case of the Espressif JTAG interface)