projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
jtag: cmsis-dap: use macro SWJ_PIN_SRST in place of magic value
[fw/openocd]
/
tcl
/
target
/
k1921vk01t.cfg
diff --git
a/tcl/target/k1921vk01t.cfg
b/tcl/target/k1921vk01t.cfg
index 131bdadc036b92d7c3ab9cc7fe5afba89acc8f49..1a8402106428a1d21373b66b6405363db451ecbe 100755
(executable)
--- a/
tcl/target/k1921vk01t.cfg
+++ b/
tcl/target/k1921vk01t.cfg
@@
-24,16
+24,17
@@
if { [info exists CPUTAPID] } {
set _CPUTAPID $CPUTAPID
} else {
if { [using_jtag] } {
set _CPUTAPID $CPUTAPID
} else {
if { [using_jtag] } {
- set _CPUTAPID 0x4
10fc241
+ set _CPUTAPID 0x4
ba00477
} {
# SWD IDCODE
set _CPUTAPID 0x2ba01477
}
}
swj_newdap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
} {
# SWD IDCODE
set _CPUTAPID 0x2ba01477
}
}
swj_newdap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
+dap create $_CHIPNAME.dap -chain-position $_CHIPNAME.cpu
set _TARGETNAME $_CHIPNAME.cpu
set _TARGETNAME $_CHIPNAME.cpu
-target create $_TARGETNAME cortex_m -endian $_ENDIAN -
chain-position $_TARGETNAME
+target create $_TARGETNAME cortex_m -endian $_ENDIAN -
dap $_CHIPNAME.dap
$_TARGETNAME configure -work-area-phys 0x20000000 -work-area-size $_WORKAREASIZE -work-area-backup 0
$_TARGETNAME configure -work-area-phys 0x20000000 -work-area-size $_WORKAREASIZE -work-area-backup 0