5 source [find target/swj-dp.tcl]
7 if { [info exists CHIPNAME] } {
8 set _CHIPNAME $CHIPNAME
13 if { [info exists CPUTAPID] } {
14 set _CPU_TAPID $CPUTAPID
16 set _CPU_TAPID 0x4BA00477
20 set _CPU_DAP_ID $_CPU_TAPID
22 set _CPU_DAP_ID 0x2ba01477
25 swj_newdap $_CHIPNAME cpu -irlen 4 -expected-id $_CPU_DAP_ID
27 set _TARGETNAME $_CHIPNAME.cpu
28 target create $_TARGETNAME cortex_m -chain-position $_TARGETNAME
31 cortex_m reset_config sysresetreq