diff --git a/tcl/target/psoc4.cfg b/tcl/target/psoc4.cfg index baa2c83f4..f9673638e 100644 --- a/tcl/target/psoc4.cfg +++ b/tcl/target/psoc4.cfg @@ -5,7 +5,7 @@ # # PSoC 4 devices support SWD transports only. # -source [find target/swj-dp.tcl] +transport select swd if { [info exists CHIPNAME] } { set _CHIPNAME $CHIPNAME @@ -27,7 +27,7 @@ if { [info exists CPUTAPID] } { set _CPUTAPID 0x0bb11477 } -swj_newdap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID +swd newdap $_CHIPNAME cpu -expected-id $_CPUTAPID dap create $_CHIPNAME.dap -chain-position $_CHIPNAME.cpu set _TARGETNAME $_CHIPNAME.cpu