2 # Freescale Vybrid VF610
5 if { [info exists CHIPNAME] } {
6 set _CHIPNAME $CHIPNAME
11 if { [info exists A5_JTAG_TAPID] } {
12 set _A5_JTAG_TAPID $A5_JTAG_TAPID
14 set _A5_JTAG_TAPID 0x4BA00477
17 if { [info exists A5_SWD_TAPID] } {
18 set _A5_SWD_TAPID $A5_SWD_TAPID
20 set _A5_SWD_TAPID 0x3BA02477
24 set _A5_TAPID $_A5_JTAG_TAPID
26 set _A5_TAPID $_A5_SWD_TAPID
29 source [find target/swj-dp.tcl]
31 swj_newdap $_CHIPNAME cpu -irlen 4 -expected-id $_A5_TAPID
32 dap create $_CHIPNAME.dap -chain-position $_CHIPNAME.cpu
34 set _TARGETNAME $_CHIPNAME.cpu
35 target create ${_TARGETNAME}0 cortex_a -dap $_CHIPNAME.dap -dbgbase 0xc0088000
36 target create ${_TARGETNAME}1 cortex_m -dap $_CHIPNAME.dap -ap-num 3 -defer-examine