diff --git a/tcl/target/lpc8nxx.cfg b/tcl/target/lpc8nxx.cfg index 859e99b6a..6f1f88df4 100644 --- a/tcl/target/lpc8nxx.cfg +++ b/tcl/target/lpc8nxx.cfg @@ -5,8 +5,8 @@ # Based on NXP proposal https://community.nxp.com/message/1011149 # Many thanks to Dries Moors from NXP support. # SWD only transport +transport select swd -source [find target/swj-dp.tcl] source [find mem_helper.tcl] if { [info exists CHIPNAME] } { @@ -15,7 +15,7 @@ if { [info exists CHIPNAME] } { set _CHIPNAME lpc8nxx } -swj_newdap $_CHIPNAME cpu -irlen 4 -expected-id 0 +swd newdap $_CHIPNAME cpu -expected-id 0 dap create $_CHIPNAME.dap -chain-position $_CHIPNAME.cpu set _TARGETNAME $_CHIPNAME.cpu