2 # Infineon TLE987x family (Arm Cortex-M3 @ up to 40 MHz)
5 if { [info exists CHIPNAME] } {
6 set _CHIPNAME $CHIPNAME
11 source [find target/swj-dp.tcl]
13 if { [info exists CPU_SWD_TAPID] } {
14 set _CPU_SWD_TAPID $CPU_SWD_TAPID
16 set _CPU_SWD_TAPID 0x2BA01477
20 # JTAG not supported, only SWD
23 set _CPU_TAPID $_CPU_SWD_TAPID
26 swj_newdap $_CHIPNAME dap -irlen 4 -expected-id $_CPU_TAPID
27 dap create $_CHIPNAME.dap -chain-position $_CHIPNAME.dap
29 set _TARGETNAME $_CHIPNAME.cpu
30 target create $_TARGETNAME cortex_m -dap $_CHIPNAME.dap
33 cortex_m reset_config sysresetreq