summaryrefslogtreecommitdiff
path: root/chip/lm4/openocd/lm4x.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'chip/lm4/openocd/lm4x.cfg')
-rw-r--r--chip/lm4/openocd/lm4x.cfg5
1 files changed, 2 insertions, 3 deletions
diff --git a/chip/lm4/openocd/lm4x.cfg b/chip/lm4/openocd/lm4x.cfg
index 9c979c7dda..b3f18a0107 100644
--- a/chip/lm4/openocd/lm4x.cfg
+++ b/chip/lm4/openocd/lm4x.cfg
@@ -1,4 +1,4 @@
-# Script for TI/Luminary Stellaris LM4F232H (LM4F232H5BB)
+# Script for TI/Luminary Stellaris LM4F232H (LM4F232H5BB) and TM4E1G31H6ZRB.
if { [info exists CHIPNAME] } {
set _CHIPNAME $CHIPNAME
@@ -15,11 +15,10 @@ if { [info exists CPUTAPID ] } {
#jtag scan chain
jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 1 -irmask 0xf -expected-id $_CPUTAPID
-# the luminary variant causes a software reset rather than asserting SRST
+# the lm3s luminary variant causes a software reset rather than asserting SRST
# this stops the debug registers from being cleared
# this will be fixed in later revisions of silicon
set _TARGETNAME $_CHIPNAME.cpu
-# TODO(rspangler): variant lm4x?
target create $_TARGETNAME cortex_m3 -chain-position $_CHIPNAME.cpu -variant lm3s
# 8k working area at base of ram, not backed up