[Openocd-development] [PATCH] Re: Cosmetic OpenOCD patch for Flyswatter

2009-02-28 Thread Daniel Gimpelevich
On Sat, 28 Feb 2009 10:41:58 -0800, Daniel Gimpelevich wrote: > As a follow-up to my earlier patch that John Woods submitted, here's a > little patch that isn't special, but might as well have it: > http://pastebin.com/f69a3276f > To apply: > wget -O- 'http:

[Openocd-development] Cosmetic OpenOCD patch for Flyswatter

2009-02-28 Thread Daniel Gimpelevich
As a follow-up to my earlier patch that John Woods submitted, here's a little patch that isn't special, but might as well have it: http://pastebin.com/f69a3276f To apply: wget -O- 'http://pastebin.com/pastebin.php?dl=f69a3276f' | patch -p0 ___ Openocd-de

Re: [Openocd-development] Fix for target_read/write_buffer

2008-08-23 Thread Daniel Gimpelevich
On Sat, 23 Aug 2008 10:33:37 +0200, Øyvind Harboe wrote: > a flash starting at 0 is a common case. > > How about: > > (addr <= c->base + c->size - 1) Ah! How late it was… Index: src/flash/flash.c === --- src/flash/flash.c (revis

Re: [Openocd-development] Fix for target_read/write_buffer

2008-08-23 Thread Daniel Gimpelevich
On Sat, 23 Aug 2008 10:13:05 +0200, Øyvind Harboe wrote: > On Sat, Aug 23, 2008 at 10:04 AM, Daniel Gimpelevich > <[EMAIL PROTECTED]> > wrote: >> On Sat, 23 Aug 2008 09:57:42 +0200, Øyvind Harboe wrote: >> >>>>/* check whe

Re: [Openocd-development] Fix for target_read/write_buffer

2008-08-23 Thread Daniel Gimpelevich
On Sat, 23 Aug 2008 09:57:42 +0200, Øyvind Harboe wrote: >>/* check whether address belongs to this flash bank */ >> - if ((addr >= c->base) && (addr < c->base + c->size) && >> target == c->target) + if ((addr >= c->base) && (addr - 1 >> < c->base + c->s

Re: [Openocd-development] Fix for target_read/write_buffer

2008-08-22 Thread Daniel Gimpelevich
On Fri, 22 Aug 2008 14:10:52 +0200, Dominic wrote: > Commited. The patch below fixes a bug in target/target.c that causes > errors on reads/writes that access the end of the address space > (0x). > > Regards, > > Dominic Yes, but this is not committed: Index: src/flash/flash.c

[Openocd-development] SVN Rev. 951

2008-08-20 Thread Daniel Gimpelevich
On Tue, 19 Aug 2008 02:41:56 +, Daniel Gimpelevich wrote: > Hello. Before I get into the subject of my message, let me mention the > following mini-patch: > [snip patch] > > I don't actually have such an adapter, but they currently seem to be the > cheapest reasonabl

Re: [Openocd-development] Feroceon Revisited

2008-08-19 Thread Daniel Gimpelevich
On Tue, 19 Aug 2008 21:30:58 +, Daniel Gimpelevich wrote: > On Tue, 19 Aug 2008 10:47:30 -0400, Nicolas Pitre wrote: > >> So far I've always been able to halt a Feroceon based board with no >> flash content simply by holding the reset button while performing a >>

Re: [Openocd-development] Feroceon Revisited

2008-08-19 Thread Daniel Gimpelevich
On Tue, 19 Aug 2008 10:47:30 -0400, Nicolas Pitre wrote: > So far I've always been able to halt a Feroceon based board with no > flash content simply by holding the reset button while performing a halt > on the openocd console then quickly releasing the reset button. It > seems that the processor

Re: [Openocd-development] Feroceon Revisited

2008-08-19 Thread Daniel Gimpelevich
On Tue, 19 Aug 2008 09:10:19 +0200, Øyvind Harboe wrote: >>> Can you try to boil down these discussions to the essential and >>> relevant bits for OpenOCD & post it here? >> >> I thought my previous post did exactly that. > > I guess there is no royal road to solving this problem... There is a lo

Re: [Openocd-development] Feroceon Revisited

2008-08-19 Thread Daniel Gimpelevich
On Tue, 19 Aug 2008 08:28:38 +0200, Øyvind Harboe wrote: > Do you have any suggestions at this point as to how OpenOCD can solve > this problem? If so, I would test first. The only ideas I might have at this point would involve either Byron conducting more experiments, or Nico dipping into his

[Openocd-development] Feroceon Revisited

2008-08-18 Thread Daniel Gimpelevich
Hello. Before I get into the subject of my message, let me mention the following mini-patch: Index: src/jtag/parport.c === --- src/jtag/parport.c (revision 929) +++ src/jtag/parport.c (working copy) @@ -101,6 +101,7 @@ { "w