diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-09-04 05:17:03 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-09-04 05:17:03 +0000 |
commit | ce89c7bf6588c7b2800c4ca453278b6f94795130 (patch) | |
tree | d839ec4ca9eaa16fa3e306b4efb70789cb938d24 /tcl/target/str730.cfg | |
parent | 76b78feef1f0181bbcc388f21d185d0b4fa83cfb (diff) | |
download | riscv-openocd-ce89c7bf6588c7b2800c4ca453278b6f94795130.zip riscv-openocd-ce89c7bf6588c7b2800c4ca453278b6f94795130.tar.gz riscv-openocd-ce89c7bf6588c7b2800c4ca453278b6f94795130.tar.bz2 |
David Brownell <david-b@pacbell.net> "set _TARGETNAME ..." cleanup
git-svn-id: svn://svn.berlios.de/openocd/trunk@2665 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'tcl/target/str730.cfg')
-rw-r--r-- | tcl/target/str730.cfg | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tcl/target/str730.cfg b/tcl/target/str730.cfg index 5d01ec7..53d7e1a 100644 --- a/tcl/target/str730.cfg +++ b/tcl/target/str730.cfg @@ -31,8 +31,9 @@ jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0x0f -expected-id $_C jtag_nsrst_delay 500 jtag_ntrst_delay 500 -set _TARGETNAME [format "%s.cpu" $_CHIPNAME] +set _TARGETNAME $_CHIPNAME.cpu target create $_TARGETNAME arm7tdmi -endian little -chain-position 0 -variant arm7tdmi + $_TARGETNAME configure -event reset-start { jtag_khz 10 } $_TARGETNAME configure -event reset-init { jtag_khz 3000 } $_TARGETNAME configure -event gdb-flash-erase-start { |