You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2020/03/30 04:55:54 UTC
[incubator-nuttx] branch master updated: esp32: Another OpenOCD
example config
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 34de90e esp32: Another OpenOCD example config
34de90e is described below
commit 34de90e632451e3481c8634b9b0a82291524977d
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Mon Mar 30 13:23:52 2020 +0900
esp32: Another OpenOCD example config
---
boards/xtensa/esp32/esp32-core/README.txt | 22 ++++++++++++++++++++++
.../esp32/esp32-core/scripts/esp32-ft232h.cfg | 6 ++++++
2 files changed, 28 insertions(+)
diff --git a/boards/xtensa/esp32/esp32-core/README.txt b/boards/xtensa/esp32/esp32-core/README.txt
index 04fecfa..ba24aab 100644
--- a/boards/xtensa/esp32/esp32-core/README.txt
+++ b/boards/xtensa/esp32/esp32-core/README.txt
@@ -289,6 +289,28 @@ OpenOCD for the ESP32
need to specify the interface configuration file on the OpenOCD
command line.
+ NOTE: Another OpenOCD configuration file is available in the NuttX
+ source tree at
+ nuttx/boards/xtensa/esp32/esp32-core/scripts/esp32-ft232h.cfg .
+ It has been tested with:
+
+ - ESP32-DevKitC V4
+
+ https://docs.espressif.com/projects/esp-idf/en/latest/esp32/hw-reference/esp32/get-started-devkitc.html
+
+ - Akizukidenshi's FT232H based JTAG adapter
+
+ http://akizukidenshi.com/catalog/g/gK-06503/
+
+ - The following version of OpenOCD from ESP-IDF (macOS version)
+
+ % openocd --version
+ Open On-Chip Debugger v0.10.0-esp32-20191114 (2019-11-14-14:19)
+ Licensed under GNU GPL v2
+ For bug reports, read
+ http://openocd.org/doc/doxygen/bugs.html
+ %
+
General OpenOCD build instructions
----------------------------------
Installing OpenOCD. The sources for the ESP32-enabled variant of
diff --git a/boards/xtensa/esp32/esp32-core/scripts/esp32-ft232h.cfg b/boards/xtensa/esp32/esp32-core/scripts/esp32-ft232h.cfg
new file mode 100644
index 0000000..52402c6
--- /dev/null
+++ b/boards/xtensa/esp32/esp32-core/scripts/esp32-ft232h.cfg
@@ -0,0 +1,6 @@
+source [find interface/ftdi/um232h.cfg]
+transport select jtag
+adapter_khz 2000
+set ESP32_FLASH_VOLTAGE 3.3
+set ESP32_RTOS none
+source [find target/esp32.cfg]