projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tcl/interface/vdebug: add newline to file's last line
[fw/openocd]
/
tcl
/
target
/
str912.cfg
diff --git
a/tcl/target/str912.cfg
b/tcl/target/str912.cfg
index 57bf8b66f4b4f80c86a44c5460db489b5a32bef9..7426276bfbd1f6be406aca1acfec503f4661359c 100644
(file)
--- a/
tcl/target/str912.cfg
+++ b/
tcl/target/str912.cfg
@@
-13,9
+13,9
@@
if { [info exists ENDIAN] } {
}
# jtag speed. We need to stick to 16kHz until we've finished reset.
}
# jtag speed. We need to stick to 16kHz until we've finished reset.
-
jtag_rclk
16
+
adapter speed
16
-adapter
_nsrst_
delay 100
+adapter
srst
delay 100
jtag_ntrst_delay 100
#use combined on interfaces or targets that can't set TRST/SRST separately
jtag_ntrst_delay 100
#use combined on interfaces or targets that can't set TRST/SRST separately
@@
-39,18
+39,20
@@
jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CP
if { [info exists BSTAPID] } {
set _BSTAPID $BSTAPID
} else {
if { [info exists BSTAPID] } {
set _BSTAPID $BSTAPID
} else {
+ # possible values: 0x1457f041, 0x2457f041
+ # we ignore version in check below
set _BSTAPID 0x1457f041
}
set _BSTAPID 0x1457f041
}
-jtag newtap $_CHIPNAME bs -irlen 5 -ircapture 0x1 -irmask 0x1 -expected-id $_BSTAPID
+jtag newtap $_CHIPNAME bs -irlen 5 -ircapture 0x1 -irmask 0x1 -expected-id $_BSTAPID
-ignore-version
set _TARGETNAME $_CHIPNAME.cpu
set _TARGETNAME $_CHIPNAME.cpu
-target create $_TARGETNAME arm966e -endian $_ENDIAN -chain-position $_TARGETNAME
-variant arm966e
+target create $_TARGETNAME arm966e -endian $_ENDIAN -chain-position $_TARGETNAME
-$_TARGETNAME configure -event reset-start {
jtag_rclk
16 }
+$_TARGETNAME configure -event reset-start {
adapter speed
16 }
$_TARGETNAME configure -event reset-init {
# We can increase speed now that we know the target is halted.
$_TARGETNAME configure -event reset-init {
# We can increase speed now that we know the target is halted.
- #
jtag_rclk
3000
+ #
adapter speed
3000
# -- Enable 96K RAM
# PFQBC enabled / DTCM & AHB wait-states disabled
# -- Enable 96K RAM
# PFQBC enabled / DTCM & AHB wait-states disabled