|
From: openocd-gerrit <ope...@us...> - 2026-09-12 08:11:19
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Main OpenOCD repository".
The branch, master has been updated
via 18674aaeb40e644f329285c0927f4abba86a56c5 (commit)
from f3cedea436592b3bff240a412fba58850129334d (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 18674aaeb40e644f329285c0927f4abba86a56c5
Author: Sameer Srivastava <s-s...@ti...>
Date: Sun Mar 8 12:10:37 2026 +0530
tcl: add TI AM13E230X target and LaunchPad configuration
Add Cortex-M33 target configuration defining SRAM work area and flash
regions, plus LaunchPad configuration selecting XDS110 interface at
10000 KHz speed.
Change-Id: I6cb9f52867a1a64895d9ff81f0c38b228578fc1a
Signed-off-by: Sameer Srivastava <s-s...@ti...>
Reviewed-on: https://review.openocd.org/c/openocd/+/9525
Reviewed-by: Tomas Vanek <va...@fb...>
Reviewed-by: Nishanth Menon <nm...@ti...>
Tested-by: jenkins
diff --git a/tcl/board/ti/am13e230x-launchpad.cfg b/tcl/board/ti/am13e230x-launchpad.cfg
new file mode 100644
index 000000000..dd30575f5
--- /dev/null
+++ b/tcl/board/ti/am13e230x-launchpad.cfg
@@ -0,0 +1,10 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2026 Texas Instruments Incorporated - https://www.ti.com/
+#
+
+source [find interface/xds110.cfg]
+
+adapter speed 10000
+transport select jtag
+
+source [find target/ti/am13e230x.cfg]
diff --git a/tcl/target/ti/am13e230x.cfg b/tcl/target/ti/am13e230x.cfg
new file mode 100644
index 000000000..19dd55eb8
--- /dev/null
+++ b/tcl/target/ti/am13e230x.cfg
@@ -0,0 +1,57 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2026 Texas Instruments Incorporated - https://www.ti.com/
+#
+# Texas Instruments AM13E230X - ARM Cortex-M33 @ 200MHz
+#
+
+if { [info exists CHIPNAME] } {
+ set _CHIPNAME $CHIPNAME
+} else {
+ set _CHIPNAME AM13E230X
+}
+
+if { [info exists CPUTAPID] } {
+ set _DAP_TAPID $CPUTAPID
+} else {
+ set _DAP_TAPID 0x6ba00477
+}
+
+if { [info exists DAP_SWD_ID] } {
+ set _DAP_SWD_ID $DAP_SWD_ID
+} else {
+ set _DAP_SWD_ID 0x6ba02477
+}
+
+source [find target/swj-dp.tcl]
+
+swj_newdap $_CHIPNAME cpu -irlen 4 \
+ -expected-id $_DAP_TAPID \
+ -expected-id $_DAP_SWD_ID
+
+dap create $_CHIPNAME.dap -tap $_CHIPNAME.cpu
+
+set _TARGETNAME $_CHIPNAME.cpu
+target create $_TARGETNAME cortex_m -dap $_CHIPNAME.dap
+
+if { [info exists WORKAREABASE] } {
+ set _WORKAREABASE $WORKAREABASE
+} else {
+ set _WORKAREABASE 0x20000000
+}
+if { [info exists WORKAREASIZE] } {
+ set _WORKAREASIZE $WORKAREASIZE
+} else {
+ set _WORKAREASIZE 0x8000
+}
+
+$_TARGETNAME configure -work-area-phys $_WORKAREABASE -work-area-size $_WORKAREASIZE -work-area-backup 0
+
+set _FLASHNAME $_CHIPNAME.flash
+flash bank $_FLASHNAME.main am13 0x00000000 0 0 0 $_TARGETNAME
+flash bank $_FLASHNAME.nonmain am13 0x60100000 0 0 0 $_TARGETNAME
+
+if {![using_hla]} {
+ # AM13E230X has no SRST pin; use SYSRESETREQ to perform a soft reset.
+ # (HLA adapters issue SYSRESETREQ unconditionally and ignore this setting.)
+ cortex_m reset_config sysresetreq
+}
-----------------------------------------------------------------------
Summary of changes:
tcl/board/ti/am13e230x-launchpad.cfg | 10 +++++++
tcl/target/ti/am13e230x.cfg | 57 ++++++++++++++++++++++++++++++++++++
2 files changed, 67 insertions(+)
create mode 100644 tcl/board/ti/am13e230x-launchpad.cfg
create mode 100644 tcl/target/ti/am13e230x.cfg
hooks/post-receive
--
Main OpenOCD repository
|