Re: [Openocd-development] Patch to correct remaining \n in LOG_ERROR

2011-01-09 Thread Eric Wetzel
I found some changes to make along these lines. Best regards, ~Eric On Wed, Jan 5, 2011 at 3:47 PM, Øyvind Harboe wrote: > Merged. > > Thanks! > > I was hoping someone with better sed skills than me would have > a crack at it :-) > > -- > Øyvind Harboe > > Can Zylin Consulting help on your proje

Re: [Openocd-development] [PATCH] lpc21xx: common target script

2011-01-09 Thread Øyvind Harboe
Hi Freddie, I think this is another step in the right direction. I've merged it. > I've come with a problem, that has two solutions. When a board (or whatever) > configures some event handlers (like "reset init") this is usually done like > this: > >> $_TARGETNAME configure -event reset-init { >

Re: [Openocd-development] [PATCH] lpc21xx: common target script

2011-01-09 Thread Freddie Chopin
On 2011-01-09 21:34, Øyvind Harboe wrote: This is a general problem of procedural programming. How do you push information into some deep dark fn without resorting to global variables? How about passing the reset-init sequence(or part of it) as an argument? # this proc takes an initsequence as

Re: [Openocd-development] Patch to correct remaining \n in LOG_ERROR

2011-01-09 Thread Øyvind Harboe
Merged. Thanks! -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 87 40 27 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer ___ Openocd-de

Re: [Openocd-development] [PATCH] lpc21xx: common target script

2011-01-09 Thread Øyvind Harboe
On Sun, Jan 9, 2011 at 10:53 PM, Freddie Chopin wrote: > On 2011-01-09 21:34, Øyvind Harboe wrote: >> >> This is a general problem of procedural programming. How >> do you push information into some deep dark fn without >> resorting to global variables? >> >> How about passing the reset-init seque

Re: [Openocd-development] [PATCH] lpc21xx: common target script

2011-01-09 Thread Freddie Chopin
On 2011-01-09 23:50, Øyvind Harboe wrote: I don't think so, I'm not sure what you mean. So I'm not sure whether I know what you propose (; Your example is pretty cryptic for me (; In a free moment I'd be grateful for a better explanation of your idea. 4\/3!!

Re: [Openocd-development] [PATCH 2/2] svf: implement sleep for RUNTEST min_time

2011-01-09 Thread Jon Povey
Andrew Leech wrote: > On 06/01/2011, at 3:12 PM, Jon Povey wrote: >> Ping. > > I never delved much into the actual SVF commands, so can't > comment on the basic logic of it, however if the new > functionality is correct the old stuff blocked out by #if 1/0 > should be removed before committing ups

Re: [Openocd-development] Cable madness

2011-01-09 Thread Jon Povey
openocd-development-boun...@lists.berlios.de wrote: > They didn't have any 0.05" pre-crimped solutions that I could > find. Crimping your own is not hard with something solid to push down with (bit of wood or such). > It seems like everybody is doing something different Throw in > that a lot

Re: [Openocd-development] Cable madness

2011-01-09 Thread Andrew Leech
On Mon, Jan 10, 2011 at 1:25 PM, Jon Povey wrote: > openocd-development-boun...@lists.berlios.de wrote: >> They didn't have any 0.05" pre-crimped solutions that I could >> find. > > Crimping your own is not hard with something solid to push down with (bit of > wood or such). > >> It seems like ev

Re: [Openocd-development] [PATCH 2/2] svf: implement sleep for RUNTEST min_time

2011-01-09 Thread Andrew Leech
On Mon, Jan 10, 2011 at 1:20 PM, Jon Povey wrote: > Andrew Leech wrote: >> On 06/01/2011, at 3:12 PM, Jon Povey wrote: > >>> Ping. >> >> I never delved much into the actual SVF commands, so can't >> comment on the basic logic of it, however if the new >> functionality is correct the old stuff bloc

Re: [Openocd-development] [PATCH] lpc21xx: common target script

2011-01-09 Thread Øyvind Harboe
On Sun, Jan 9, 2011 at 11:53 PM, Freddie Chopin wrote: > On 2011-01-09 23:50, Øyvind Harboe wrote: >> >> I don't think so, I'm not sure what you mean. > > So I'm not sure whether I know what you propose (; Your example is pretty > cryptic for me (; In a free moment I'd be grateful for a better exp