2 # Infineon XMC1100/XMC1200/XMC1300 family (ARM Cortex-M0 @ 32 MHz)
5 if { [info exists CHIPNAME] } {
6 set _CHIPNAME $CHIPNAME
12 # Only SWD and SPD supported
14 source [find target/swj-dp.tcl]
16 if { [info exists CPUTAPID] } {
17 set _CPU_SWD_TAPID $CPUTAPID
19 set _CPU_SWD_TAPID 0x0BB11477
22 swj_newdap $_CHIPNAME cpu -irlen 4 -expected-id $_CPU_SWD_TAPID
24 set _TARGETNAME $_CHIPNAME.cpu
25 target create $_TARGETNAME cortex_m -endian little -chain-position $_TARGETNAME