OpenOCD and other architectures than ARM

Is it possible to use the OpenOCD to debug other targets than ARM?

I have a 8051 with a FS2 OCI Debug interface (jtag). The FS2 debugger is quite expensive and is not an option to buy. I was wondering what changes the OpenOCD needs to support such an interface. And if I then could use my Olimex arm-usb-ocd debugger on it.

-jon

Currently the OpenOCD only supports ARM targets (ARM7/9, XScale and Cortex-M3). I’ve talked to someone who wanted to adapt the OpenOCD to some DSP, but I don’t know what state this project is in. It’s certainly possible to use the generic facilities (JTAG layer, target handling, telnet and GDB server) as a base for other architectures, too, but currently I don’t have any plans for this.

The amount of work necessary completely depends on the 8051’s debug architecture - I’ve never used one, and don’t have any datasheets handy. Do you know whether the debug facilities are described in publicly available documents?

Regards,

Dominic