Marc,
I managed to get OpenOCD compiled on a 32 bit MIPS platform. Initially I
got some some warnings because of alignment issues but I did post the
patches to solve those. IIRC those patches made it into the repository.

Regarding your project: I'd use an ARM controller from NXP. These can be
programmed over a serial port using lpc21isp
(http://sourceforge.net/projects/lpc21isp/) which supports LPC1300,
LPC1700 and LPC2100 series. This will probably save you a lot of time. I
have succesfully compiled & run this program for/on our MIPS platform.

Nico Coesel

> -----Original Message-----
> From: openocd-development-boun...@lists.berlios.de [mailto:openocd-
> development-boun...@lists.berlios.de] On Behalf Of Marc Reilly
> Sent: vrijdag 23 juli 2010 10:16
> To: Openocd-development@lists.berlios.de
> Subject: [Openocd-development] Programming a PIC32 from an ARM
> 
> Hi,
> 
> For an upcoming product we have a system which has a PIC32 as a
"peripheral"
> processor and an ARM as the main processor (running Linux).
> 
> We'd like to be able program the PIC32 directly from the ARM- we have
enough
> IO lines to connect to the JTAG port. I remember reading that OpenOCD
was
> capable of doing this..
> Looking through the jtag/drivers code I'm guessing I want to implement
a
> bitbang interface like the parport driver, and somehow manipulate by
GPIO
> lines instead of parallel port IO.
> 
> So, my questions:
> - Has anyone done this before/ or something similar?
> - Am I looking in the right place/ on the right track?
> - Could you kindly direct me to any further reading/code?
> - Is OpenOCD cross-compile friendly for an ARM host? (I hope to
develop this
> into an OpenEmbedded recipe if that helps)
> 
> Hints much appreciated!
> 
> Cheers
> Marc
> 
> _______________________________________________
> Openocd-development mailing list
> Openocd-development@lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/openocd-development
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to