|
|
@@ -6,7 +6,6 @@
|
|
|
.. (defined in RST, not in Python) inside code blocks. If that is ever implemented,
|
|
|
.. These code blocks can be moved back to the main .rst files, with target-specific
|
|
|
.. file names being replaced by substitutions.
|
|
|
-.. TODO IDF-6033
|
|
|
|
|
|
.. run-openocd
|
|
|
|
|
|
@@ -22,7 +21,28 @@
|
|
|
|
|
|
::
|
|
|
|
|
|
- TO BE UPDATED
|
|
|
+ user-name@computer-name:~/esp/esp-idf$ openocd -f board/esp32c6-builtin.cfg
|
|
|
+ Open On-Chip Debugger v0.11.0-esp32-20221026-85-g0718fffd (2023-01-12-07:28)
|
|
|
+ Licensed under GNU GPL v2
|
|
|
+ For bug reports, read
|
|
|
+ http://openocd.org/doc/doxygen/bugs.html
|
|
|
+ Info : only one transport option; autoselect 'jtag'
|
|
|
+ Info : esp_usb_jtag: VID set to 0x303a and PID to 0x1001
|
|
|
+ Info : esp_usb_jtag: capabilities descriptor set to 0x2000
|
|
|
+ Warn : Transport "jtag" was already selected
|
|
|
+ WARNING: ESP flash support is disabled!
|
|
|
+ force hard breakpoints
|
|
|
+ Info : Listening on port 6666 for tcl connections
|
|
|
+ Info : Listening on port 4444 for telnet connections
|
|
|
+ Info : esp_usb_jtag: serial (60:55:F9:F6:03:3C)
|
|
|
+ Info : esp_usb_jtag: Device found. Base speed 24000KHz, div range 1 to 255
|
|
|
+ Info : clock speed 24000 kHz
|
|
|
+ Info : JTAG tap: esp32c6.cpu tap/device found: 0x0000dc25 (mfg: 0x612 (Espressif Systems), part: 0x000d, ver: 0x0)
|
|
|
+ Info : datacount=2 progbufsize=16
|
|
|
+ Info : Examined RISC-V core; found 2 harts
|
|
|
+ Info : hart 0: XLEN=32, misa=0x40903105
|
|
|
+ Info : starting gdb server for esp32c6 on 3333
|
|
|
+ Info : Listening on port 3333 for gdb connections
|
|
|
|
|
|
.. |run-openocd-cfg-file-err| replace:: ``Can't find board/esp32c6-builtin.cfg``
|
|
|
|
|
|
@@ -68,14 +88,22 @@
|
|
|
|
|
|
.. openocd-cfg-files
|
|
|
|
|
|
-.. list-table:: OpenOCD configuration files for ESP32-C3
|
|
|
+.. list-table:: OpenOCD configuration files for ESP32-C6
|
|
|
:widths: 25 75
|
|
|
:header-rows: 1
|
|
|
|
|
|
* - Name
|
|
|
- Description
|
|
|
- * - TO BE UPDATED
|
|
|
- - TO BE UPDATED
|
|
|
+ * - ``board/esp32c6-builtin.cfg``
|
|
|
+ - Board configuration file for ESP32-C6 through built-in USB, includes target and adapter configuration.
|
|
|
+ * - ``board/esp32c6-ftdi.cfg``
|
|
|
+ - Board configuration file for ESP32-C6 for via externally connected FTDI-based probe like ESP-Prog, includes target and adapter configuration.
|
|
|
+ * - ``target/esp32c6.cfg``
|
|
|
+ - ESP32-C6 target configuration file. Can be used together with one of the ``interface/`` configuration files.
|
|
|
+ * - ``interface/esp_usb_jtag.cfg``
|
|
|
+ - JTAG adapter configuration file for ESP32-C6.
|
|
|
+ * - ``interface/ftdi/esp32_devkitj_v1.cfg``
|
|
|
+ - JTAG adapter configuration file for ESP-Prog boards.
|
|
|
|
|
|
---
|
|
|
|
|
|
@@ -93,17 +121,17 @@
|
|
|
|
|
|
* - ESP32-C6 Pin
|
|
|
- JTAG Signal
|
|
|
- * - MTDO
|
|
|
+ * - MTDO / GPIO7
|
|
|
- TDO
|
|
|
- * - MTDI
|
|
|
+ * - MTDI / GPIO5
|
|
|
- TDI
|
|
|
- * - MTCK
|
|
|
+ * - MTCK / GPIO6
|
|
|
- TCK
|
|
|
- * - MTMS
|
|
|
+ * - MTMS / GPIO4
|
|
|
- TMS
|
|
|
|
|
|
-.. |jtag-sel-gpio| replace:: TO BE UPDATED
|
|
|
-.. |jtag-gpio-list| replace:: TO BE UPDATED
|
|
|
+.. |jtag-sel-gpio| replace:: GPIO15
|
|
|
+.. |jtag-gpio-list| replace:: GPIO4-GPIO7
|
|
|
|
|
|
---
|
|
|
|