X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=tcl%2Ftarget%2Flpc1850.cfg;h=925a0498d660750486c923c062ad62b730b03b56;hb=2231da8ec4e7d7ae9b652f3dd1a7104f5a110f3f;hp=a7814037482e1bc5a4748e1963b1f06e88ed7e42;hpb=72740904568414bb4a9192fe89034bae3b1a9e45;p=openocd diff --git a/tcl/target/lpc1850.cfg b/tcl/target/lpc1850.cfg index a7814037..925a0498 100644 --- a/tcl/target/lpc1850.cfg +++ b/tcl/target/lpc1850.cfg @@ -23,9 +23,10 @@ if { [info exists M3_JTAG_TAPID] } { } swj_newdap $_CHIPNAME m3 -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_M3_JTAG_TAPID +dap create $_CHIPNAME.dap -chain-position $_CHIPNAME.m3 set _TARGETNAME $_CHIPNAME.m3 -target create $_TARGETNAME cortex_m -endian $_ENDIAN -chain-position $_TARGETNAME +target create $_TARGETNAME cortex_m -endian $_ENDIAN -dap $_CHIPNAME.dap if {![using_hla]} { # if srst is not fitted use SYSRESETREQ to