X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=tcl%2Ftarget%2Fklx.cfg;h=5d9286a699e20e95ca9e270fa103ff380d67203f;hb=2f1540710756434942be49ccf2b0f5530297adc2;hp=b41dbf78e5d1d71bdf142f25a6efc08f494ff8bc;hpb=a0b76360b874607f2aa075e764891f129b5ff0f9;p=openocd.git diff --git a/tcl/target/klx.cfg b/tcl/target/klx.cfg index b41dbf78e5..5d9286a699 100644 --- a/tcl/target/klx.cfg +++ b/tcl/target/klx.cfg @@ -26,9 +26,10 @@ if { [info exists CPUTAPID] } { } swj_newdap $_CHIPNAME cpu -irlen 4 -expected-id $_CPUTAPID +dap create $_CHIPNAME.dap -chain-position $_CHIPNAME.cpu set _TARGETNAME $_CHIPNAME.cpu -target create $_TARGETNAME cortex_m -chain-position $_CHIPNAME.cpu +target create $_TARGETNAME cortex_m -dap $_CHIPNAME.dap $_TARGETNAME configure -work-area-phys 0x20000000 -work-area-size $_WORKAREASIZE -work-area-backup 0