PowerPC and ARM-USB-OCD

Hi,

I’m thinking of exerimenting with openocd and powerpc.

I have a ARM-USB-OCD, so my initial thought was to:

  • build an adapter from ARM JTAG ↔ PowerPC ( some MPC55xx device)

  • Start to tinker with the JTAG to get some basic things to work.

I haven’t found anything to suggest that the FT2232 (ARM-USB-OCD) should not work with a mpc55xx device (IEEE 1149.1-2001)

Anyone that can tell me if this could work or not? Or any other ideas how to start to experiment with it?

Thanks

/M

It appears that I was able to connect using this script, but didn’t go much further.

I am not sure if openocd commands I have were specific to the ARM targets it was built for.

The bottom command “arm720t” could be changed as well.

Freescale MPC5566 attempt

jtag_nsrst_delay 100

jtag_ntrst_delay 100

#I commented out the next line because there is no reset on the parallel pod

#reset_config trst_and_srst

#Copied following lines from at7sam7sx.cfg, but modified for mpc5566

if { [info exists CHIPNAME] } {

set _CHIPNAME $CHIPNAME

} else {

set _CHIPNAME MPC5566

}

Force to big endian

#if { [info exists ENDIAN] } {

set _ENDIAN $ENDIAN

#} else {

set _ENDIAN big

#}

if { [info exists CPUTAPID ] } {

set _CPUTAPID $CPUTAPID

} else {

set _CPUTAPID 0x0816601d

}

jtag newtap $_CHIPNAME cpu -irlen 5 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID

set _TARGETNAME $_CHIPNAME.cpu

target create $_TARGETNAME arm720t -chain-position $_TARGETNAME