Re: [Openocd-development] AVR32 support

2010-08-15 Thread Oleksandr Tymoshenko
On 2010-08-15, at 10:49 AM, Øyvind Harboe wrote: > Looks like a good start to me. > > Any objections to committing at this point so it can serve > as a starting point for collaboration? No objections, quite contrary :) > > Some comments: > > - I believe error propagation is missing in some

[Openocd-development] AVR32 support

2010-08-14 Thread Oleksandr Tymoshenko
Here is initial version of AVR32 support for openocd: http://people.freebsd.org/~gonzo/openocd/avr32.diff So far it supports: - halt/resume - registers inspection - memory inspection/modification I'm still getting up to speed with OpenOCD internals and AVR32 so code is a little bit messy and I'd

Re: [Openocd-development] [PATCH] Add ft2232_index command

2010-08-10 Thread Oleksandr Tymoshenko
On 2010-08-10, at 6:17 AM, David Brownell wrote: > >>> I'd think serial numbers would suffice, and >>> be much more usable/stable. >>> >> I think a USB device is not required to have >> a serial number, > > But FTDI devices *DO* ... all I've seen. In fact > the current FT232 usb-to-seria

[Openocd-development] [PATCH] Add ft2232_index command

2010-08-09 Thread Oleksandr Tymoshenko
Attached patch introduces ft2232_index command that allows to set specific FT2232 device if there are several of them in the system. Comes handy when you have two JTAG adapters or JTAG adapter and USB/serial post converter ft2232_index.patch Description: Binary data _

[Openocd-development] [patch] Unbreak build for Mac OS X

2009-06-24 Thread Oleksandr Tymoshenko
Attached patch unbreaks build on MacOS X (I guess on *BSD too): - stdlib.h should be included instead of malloc.h for better portability - Eliminate "r could be used uninitialized" gcc warning -- gonzo Index: src/helper/membuf.c

[Openocd-development] [patch] MIPS/EJTAG watchpoints support

2009-06-24 Thread Oleksandr Tymoshenko
Attached patch adds simple watchpoint support for MIPS32/EJTAG (no value comparation yet). -- gonzo Index: src/target/mips_ejtag.h === --- src/target/mips_ejtag.h (revision 2400) +++ src/target/mips_ejtag.h (working copy) @@ -96,6 +

[Openocd-development] [patch] resume command is broken

2009-06-20 Thread Oleksandr Tymoshenko
Resume command works only if resume address is provided. Attached patch fixes this problem -- gonzo Index: src/target/target.c === --- src/target/target.c (revision 2347) +++ src/target/target.c (working copy) @@ -1996,6 +1996,7 @@

[Openocd-development] [PATCH] "resume" command fix for EJTAG

2009-05-04 Thread Oleksandr Tymoshenko
Hi I'm trying to use openocd for debugging MIPS target but it seems that EJTAG support still lacks some features and has some bugs. I fixed several but it's still work in progress. Attached is the first (and very small) patch that fixes restoring CPU context for "resume" command. -- gonzo dif