OpenOCD on PPC?

Guys:

Does anyone know the status of using OpenOCD with PowerPC target architectures? Google suggests that someone is working on it, but I don’t see anything on the OpenOCD site that talks about it.

Thanks!

b.g.

Hi,

all I can say is that I don’t have plans for PowerPC at this time, and noone has talked to be about adding PowerPC support to the OpenOCD.

In general, this should of course be possible, the OpenOCD has been designed with extension to other hardware architectures in mind. In practice you’d have to implement the target interface (from target.h), using the code in arm[79]tdmi.[ch] and arm7_9_common.[ch] as an example.

IIRC PowerPC offers both JTAG and BDM - if you have to use BDM for certain debug features you’d have to implement support for that, too, otherwise you should be able to use the existing JTAG layer.

Regards,

Dominic