Skip to content

Commit

Permalink
tcl/board: esp usb bridge board config added for the chips
Browse files Browse the repository at this point in the history
  • Loading branch information
erhankur committed Dec 8, 2021
1 parent 59db75c commit 0d16bff
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tcl/board/esp32-bridge.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Example OpenOCD configuration file for ESP32 connected via ESP USB Bridge board
#
# For example, OpenOCD can be started for ESP32 debugging on
#
# openocd -f board/esp32-bridge.cfg
#

# Source the JTAG interface configuration file
source [find interface/esp_usb_bridge.cfg]
# Source the ESP32-S3 configuration file
source [find target/esp32.cfg]

11 changes: 11 additions & 0 deletions tcl/board/esp32c3-bridge.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Example OpenOCD configuration file for ESP32-C3 connected via ESP USB Bridge board
#
# For example, OpenOCD can be started for ESP32-C3 debugging on
#
# openocd -f board/esp32c3-bridge.cfg
#

# Source the JTAG interface configuration file
source [find interface/esp_usb_bridge.cfg]
# Source the ESP32-C3 configuration file
source [find target/esp32c3.cfg]
11 changes: 11 additions & 0 deletions tcl/board/esp32s2-bridge.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Example OpenOCD configuration file for ESP32-S2 connected via ESP USB Bridge board
#
# For example, OpenOCD can be started for ESP32-S2 debugging on
#
# openocd -f board/esp32s2-bridge.cfg
#

# Source the JTAG interface configuration file
source [find interface/esp_usb_bridge.cfg]
# Source the ESP32-S2 configuration file
source [find target/esp32s2.cfg]
12 changes: 12 additions & 0 deletions tcl/board/esp32s3-bridge.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Example OpenOCD configuration file for ESP32-S3 connected via ESP USB Bridge board
#
# For example, OpenOCD can be started for ESP32-S3 debugging on
#
# openocd -f board/esp32s3-bridge.cfg
#

# Source the JTAG interface configuration file
source [find interface/esp_usb_bridge.cfg]
# Source the ESP32-S3 configuration file
source [find target/esp32s3.cfg]

7 changes: 7 additions & 0 deletions tcl/interface/esp_usb_bridge.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

interface esp_usb_jtag

esp_usb_jtag_vid_pid 0x303a 0x1002

#max speed
adapter_khz 40000

0 comments on commit 0d16bff

Please sign in to comment.