diff options
author | Freddie Chopin <freddie_chopin@op.pl> | 2010-05-21 17:57:10 +0200 |
---|---|---|
committer | Spencer Oliver <ntfreak@users.sourceforge.net> | 2010-05-24 09:21:18 +0100 |
commit | 9c3b4cfc5d47052df955d72e88fcb4d6a1e79a60 (patch) | |
tree | bb14a26cda8c0262d7de2fb081e96a8437ba4b68 /tcl | |
parent | 0e4f4bacdc3a5237fbc358d968ee7a8d72868d74 (diff) | |
download | openocd+libswd-9c3b4cfc5d47052df955d72e88fcb4d6a1e79a60.tar.gz openocd+libswd-9c3b4cfc5d47052df955d72e88fcb4d6a1e79a60.tar.bz2 openocd+libswd-9c3b4cfc5d47052df955d72e88fcb4d6a1e79a60.tar.xz openocd+libswd-9c3b4cfc5d47052df955d72e88fcb4d6a1e79a60.zip |
add correct CPUTAPID value for LPC2129
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
Diffstat (limited to 'tcl')
-rw-r--r-- | tcl/target/lpc2129.cfg | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/tcl/target/lpc2129.cfg b/tcl/target/lpc2129.cfg index 1ecf7d0d..374a3957 100644 --- a/tcl/target/lpc2129.cfg +++ b/tcl/target/lpc2129.cfg @@ -1,5 +1,4 @@ -#LPC-2129 CPU - +# NXP LPC2129 if { [info exists CHIPNAME] } { set _CHIPNAME $CHIPNAME @@ -16,11 +15,9 @@ if { [info exists ENDIAN] } { if { [info exists CPUTAPID ] } { set _CPUTAPID $CPUTAPID } else { - # force an error till we get a good number - set _CPUTAPID 0xffffffff + set _CPUTAPID 0xcf1f0f0f } - #use combined on interfaces or targets that can't set TRST/SRST separately reset_config trst_and_srst srst_pulls_trst @@ -31,7 +28,6 @@ jtag_ntrst_delay 100 #jtag scan chain jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID - set _TARGETNAME $_CHIPNAME.cpu target create $_TARGETNAME arm7tdmi -endian $_ENDIAN -chain-position $_TARGETNAME -variant arm7tdmi-s_r4 |