Working with the CJMCU-232H JTAG debugger in esp-idf
To use this utility, an esp-idf environment must be installed (see Installing ESP-IDF).
Example of work
After installing esp-idf the required version of openocd with support for ESP32 microcontrollers is already installed in the directory
The example shows the version of esp-idf at the time this article was written. Actual versions may differ.
The example shows a board based on ESP32-WROVER-KIT. For other boards, you will need to use the appropriate configuration file.
openocd -f board/esp32-wrover-kit-3.3v.cfg
When connecting a debugger, openocd does not detect it
You need to add the correct vendor/product ID pair 0x0403 0x6014 to the first place in the configuration file:
Make changes to the file:
ftdi_vid_pid 0x0403 0x6014