aboutsummaryrefslogtreecommitdiff
path: root/tcl/target/psoc5lp.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'tcl/target/psoc5lp.cfg')
-rw-r--r--tcl/target/psoc5lp.cfg3
1 files changed, 2 insertions, 1 deletions
diff --git a/tcl/target/psoc5lp.cfg b/tcl/target/psoc5lp.cfg
index 1cdde471..230ca073 100644
--- a/tcl/target/psoc5lp.cfg
+++ b/tcl/target/psoc5lp.cfg
@@ -23,9 +23,10 @@ if { [using_jtag] } {
}
swj_newdap $_CHIPNAME cpu -irlen 4 -expected-id $_CPU_DAP_ID
+dap create $_CHIPNAME.dap -chain-position $_CHIPNAME.cpu
set _TARGETNAME $_CHIPNAME.cpu
-target create $_TARGETNAME cortex_m -chain-position $_TARGETNAME
+target create $_TARGETNAME cortex_m -dap $_CHIPNAME.dap
if {![using_hla]} {
cortex_m reset_config sysresetreq