projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
board: Add NXP LS1088ARDB
[fw/openocd]
/
tcl
/
target
/
at91sam9.cfg
diff --git
a/tcl/target/at91sam9.cfg
b/tcl/target/at91sam9.cfg
index ba0197d90b0cc42c2ca5f87dfdef7b04d6014a26..e0ea3161731206adcad7601e62172bef4cddb23e 100644
(file)
--- a/
tcl/target/at91sam9.cfg
+++ b/
tcl/target/at91sam9.cfg
@@
-14,26
+14,24
@@
if { [info exists ENDIAN] } {
set _ENDIAN little
}
set _ENDIAN little
}
-if { [info exists CPUTAPID
] } {
+if { [info exists CPUTAPID] } {
set _CPUTAPID $CPUTAPID
} else {
set _CPUTAPID $CPUTAPID
} else {
- # force an error till we get a good number
set _CPUTAPID 0x0792603f
}
reset_config trst_and_srst separate trst_push_pull srst_open_drain
set _CPUTAPID 0x0792603f
}
reset_config trst_and_srst separate trst_push_pull srst_open_drain
-#
jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
-adapter
_nsrst_
delay 300
+adapter
srst
delay 300
jtag_ntrst_delay 200
jtag_ntrst_delay 200
-
jtag_rclk
3
+
adapter speed
3
######################
# Target configuration
######################
set _TARGETNAME $_CHIPNAME.cpu
######################
# Target configuration
######################
set _TARGETNAME $_CHIPNAME.cpu
-target create $_TARGETNAME arm926ejs -endian $_ENDIAN -chain-position $_TARGETNAME
-variant arm926ejs
+target create $_TARGETNAME arm926ejs -endian $_ENDIAN -chain-position $_TARGETNAME