Re: [Openocd-development] PIC32 openocd status

2009-05-18 Thread Xiaofan Chen
2009/5/19 Michel Catudal : > The mips debugger should work with it but you need some way to flash the > program. > I am busy working on the programmer. When I get something working I will > submit it as well as my debugger and eclipse support. > That would be great. I have the PICKit 2 which work

Re: [Openocd-development] PIC32 openocd status

2009-05-18 Thread Michel Catudal
Xiaofan Chen a écrit : > 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. > > The mips debugger should work with it but you need some way to flash t

Re: [Openocd-development] PIC32 openocd status

2009-05-18 Thread Spencer Oliver
> > 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 Ope

Re: [Openocd-development] PIC32 openocd status

2009-05-18 Thread Xiaofan Chen
On Mon, May 18, 2009 at 3:36 PM, Nico Coesel 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

Re: [Openocd-development] PIC32 openocd status

2009-05-18 Thread Nico Coesel
derwerp: Re: [Openocd-development] PIC32 openocd status > > > > > This is wrong. ICSP is Microchip's proprietory protocol for > > programming and debugging. The ICSP module is independent from the > > EJTAG module in PIC32. You can read Chapter > > 33 of the PIC32MX F

Re: [Openocd-development] PIC32 openocd status

2009-05-17 Thread Strontium
> > This is wrong. ICSP is Microchip's proprietory protocol for > programming and debugging. The ICSP module is independent > from the EJTAG module in PIC32. You can read Chapter > 33 of the PIC32MX Family Manual for more information. I didn't make it up. I read it. PIC32MX Flash Programming Spe

Re: [Openocd-development] PIC32 openocd status

2009-05-17 Thread Xiaofan Chen
On Mon, May 18, 2009 at 10:06 AM, Strontium wrote: >> >> This is wrong. ICSP is Microchip's proprietory protocol for >> programming and debugging. The ICSP module is independent >> from the EJTAG module in PIC32. You can read Chapter >> 33 of the PIC32MX Family Manual for more information. > > I d

Re: [Openocd-development] PIC32 openocd status

2009-05-17 Thread Xiaofan Chen
On Mon, May 18, 2009 at 8:58 AM, David Brownell wrote: > On Sunday 17 May 2009, Strontium wrote: >> >> Pic32 has 2 debug interfaces.  4 Wire JTAG.  And a pin count compressed >> version of Jtag which is serialised over 2 wires (ICSP).  The protocol >> is the same as JTAG, the electrical interface

Re: [Openocd-development] PIC32 openocd status

2009-05-17 Thread David Brownell
On Sunday 17 May 2009, Strontium wrote: > > Pic32 has 2 debug interfaces.  4 Wire JTAG.  And a pin count compressed > version of Jtag which is serialised over 2 wires (ICSP).  The protocol > is the same as JTAG, the electrical interface is the only thing that > differs. 2 wire mode should be ab

Re: [Openocd-development] PIC32 openocd status

2009-05-17 Thread Strontium
> >> It would be great that openocd can work with >> PIC32 using JTAG. I think Real ICE, ICD 2 and >> ICD 3 do not use JTAG for debugging PIC32. >> >> >> > I am aware of that, that is why I think that it would be easier for > debugging when we get PIC32 supported. > > Pic32 has 2 deb

Re: [Openocd-development] PIC32 openocd status

2009-05-17 Thread Xiaofan Chen
2009/5/18 Michel Catudal : >> For programming, you can probably use the US$35 >> PICkit 2 and pk2cmd. But there is no debugging >> support with PICkit 2 for PIC32. pk2cmd's source >> codes are also available. >> http://www.microchip.com/pickit2 >> > I saw that and may purchase it if there is suppor

Re: [Openocd-development] PIC32 openocd status

2009-05-17 Thread Michel Catudal
Xiaofan Chen a écrit : > 2009/5/5 Michel Catudal : > >> A project I am working on is to make a programmer for the PIC32 on SuSE >> Linux. I am looking into implementing the use of the Programming >> Excecutive in OpenOCD. >> I have read the documentation from Microchip and it seems straight >> f