summaryrefslogtreecommitdiff
path: root/tcl/target/str710.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'tcl/target/str710.cfg')
-rw-r--r--tcl/target/str710.cfg3
1 files changed, 2 insertions, 1 deletions
diff --git a/tcl/target/str710.cfg b/tcl/target/str710.cfg
index 2d9d2fc4..39745717 100644
--- a/tcl/target/str710.cfg
+++ b/tcl/target/str710.cfg
@@ -26,8 +26,9 @@ reset_config trst_and_srst srst_pulls_trst
jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0x0f -expected-id $_CPUTAPID
-set _TARGETNAME [format "%s.cpu" $_CHIPNAME]
+set _TARGETNAME $_CHIPNAME.cpu
target create $_TARGETNAME arm7tdmi -endian $_ENDIAN -chain-position $_TARGETNAME -variant arm7tdmi
+
$_TARGETNAME configure -event reset-start { jtag_khz 10 }
$_TARGETNAME configure -event reset-init { jtag_khz 6000 }
$_TARGETNAME configure -event gdb-flash-erase-start {