Re: [Openocd-development] [PATCH] Add Unlock Bypass programming mode to cfi_spansion_write_words() function for a 45-50% speedup

2008-10-14 Thread John McCarthy
On Sun, 2008-10-12 at 08:17 +0200, Michael Schwingen wrote: > John McCarthy wrote: > > Also, there are some older AMD flashes (e.g 5v) that apparently don't > > support this programming mode which I expect will break with this patch. > > I don't see any easy way to detect these flash types except b

Re: [Openocd-development] target scripts

2008-10-14 Thread Duane Ellis
Spen wrote: > Hi, > > I notice there has been a few changes to the target scripts !! > [new_target_name] configure -event reset-start { jtag_khz 10 } > > should the docs be updated to suit? > I would but do not have a clue what it all means. > > we probably need a sentence or two on converting from

Re: [Openocd-development] Make target_write_xxx() and target->type->write_xxx() return void...

2008-10-14 Thread Duane Ellis
Øyvind Harboe wrote: > I *know* it is a bit late to suggest this now, but does anyone have > any argument against making target_write_xxx() and target->type->write_xxx() > return void? > > jtag_execute_queue() will return an error if the above failed > > That's part of the whole queue API desig

Re: [Openocd-development] JTAG emulator with openocd for beagleboard

2008-10-14 Thread Duane Ellis
Attention Beagle Guys, Can we get confirmation about how the JRC works in OMAP? Is the following assertion true? When a TAP is enabled, it is always enabled at a FIXED position within the chain? To describe it another way - Assume there are 3 taps. (1) ICE Pick - the JRC (2) An ARM

[Openocd-development] [PATCH] Get USB endpoints for jlink from USB device descriptor

2008-10-14 Thread Peter 'p2' De Schrijver
Hi, This patch reads the USB endpoints for the jlink adapter from the device descriptor instead of hardcoding them. This is necessary because not all jlink implementations use the same endpoint addresses. The jlink adapter embedded in the IAR LPC-P2378-SK board uses endpoint 5 for input and 2 f

[Openocd-development] target scripts

2008-10-14 Thread Spen
Hi, I notice there has been a few changes to the target scripts !! [new_target_name] configure -event reset-start { jtag_khz 10 } should the docs be updated to suit? I would but do not have a clue what it all means. we probably need a sentence or two on converting from the old syntax. Cheers Sp

[Openocd-development] Make target_write_xxx() and target->type->write_xxx() return void...

2008-10-14 Thread Øyvind Harboe
I *know* it is a bit late to suggest this now, but does anyone have any argument against making target_write_xxx() and target->type->write_xxx() return void? jtag_execute_queue() will return an error if the above failed That's part of the whole queue API design... -- Øyvind Harboe http://ww

Re: [Openocd-development] [Patch] Added additional error return checks

2008-10-14 Thread Øyvind Harboe
Committed. Thanks! -- Øyvind Harboe http://www.zylin.com/zy1000.html ARM7 ARM9 XScale Cortex JTAG debugger and flash programmer Free eCos workshop in Oslo October 21! http://www.zylin.com/workshop.html ___ Openocd-development mailing list Openocd-deve

Re: [Openocd-development] JTAG emulator with openocd for beagleboard

2008-10-14 Thread Øyvind Harboe
On Tue, Oct 14, 2008 at 6:03 PM, Dirk Behme <[EMAIL PROTECTED]> wrote: > Øyvind Harboe wrote: >>> >>> (I don't have one - so I can't make it happen). >> >> >> If someone wants to see support for this, then a good start is to >> put a target board in the mail to Duane + me. > > Not sure if you like/

Re: [Openocd-development] JTAG emulator with openocd for beagleboard

2008-10-14 Thread Dirk Behme
Øyvind Harboe wrote: >>(I don't have one - so I can't make it happen). > > > If someone wants to see support for this, then a good start is to > put a target board in the mail to Duane + me. Not sure if you like/are able to pay for it, but US-$ 150 is a really good price for Beagles: http://el

Re: [Openocd-development] JTAG emulator with openocd for beagleboard

2008-10-14 Thread Kees Jongenburger
Hello Øyvind The "status" is best described here: http://groups.google.com/group/beagleboard/msg/ef58b43682dee5cb My current approach it to TRY to make it possible to add items to the scan chain using "simple" openocd command. (make the jtag_device command work at later stage). but I am not maki

Re: [Openocd-development] [Patch] Added additional error return checks

2008-10-14 Thread Laurentiu Cocanu
one more patch On Tue, Oct 14, 2008 at 3:15 PM, Øyvind Harboe <[EMAIL PROTECTED]>wrote: > On Tue, Oct 14, 2008 at 3:05 PM, Laurentiu Cocanu > <[EMAIL PROTECTED]> wrote: > > More error checks. > > Committed. > > Thanks! > > > > > -- > Øyvind Harboe > http://www.zylin.com/zy1000.html > ARM7 ARM9 XS

Re: [Openocd-development] [Patch] Added additional error return checks

2008-10-14 Thread Øyvind Harboe
On Tue, Oct 14, 2008 at 3:05 PM, Laurentiu Cocanu <[EMAIL PROTECTED]> wrote: > More error checks. Committed. Thanks! -- Øyvind Harboe http://www.zylin.com/zy1000.html ARM7 ARM9 XScale Cortex JTAG debugger and flash programmer Free eCos workshop in Oslo October 21! http://www.zylin.com/works

Re: [Openocd-development] [Patch] Added additional error return checks

2008-10-14 Thread Laurentiu Cocanu
More error checks. On Tue, Oct 14, 2008 at 1:07 PM, Øyvind Harboe <[EMAIL PROTECTED]>wrote: > On Tue, Oct 14, 2008 at 12:40 PM, Laurentiu Cocanu > <[EMAIL PROTECTED]> wrote: > > Continued with error checks on arm*.c source files. > > Committed all but armv7.c that needs a bit of work still. > > T

Re: [Openocd-development] [Patch] Added additional error return checks

2008-10-14 Thread Øyvind Harboe
On Tue, Oct 14, 2008 at 12:40 PM, Laurentiu Cocanu <[EMAIL PROTECTED]> wrote: > Continued with error checks on arm*.c source files. Committed all but armv7.c that needs a bit of work still. Thanks! -- Øyvind Harboe http://www.zylin.com/zy1000.html ARM7 ARM9 XScale Cortex JTAG debugger and fla

Re: [Openocd-development] JTAG emulator with openocd for beagleboard

2008-10-14 Thread Øyvind Harboe
On Tue, Oct 14, 2008 at 12:21 PM, Duane Ellis <[EMAIL PROTECTED]> wrote: > Øyvind Harboe wrote: >> >> A target event wouldn't work terribly well here, as OpenOCD is founded >> on the false assumption that the JTAG chain never changes throughout >> OpenOCDs >> lifespan. >> > > Yes, but - I think - t

Re: [Openocd-development] JTAG emulator with openocd for beagleboard

2008-10-14 Thread Duane Ellis
Øyvind Harboe wrote: > A target event wouldn't work terribly well here, as OpenOCD is founded > on the false assumption that the JTAG chain never changes throughout OpenOCDs > lifespan. > Yes, but - I think - the JRC only allows insertions and deletions in a specific order. Not total and random

Re: [Openocd-development] text duplication in openocd.pdf

2008-10-14 Thread Øyvind Harboe
On Tue, Oct 14, 2008 at 12:01 PM, Alexei Babich <[EMAIL PROTECTED]> wrote: > In the section 4.2: > "jtag nsrst delay How long (in milliseconds) OpenOCD should wait > after deasserting nSRST before starting new JTAG operations." Clarified & commited: ### Eclipse Workspace Patch 1.0 #P openocd Ind

[Openocd-development] text duplication in openocd.pdf

2008-10-14 Thread Alexei Babich
In the section 4.2: "jtag nsrst delay How long (in milliseconds) OpenOCD should wait after deasserting nSRST before starting new JTAG operations." -- Regards, Alexei Babich, circuit engineer, OOO NPP "Rezonans", Chelyabinsk, Russia http://www.rez.ru Jabber ID: [EMAIL PROTECTED] ___

Re: [Openocd-development] Problems with GDB 6.3

2008-10-14 Thread Øyvind Harboe
6.3 is busted. I've updated openocd.texi to say that GDB 6.7 is the minimum version recommended. look up 1836 in http://sourceware.org/cgi-bin/gnatsweb.pl?database=gdb Any thoughts on making GDB 6.7 the minimum recommended version? -- Øyvind Harboe http://www.zylin.com/zy1000.html ARM7 ARM9

Re: [Openocd-development] JTAG emulator with openocd for beagleboard

2008-10-14 Thread Øyvind Harboe
On Tue, Oct 14, 2008 at 12:40 AM, Duane Ellis <[EMAIL PROTECTED]> wrote: > David Anders wrote > >> the ICEPick works as a JTAG Route Controler(JRC), > > [snip] > >> due to the number of multi-core arm devices becoming available, a vast >> majority of the vendors will be providing JRC's as their pri

Re: [Openocd-development] JTAG emulator with openocd for beagleboard

2008-10-14 Thread Øyvind Harboe
> (I don't have one - so I can't make it happen). If someone wants to see support for this, then a good start is to put a target board in the mail to Duane + me. Zylin has already collected a sizeable testfarm, but we lack hardware with JRC. -- Øyvind Harboe http://www.zylin.com/zy1000.html ARM

Re: [Openocd-development] More reset cleanup

2008-10-14 Thread Øyvind Harboe
> Sounds ok then. Committed. -- Øyvind Harboe http://www.zylin.com/zy1000.html ARM7 ARM9 XScale Cortex JTAG debugger and flash programmer Free eCos workshop in Oslo October 21! http://www.zylin.com/workshop.html ___ Openocd-development mailing list