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

espdorian
Posts: 33
Joined: Sat Dec 26, 2020 10:57 am

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

Postby espdorian » Tue Dec 29, 2020 9:02 am

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)

Who is online

Users browsing this forum: No registered users and 25 guests