On Mon, May 18, 2009 at 3:36 PM, Nico Coesel <ncoe...@dealogic.nl> wrote:
> Gentlemen, > AFAIK EJTAG is already implemented in OpenOCD (I'm using it for another > MIPS based SOC to program external flash). I just don't know how > complete it is in respect to debugging/single stepping. The flash > programming routines for PIC32 are also available in OpenOCD. So I guess > everything is available in OpenOCD to program a PIC32. As far as I know, the chip erase is not implemented/working for flashing the PIC32 according to the mailing list archive. So it might be barely working. I do not know the status of debugging. >From: John McCarthy <jg...@magma.ca> >Date: Mon, Jan 5, 2009 at 12:39 PM >Subject: [Openocd-development] pic32mx flash fixups and speedups >To: OpenOCD Development <Openocd-development@lists.berlios.de> > >I found my problems with writing boot flash and optimized single 32bit >word read/writes to speed things up a bit. I also added support for >writing flash using the pgm_row command to greatly speed up programming. > >So now all flash can be erased and/or programmed. Still no chip_erase >command and data transfers to/from the target are still slow but it is >usable. > I will need to make a connector to test J-link with my Explorer 16 in the future. Right now I am not really using PIC32 but more on USB PIC24. And I will need to learn to use OpenOCD with LPC-2148 first. > Slighty off-topic: I think the MIPS GCC compiler from Codesourcery can > be used for PIC32 straight away. It is based on GCC 4.x (not the old 3.x > GCC), has newlib support and isn't crippled! The C library from mspgcc > (GCC for TI's MSP430 series) is a usefull replacement for newlib because > it is really really small. I had little problems compiling it for ARM. > The Microchip C32 compiler is not really crippled but the libraries are as far as I know. http://www.microchip.com/forums/tm.aspx?m=292995 Since then, Microchip has moved the C32 sourcecodes and build scripts to Sourceforge. http://sourceforge.net/projects/microchipopen/ -- Xiaofan http://mcuee.blogspot.com _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development