2 # Spansion FM4 (ARM Cortex-M4)
5 if { [info exists CHIPNAME] } {
6 set _CHIPNAME $CHIPNAME
11 source [find target/swj-dp.tcl]
13 if { [info exists CPUTAPID] } {
14 set _CPU_TAPID $CPUTAPID
16 set _CPU_TAPID 0x2ba01477
19 swj_newdap $_CHIPNAME cpu -irlen 4 -expected-id $_CPU_TAPID
21 set _TARGETNAME $_CHIPNAME.cpu
22 target create $_TARGETNAME cortex_m -endian little -chain-position $_TARGETNAME
27 cortex_m reset_config sysresetreq