[OpenOCD-devel] pic32mx220f032b better flash support

2012-02-20 Thread salvador
); --- num_pages = (32 * 1024); In this chip resolution of the BMX registers (Program/Data RAM) is 1k not 2K. Now programming flash and erasing sectors work ok. Hope someone is interested in adding support for this kind of chips. Thanks for your good good work. Salvador

[OpenOCD-devel] Fwd: BMX register settings in pic32mx.cfg

2012-03-07 Thread salvador
. For example with 4K RAM we end up setting -work-area-size to 2K but there is no kernel program memory at all. I am wrong? Thanks, Salvador. -- Virtualization Cloud Management Using Capacity Planning Cloud computing

[OpenOCD-devel] Bug in mips32_pracc_read_mem32

2012-03-14 Thread salvador
; bytesread += blocksize; Should be: count -= blocksize; addr += blocksize * sizeof(uint32_t); bytesread += blocksize; bytesread is a variable that counts words A little confusing, isn't it? Thanks Salvador

Re: [OpenOCD-devel] Bug in mips32_pracc_read_mem32

2012-03-15 Thread salvador
On 03/14/2012 07:24 PM, salvador wrote: Hello If i try the command mdw addr n with n greater than 1024 the data displayed is wrong from 1025 onward. The bug is located in mips32_pracc.c, in function mips32_pracc_read_mem32 About line 364: count -= blocksize

Re: [OpenOCD-devel] Status of PIC32/mips support?

2012-04-08 Thread salvador
Load the init script: reset init For flashing test.hex: flash write_image test.hex I suppose you have a telnet console to send commands to openocd. In linux i use: telnet localhost after launching openocd. Thanks Salvador

Re: [OpenOCD-devel] Status of PIC32/mips support?

2012-04-10 Thread salvador
On 04/09/2012 04:06 PM, Vaclav Peroutka wrote: Load the init script: reset init For flashing test.hex: flash write_image test.hex Salvador, thank you, I forgot reset init. Anyway, programming and debugging is terribly slow. I use Segger JLink with TCK set to 200 kHz. Programming

Re: [OpenOCD-devel] Fwd: Re: Status of PIC32/mips support?

2012-04-12 Thread salvador
the reason of this slow behavior is to walk through the code and put some extra debug logs to see exactly where the problem is. I will try to help you. Thanks Salvador. -- For Developers, A Lot Can Happen In A Second. Boundary

Re: [OpenOCD-devel] Stuck rocc bit

2014-09-28 Thread salvador
On 09/26/2014 10:03 PM, Kent Brinkley wrote: Hi all, I am trying to get Bus Blaster V3 probe working with CI20 (http://www.elinux.org/MIPS_Creator_CI20 ) working with openocd but I'm having not luck. Upon starting openocd, I see the jtag idcode message and see continuous reset messages

Re: [OpenOCD-devel] [PATCH]: d1af45e Add FT232H to supported chips

2012-05-27 Thread Salvador Arroyo
standard jtag lines. No buffers, connected directly to the pic32mx with four 100Ohm resistors. The configuration file is opencocd-usb.cfg, but pid is now 0x6014 and the RS configuration is commented out, not needed. Thanks Salvador

Re: [OpenOCD-devel] Does MIPS FASTDATA in 0.6.1 work?

2013-03-19 Thread Salvador Arroyo
at a scan rate of 15000Khz. Thanks, Salvador -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar

Re: [OpenOCD-devel] Does MIPS FASTDATA in 0.6.1 work?

2013-03-19 Thread Salvador Arroyo
. Are there known issues with the fastdata method as coded for 0.6.1? Or am I just doing something wrong? Thanks, Mindy You can also take a look at http://openocd.zylin.com/#/c/977/ Thanks Salvador -- Everyone hates

Re: [OpenOCD-devel] Does MIPS FASTDATA in 0.6.1 work?

2013-03-21 Thread Salvador Arroyo
that it depends on another patch, clicking on this patch you can follow the dependencies and take a look at every patch. With git fetch http://openocd.zylin.com/openocd refs/changes/96/1196/5 git checkout FETCH_HEAD you apply all the patches, it is the last of the series. Thanks Salvador

Re: [OpenOCD-devel] Does MIPS FASTDATA in 0.6.1 work?

2013-03-21 Thread Salvador Arroyo
On 03/21/2013 04:52 PM, Laurent Gauch wrote: Le 21.03.2013 16:41, Salvador Arroyo a écrit : But the num_cycles will be depending on the frequency of the JTAG interface. Of course. Are there any bit to check when scanning the target jtag register, to know if the data is valid

Re: [OpenOCD-devel] Does MIPS FASTDATA in 0.6.1 work?

2013-03-21 Thread Salvador Arroyo
On 03/21/2013 05:19 PM, Laurent Gauch wrote: Le 21.03.2013 17:03, Salvador Arroyo a écrit : On 03/21/2013 04:52 PM, Laurent Gauch wrote: Le 21.03.2013 16:41, Salvador Arroyo a écrit : But the num_cycles will be depending on the frequency of the JTAG interface. Of course. Are there any bit

Re: [OpenOCD-devel] Does MIPS FASTDATA in 0.6.1 work?

2013-03-22 Thread Salvador Arroyo
is set to 2. If that's the case, change ft2232_latency to 1. At least the transfer speed should be near 4k. Please try to use the new ftdi driver. Thanks Salvador -- Everyone hates slow websites. So do we. Make your web apps

Re: [OpenOCD-devel] Does MIPS FASTDATA in 0.6.1 work?

2013-03-22 Thread Salvador Arroyo
, at a scan rate of 1000Khz around 80Kbyte/s. Or in other words, to get the transfer speed you see (4K) i need to set adapter_khz to around 50Khz. Really strange. Thanks Salvador. -- Everyone hates slow websites. So do we. Make

Re: [OpenOCD-devel] PIC32 flash programming

2013-05-09 Thread Salvador Arroyo
this should work: (gdb) monitor flash write_image leds.hex I never tried with load from gdb. See more command/options with: (gdb) monitor help flash Thanks Salvador. -- Learn Graph Databases - Download FREE O'Reilly Book