Re: [Openocd-development] PIC32MX flash programming

2009-12-30 Thread David Brownell
On Tuesday 15 December 2009, Dubreuil, Thomas wrote: > on the other hand, the dump_image function seems working but it's very > low : 50 sec for 1024 bytes ! Is it normal? My Jtag speed is 6 MHz. I don't know about that MIPS code, but as a rule there's not been a lot of work on making it fast to *

[Openocd-development] PIC32MX flash programming

2009-12-15 Thread Dubreuil, Thomas
Hi, This issue is due to a bad configuration of flash bank : jtag_nsrst_delay 100 jtag_ntrst_delay 100 #use combined on interfaces or targets that can't set TRST/SRST separately reset_config srst_only #jtag scan chain #format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE) jtag

[Openocd-development] PIC32MX flash programming

2009-12-08 Thread Dubreuil, Thomas
Hi, I'd like to program the pic32 flash through JTAG. I've just discovered that openocd project support Mips core! I use an Amontec Jtag key. The command : flash write_image erase unlock rc0209.hex 0 ihex returns : No flash at address 0x1fc02ff4