From c9af189b59bdb14ffad487361f8ba6ee148a15f8 Mon Sep 17 00:00:00 2001 From: Erhan Kurubas Date: Thu, 12 Jan 2023 08:06:47 +0100 Subject: [PATCH] docs: JTAG debugging update for ESP32C2 --- docs/en/api-guides/jtag-debugging/esp32c2.inc | 27 ++++++++++++++++--- .../api-guides/jtag-debugging/esp32c2.inc | 27 ++++++++++++++++--- 2 files changed, 48 insertions(+), 6 deletions(-) diff --git a/docs/en/api-guides/jtag-debugging/esp32c2.inc b/docs/en/api-guides/jtag-debugging/esp32c2.inc index 9467e8fb42..7d642aabe9 100644 --- a/docs/en/api-guides/jtag-debugging/esp32c2.inc +++ b/docs/en/api-guides/jtag-debugging/esp32c2.inc @@ -21,7 +21,24 @@ :: - CHIP SPECIFIC LOG OUTPUT + user-name@computer-name:~/esp/esp-idf$ openocd -f board/esp32c2-ftdi.cfg + Open On-Chip Debugger v0.11.0-esp32-20221026 (2022-10-26-14:48) + Licensed under GNU GPL v2 + For bug reports, read + http://openocd.org/doc/doxygen/bugs.html + adapter speed: 20000 kHz + + Info : Listening on port 6666 for tcl connections + Info : Listening on port 4444 for telnet connections + Warn : libusb_detach_kernel_driver() failed with LIBUSB_ERROR_ACCESS, trying to continue anyway + Info : ftdi: if you experience problems at higher adapter clocks, try the command "ftdi tdo_sample_edge falling" + Info : clock speed 20000 kHz + Info : JTAG tap: esp32c2.cpu tap/device found: 0x0000cc25 (mfg: 0x612 (Espressif Systems), part: 0x000c, ver: 0x0) + Info : datacount=2 progbufsize=16 + Info : Examined RISC-V core; found 1 harts + Info : hart 0: XLEN=32, misa=0x40101104 + Info : starting gdb server for esp32c2 on 3333 + Info : Listening on port 3333 for gdb connections .. |run-openocd-cfg-file-err| replace:: ``Can't find board/esp32c2-ftdi.cfg`` @@ -73,8 +90,12 @@ * - Name - Description - * - Content - - Content + * - ``board/esp32c2-ftdi.cfg`` + - Board configuration file for ESP32-C2 debug through an ESP-Prog compatible FTDI, includes target and adapter configuration. + * - ``target/esp32c2.cfg`` + - ESP32-C2 target configuration file. Can be used together with one of the ``interface/`` configuration files. + * - ``interface/ftdi/esp32_devkitj_v1.cfg`` + - JTAG adapter configuration file for ESP-Prog boards. --- diff --git a/docs/zh_CN/api-guides/jtag-debugging/esp32c2.inc b/docs/zh_CN/api-guides/jtag-debugging/esp32c2.inc index 9467e8fb42..7d642aabe9 100644 --- a/docs/zh_CN/api-guides/jtag-debugging/esp32c2.inc +++ b/docs/zh_CN/api-guides/jtag-debugging/esp32c2.inc @@ -21,7 +21,24 @@ :: - CHIP SPECIFIC LOG OUTPUT + user-name@computer-name:~/esp/esp-idf$ openocd -f board/esp32c2-ftdi.cfg + Open On-Chip Debugger v0.11.0-esp32-20221026 (2022-10-26-14:48) + Licensed under GNU GPL v2 + For bug reports, read + http://openocd.org/doc/doxygen/bugs.html + adapter speed: 20000 kHz + + Info : Listening on port 6666 for tcl connections + Info : Listening on port 4444 for telnet connections + Warn : libusb_detach_kernel_driver() failed with LIBUSB_ERROR_ACCESS, trying to continue anyway + Info : ftdi: if you experience problems at higher adapter clocks, try the command "ftdi tdo_sample_edge falling" + Info : clock speed 20000 kHz + Info : JTAG tap: esp32c2.cpu tap/device found: 0x0000cc25 (mfg: 0x612 (Espressif Systems), part: 0x000c, ver: 0x0) + Info : datacount=2 progbufsize=16 + Info : Examined RISC-V core; found 1 harts + Info : hart 0: XLEN=32, misa=0x40101104 + Info : starting gdb server for esp32c2 on 3333 + Info : Listening on port 3333 for gdb connections .. |run-openocd-cfg-file-err| replace:: ``Can't find board/esp32c2-ftdi.cfg`` @@ -73,8 +90,12 @@ * - Name - Description - * - Content - - Content + * - ``board/esp32c2-ftdi.cfg`` + - Board configuration file for ESP32-C2 debug through an ESP-Prog compatible FTDI, includes target and adapter configuration. + * - ``target/esp32c2.cfg`` + - ESP32-C2 target configuration file. Can be used together with one of the ``interface/`` configuration files. + * - ``interface/ftdi/esp32_devkitj_v1.cfg`` + - JTAG adapter configuration file for ESP-Prog boards. ---