1swj_newdap $_CHIPNAME cpu -expected-id $_CPUTAPID 2dap create $_CHIPNAME.dap -chain-position $_CHIPNAME.cpu 3 4set _TARGETNAME $_CHIPNAME.cpu 5target create $_TARGETNAME cortex_m -dap $_CHIPNAME.dap 6$_TARGETNAME configure -work-area-phys 0x20000000 -work-area-size $_WORKAREASIZE -work-area-backup 0 7 8if {![using_hla]} { 9 cortex_m reset_config sysresetreq 10} 11