Am Dienstag 21 Juni 2011, 23:44:58 schrieb Victor Suarez: > William, it's good to hear about your progress. > > I think yo shouldn't talk GDB protocol, for that there is OpenOCD wich is a > GDB server that translates command to JTAG protocol of various processors, > including LM32. > So I think you job is to implement a JTAG that listens in the physical port > of the Altera's FPGA and routes the commands to LM32. You can experiment > with Altera's "Virtual JTAG", for example here is a project including VHDL > code: https://groups.google.com/forum/?hl=pl#!topic/alt.sources/WKzYsx6lvQ0 > > So I think the chain shoud be as follows: > > GDB->OpenOCD->JTAG procol->Hardware JTAG->Virtual JTAG->LM32
There is some limited support for lm32 in openocd (at least in my fork). But it is slow as hell and openocd hasnt the best code base... Nevertheless, you still need a debug rom. LM32 don't support standalone hardware debugging. -- Michael _______________________________________________ http://lists.milkymist.org/listinfo.cgi/devel-milkymist.org IRC: #milkymist@Freenode Twitter: www.twitter.com/milkymistvj Ideas? http://milkymist.uservoice.com
