Re: [Openocd-development] -c command line switch not working?

2010-06-15 Thread Jon Povey
Andreas Fritiofson wrote: > On Mon, Jun 14, 2010 at 1:23 PM, Jon Povey > wrote: >> The -c switch is not working for me, for any command I throw at it. >> Am I missing something obvious? > You have to have -c init as the first command on the command line, to > switch from configuration mode to ..

Re: [Openocd-development] -Wshadow fixes

2010-06-15 Thread Andreas Fritiofson
On Tue, Jun 15, 2010 at 11:13 PM, Øyvind Harboe wrote: > As you have noticed I'm pushing a number of -Wshadow > warning fixes. > > Most of these should be trivial, but there is of course a > chance that I screw this up as I have only done compile > tests for most. > > This is a bit roughshod way o

[Openocd-development] -Wshadow fixes

2010-06-15 Thread Øyvind Harboe
As you have noticed I'm pushing a number of -Wshadow warning fixes. Most of these should be trivial, but there is of course a chance that I screw this up as I have only done compile tests for most. This is a bit roughshod way of cleaning up the -Wshadow fixes, but I've also fixed *real* bugs alon

Re: [Openocd-development] Using multiple FLOSS-JTAGs at the same time

2010-06-15 Thread Stacey Sheldon
Xiaofan Chen wrote: > I've just built latest OpenOCD git under Cygwin (with your patch). > It is not tested. If it does not work, I will try to build the MinGW > version. Thanks, that makes it much easier. As soon as I hear the test results, I'll post them here. Stacey.

Re: [Openocd-development] [PATCH] ft2232: Add support for selecting device by bus address

2010-06-15 Thread Xiaofan Chen
On Tue, Jun 15, 2010 at 10:22 PM, Xiaofan Chen wrote: > On Tue, Jun 15, 2010 at 10:07 PM, Stacey Sheldon > wrote: >> Once the contents of dirname and filename are known on other platforms, >> it may be possible to make the config spec more user friendly.  That >> could be enhanced in a future co

Re: [Openocd-development] [PATCH] ft2232: Add support for selecting device by bus address

2010-06-15 Thread Xiaofan Chen
On Tue, Jun 15, 2010 at 10:07 PM, Stacey Sheldon wrote: > Once the contents of dirname and filename are known on other platforms, > it may be possible to make the config spec more user friendly.  That > could be enhanced in a future commit. > The following are the typical output from libusb-win32

Re: [Openocd-development] [PATCH] ft2232: Add support for selecting device by bus address

2010-06-15 Thread Stacey Sheldon
Peter Stuge wrote: > Stacey Sheldon wrote: >> This commit adds the 'ft2232_bus_addr' configuration >> command which allows the user to specify the fully >> qualified bus address of the ft2232 device. > > I think this is a good addition, but.. > > >> The format of the address is the same as for t

Re: [Openocd-development] Using multiple FLOSS-JTAGs at the same time

2010-06-15 Thread Xiaofan Chen
On Mon, Jun 14, 2010 at 7:25 AM, Xiaofan Chen wrote: >> If you could build a new binary of OpenOCD against libusb-0.1 that >> included my patch and make it available to us, I'm sure I could find >> testers on various versions of windows to provide you with a report. >> Would that be possible? > >

Re: [Openocd-development] [PATCH] DM36x: pll & clock setup

2010-06-15 Thread Jon Povey
Thomas Koeller wrote: > On Tuesday 15 June 2010 11:03:38 Jon Povey wrote: >> thomas.koel...@baslerweb.com wrote: >>> Added a function 'pll_v03_setup' to set up PLLs and clock >>> dividers on DM365 and DM368. >> >> Nice.. Do you also have a patch for board/dm365evm.cfg? >> > The patch resulted from

Re: [Openocd-development] [PATCH] DM36x: pll & clock setup

2010-06-15 Thread Thomas Koeller
On Tuesday 15 June 2010 11:03:38 Jon Povey wrote: > thomas.koel...@baslerweb.com wrote: > > Added a function 'pll_v03_setup' to set up PLLs and clock > > dividers on DM365 and DM368. > > Nice.. Do you also have a patch for board/dm365evm.cfg? > The patch resulted from my work on a new board..Unfort

Re: [Openocd-development] [PATCH] DM36x: pll & clock setup

2010-06-15 Thread Jon Povey
thomas.koel...@baslerweb.com wrote: > Added a function 'pll_v03_setup' to set up PLLs and clock > dividers on DM365 and DM368. Nice.. Do you also have a patch for board/dm365evm.cfg? -- Jon Povey jon.po...@racelogic.co.uk Racelogic is a limited company registered in England. Registered number 2

Re: [Openocd-development] [PATCH] DM36x: pll & clock setup

2010-06-15 Thread Øyvind Harboe
Looks good to me. Merged. Thanks! -- Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer ___ Openocd-development mailing list Open

[Openocd-development] [PATCH] DM36x: pll & clock setup

2010-06-15 Thread thomas . koeller
From: Thomas Koeller Added a function 'pll_v03_setup' to set up PLLs and clock dividers on DM365 and DM368. Signed-off-by: Thomas Koeller --- tcl/target/davinci.cfg | 127 1 files changed, 127 insertions(+), 0 deletions(-) diff --git a/tcl/tar

Re: [Openocd-development] libftdi: couldn't read enough bytes from FT2232 device (79 < 81)

2010-06-15 Thread Xiaofan Chen
On Tue, Jun 15, 2010 at 4:12 PM, Martin Zenzes wrote: >> Just want to make it clear. Are you saying that libftdi-1.0 >> solved the following problem you have with FT2232? >> >> > Error: couldn't read enough bytes from FT2232 device (0 < 81) >> > Error: couldn't read from FT2232 >> > Error: couldn'

Re: [Openocd-development] libftdi: couldn't read enough bytes from FT2232 device (79 < 81)

2010-06-15 Thread Martin Zenzes
Yes... Am Dienstag, den 15.06.2010, 13:26 +0800 schrieb Xiaofan Chen: > On Fri, Jun 4, 2010 at 10:06 PM, Martin Zenzes > wrote: > >> You can try libftdi-1.0 which is based on libusb-1.0. > >> > > jap, that helped. Thanks! > > > > Just want to make it clear. Are you saying that libftdi-1.0 > solv

Re: [Openocd-development] [PATCH] jtag: added mising header

2010-06-15 Thread Øyvind Harboe
It was merged June 10. I forgot to post to the list I suppose. -- Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer ___ Openocd-

Re: [Openocd-development] [PATCH] jtag: added mising header

2010-06-15 Thread Thomas Koeller
On Thursday 10 June 2010 16:54:25 thomas.koel...@baslerweb.com wrote: > From: Thomas Koeller > > Distributions created by 'make dist' were incomplete due to a > missing header file. > > Signed-off-by: Thomas Koeller > --- > src/jtag/Makefile.am |1 + > 1 files changed, 1 insertions(+), 0 del