Re: [Openocd-development] Compiling from svn on ubuntu 8.04 fails...

2009-07-10 Thread Alain Mouette
David Brownell escreveu: > On Friday 12 June 2009, Alain Mouette wrote: >> And on the wiki there are samples, but not for >> Luminary-Cortex-M3 > You mean "Texas Instruments" yes? :) yes.. but I am not sure it it is :) or :( > In svn: > tcl/interface/luminary* > tcl/target/lm3s*cfg > They

[Openocd-development] README patch for MinGW cross build under Linux

2009-07-10 Thread Xiaofan Chen
Here is a patch to the README file to document my experiment with MinGW cross build. Please feel free to change it if you think it needs some modifications. Tips For Building From The Subversion Repository Building OpenOCD from a repository requir

Re: [Openocd-development] Version 3 test patch for jlink.c

2009-07-10 Thread Xiaofan Chen
On Sat, Jul 11, 2009 at 7:07 AM, Xiaofan Chen wrote: > On Sat, Jul 11, 2009 at 2:31 AM, Spencer Oliver wrote: >>> >>> A minor fix needs to be done as I mentioned before. >>> usb_init(); needs to be moved up to the helper function >>> find_jlink_device(void) (before the line usb_find_busses();) >>>

[Openocd-development] libftdi versus ftd2xx performance and possible theorectical explanation

2009-07-10 Thread Xiaofan Chen
Dominic has the following test results to show that libftdi is as good as ftd2xx in Linux. https://lists.berlios.de/pipermail/openocd-development/2009-June/008846.html Freddie Choppin has the following results to show that libftdi is quite a bit slower than ftd2xx under Windows. https://lists.berl

Re: [Openocd-development] packaging OpenOCD for 0.2.0

2009-07-10 Thread Xiaofan Chen
2009/6/29 Øyvind Harboe : > On Sun, Jun 28, 2009 at 11:13 PM, Michael Fischer > wrote: >>>Michael Fischer has maintained a really neat website with lots of >>>Windows binaries. Why should we dilute his efforts? >> >> You can distribute Windows binaries on berlios. I will link >> to it if available

Re: [Openocd-development] udev rules in the contrib directory

2009-07-10 Thread Xiaofan Chen
On Sat, Jul 11, 2009 at 8:33 AM, Xiaofan Chen wrote: > I was using similar udev rules for some USB device (mostly PIC > related) as the udev contrib directory. > > udev seems to be a changing target in Linux. Many support > questions raided in libusb mailing list and pickit-devel mailing > list are

[Openocd-development] Working Hardware breakpoints LM3S6918, now.

2009-07-10 Thread Joseph Kuss
To All, It turns out my big breakpoint problem was due to my using a makedefs file that configured the gnu compiler to optimize for size. Apparently the debugger needs to have no optimizations on to work properly. Well I think I will rember this solution for a while !!. # Debug and optimization f

[Openocd-development] udev rules in the contrib directory

2009-07-10 Thread Xiaofan Chen
I was using similar udev rules for some USB device (mostly PIC related) as the udev contrib directory. udev seems to be a changing target in Linux. Many support questions raided in libusb mailing list and pickit-devel mailing list are related in usb device permissions. For the PICkit 2 programmer,

[Openocd-development] SRST/TRST Question

2009-07-10 Thread Gary Carlson
I been doing a little more investigation as to why reset run, reset init, and reset halt don¹t work with a jlink dongle and the Atmel AT91SAM9G20-EK evaluation board. In the case of a simple reset command issued from the telnet session this causes the following: jtag_nsrst_delay: 200 jtag_ntrst_d

Re: [Openocd-development] [PATCH] USBprog interface regression

2009-07-10 Thread Xiaofan Chen
On Fri, Jul 10, 2009 at 9:50 PM, Øyvind Harboe wrote: > I don't know if J-Link will work for 0.2. If nothing drastic happens > in the 24 hours, it won't make it. Please clarify this. What do you mean by J-link won't make it for 0.2? It has already made a lot of progress and it one of the main feat

Re: [Openocd-development] Version 3 test patch for jlink.c

2009-07-10 Thread Xiaofan Chen
On Sat, Jul 11, 2009 at 2:31 AM, Spencer Oliver wrote: >> >> A minor fix needs to be done as I mentioned before. >> usb_init(); needs to be moved up to the helper function >> find_jlink_device(void) (before the line usb_find_busses();) >> http://libusb.sourceforge.net/doc/examples-code.html >> >> C

Re: [Openocd-development] Version 3 test patch for jlink.c

2009-07-10 Thread Spencer Oliver
> > If they give a thumbs up, would you agree that committing the > patch makes the most sense at this point given what we know > today about libusb? > Looks good to me - only had time to test win32 however. Cheers Spen ___ Openocd-development mail

Re: [Openocd-development] Version 3 test patch for jlink.c

2009-07-10 Thread Spencer Oliver
> > A minor fix needs to be done as I mentioned before. > usb_init(); needs to be moved up to the helper function > find_jlink_device(void) (before the line usb_find_busses();) > http://libusb.sourceforge.net/doc/examples-code.html > > Could you rework the patch? Thanks. > Why does it? usb_in

[Openocd-development] Should missing "}" trigger error?

2009-07-10 Thread Gene Smith
In file target/str710.cfg got accidentally modified with a missing close bracket on second line below: : $_TARGETNAME configure -event reset-start { jtag_khz 1000 } $_TARGETNAME configure -event reset-init { jtag_khz 1000 $_TARGETNAME configure -event gdb-flash-erase-start { flash protect 0

Re: [Openocd-development] [PATCH] USBprog interface regression

2009-07-10 Thread David Brownell
On Friday 10 July 2009, Peter Denison wrote: > > The patch will not be applied before 0.2 as there is a workaround. > > What workaround? Expecting anyone that uses it to work out that they > need an extra line in their config file? At least we should make this > adapter default to the correct ta

Re: [Openocd-development] [PATCH] USBprog interface regression

2009-07-10 Thread Peter Denison
On Fri, 10 Jul 2009, Øyvind Harboe wrote: It's trivial in the sense that there's absolutely no way the adapter can work with the short transition table, Could you elaborate on this for those that read up on this thread later on? The USBprog adapter expects 7-bit sequences to be sent as part

Re: [Openocd-development] [PATCH] USBprog interface regression

2009-07-10 Thread Øyvind Harboe
> It's trivial in the sense that there's absolutely no way the adapter can > work with the short transition table, Could you elaborate on this for those that read up on this thread later on? > and some degree of getting it working with the original long one. I've added an item in TODO for this p

Re: [Openocd-development] [PATCH] USBprog interface regression

2009-07-10 Thread Peter Denison
On Fri, 10 Jul 2009, Øyvind Harboe wrote: This is not a trivial regression and I believe the XScale target code needs to be fixed. It's trivial in the sense that there's absolutely no way the adapter can work with the short transition table, and some degree of getting it working with the ori

Re: [Openocd-development] Version 3 test patch for jlink.c

2009-07-10 Thread Gary Carlson
On 7/9/09 8:49 AM, "Alan Carvalho de Assis" wrote: > Hi, > > On 7/9/09, Xiaofan Chen wrote: >> >> It would be nice to have a unified patch. But it seems a bit difficult here. >> Maybe we can accept this as a temporary fix while investigating a better >> fix. >> > > Jlink still failing to

Re: [Openocd-development] [patch] lm3s3748 cleanup

2009-07-10 Thread Øyvind Harboe
Committed. Thanks! -- Øyvind Harboe Embedded software and hardware consulting services http://www.zylin.com ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development

Re: [Openocd-development] [PATCH] USBprog interface regression

2009-07-10 Thread Øyvind Harboe
This is not a trivial regression and I believe the XScale target code needs to be fixed. What XScale target are you testing against? -- Øyvind Harboe Embedded software and hardware consulting services http://www.zylin.com ___ Openocd-development mai

Re: [Openocd-development] [PATCH 0/5] Documentation Updates for 0.2.0

2009-07-10 Thread Øyvind Harboe
My definition of a developer is a person who, with minimal guidance, can: - read and understand a short "hackers guide readme" - check out svn head - bootstrap it - build it - install it - read and post to the developer mailing list, including a minimum of skills in terms of what's expected and wh