Re: [Openocd-development] [PATCH 10/20] nand: add NAND_DEVICE_COMMAND_HANDLER macro

2009-11-12 Thread Zach Welch
On Wed, 2009-11-11 at 11:39 -0800, Zach Welch wrote: > On Wed, 2009-11-11 at 12:09 -0700, David Brownell wrote: > > On Wednesday 11 November 2009, Zachary T Welch wrote: > > > - nand->controller_priv = info; > > > + device->controller_priv = info; > > > > Given there are so many differ

Re: [Openocd-development] [patch/rfc 2/2] ARM11: ETM support, use "arm" base type

2009-11-12 Thread Zach Welch
On Thu, 2009-11-12 at 22:03 -0700, David Brownell wrote: > Kick in the ETM support, as enabled by the base type. Sanity > tested on OMAP 2420 (with ARM1136ejs, ETB, C55x DSP, and an > OpenGL ES1.1 accelerator). > > This doesn't revert the patch that adds ETM register access, and > I'm a bit cauti

Re: [Openocd-development] arm11 etm commands pushed

2009-11-12 Thread David Brownell
On Wednesday 11 November 2009, Øyvind Harboe wrote: > David has worked a lot on the ETM stuff at a higher level so he's > more up to speed on the "proper" way to integrate it. Once that > integration is done, then the ARM11 specific commands would > be deleted of course. OK, two patches I just pos

[Openocd-development] [patch/rfc 2/2] ARM11: ETM support, use "arm" base type

2009-11-12 Thread David Brownell
Kick in the ETM support, as enabled by the base type. Sanity tested on OMAP 2420 (with ARM1136ejs, ETB, C55x DSP, and an OpenGL ES1.1 accelerator). This doesn't revert the patch that adds ETM register access, and I'm a bit cautious yet about the non-reuse of common ARM utilities; the ARM11 suppor

[Openocd-development] [patch 1/2] ETM: start support for ETMv2+

2009-11-12 Thread David Brownell
ARM11 and newer cores include updated ETM modules. Recognize their version codes and some key config differences. Sanity checked on an OMAP2, with an ETM11RV r0p1 (ETMv3.1). This still handles only scan chain 6, with at most 128 registers. Newer cores (mostly, Cortex) will need to use the DAP in

[Openocd-development] Cygwin compile errors

2009-11-12 Thread Ferdinand Postema
Hi, I was trying to compile on cygwin, but got some errors. The changes I make it work are in the attached patch-file. Cheers, Ferdinand >From e8d29e5d34f19573103d4f94e8488c44c49fab5f Mon Sep 17 00:00:00 2001 From: ferdi Date: Thu, 12 Nov 2009 23:21:33 +0100 Subject: [PATCH] Changed some pri

Re: [Openocd-development] [PATCH for review] configure.in change for correctly finding the ftdi libraries under msys on Windows XP-x64

2009-11-12 Thread David Brownell
On Thursday 12 November 2009, Liam Redmond (Rock Software) wrote: > Hi All, > > This trivial patch allows the config script to find the correct FTDI2xx > libraries under Windows XP x64 using msys, this is the only way I'm building > OpenOCD at the moment so have no other platform to test against s

Re: [Openocd-development] [PATCH] jtag_khz support for parport interfaces

2009-11-12 Thread David Brownell
On Thursday 12 November 2009, Jonas Horberg wrote: > The attached patch is updated against main line because > of the removal of the jtag_speed command. Committed; thanks. I tweaked the documentation a bit, and included some whitespace fixes too. - Dave > The default setting should actually be

[Openocd-development] OpenOCD v0.3.1 released

2009-11-12 Thread David Brownell
And the broken 0.3.0 is removed. Archives are available on both archive sites (SourceForge, Berlios) and the branch is updated and tagged in the git repository. ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berl

Re: [Openocd-development] Easy device to emulate, or add hardware support?

2009-11-12 Thread David Brownell
On Thursday 12 November 2009, Ian wrote: > Hello, > > I'm interested in adding support for the Bus Pirate to OpenOCD > (http://code.google.com/p/the-bus-pirate/). The Bus Pirate is an open > source serial interface tool with an emulated serial port (FTDI chip). > It previously had an integrated XS

[Openocd-development] Easy device to emulate, or add hardware support?

2009-11-12 Thread Ian
Hello, I'm interested in adding support for the Bus Pirate to OpenOCD (http://code.google.com/p/the-bus-pirate/). The Bus Pirate is an open source serial interface tool with an emulated serial port (FTDI chip). It previously had an integrated XSVF JTAG programmer, but it was difficult to use. Usu

Re: [Openocd-development] Methods on targets

2009-11-12 Thread Duane Ellis
Øyvind Harboe wrote: > Here is an idea: > > make mdw/mww family of commands a method on the > target. > > foo.cpu mdw => returns array > Those exist now (mdw, mdb, mdh) and are intended to display to a human, nicely formated as hex data An array version also exists. The foo.cpu mem2array - T

[Openocd-development] [PATCH] jtag_khz support for parport interfaces

2009-11-12 Thread Jonas Horberg
The attached patch is updated against main line because of the removal of the jtag_speed command. jtag_speed removal thread: https://lists.berlios.de/pipermail/openocd-development/2009-November/012115.html First try for merge of this path: http://lists.berlios.de/pipermail/openocd-development/200

Re: [Openocd-development] Serial Wire Debug and git

2009-11-12 Thread Luca Ottaviano
Andrew Rogers ha scritto: > Hi All, > > I am working a few hours a week trying to get SWD working for the STM32 > Primer2 (R-Link interface). I am happy making changes to the source code > to accomplish this. The problem is that my changes span many files > because OpenOCD is pretty well married u

[Openocd-development] [PATCH for review] configure.in change for correctly finding the ftdi libraries under msys on Windows XP-x64

2009-11-12 Thread Liam Redmond (Rock Software)
Hi All, This trivial patch allows the config script to find the correct FTDI2xx libraries under Windows XP x64 using msys, this is the only way I'm building OpenOCD at the moment so have no other platform to test against so it might break something else. This is my first released patch BTW... C