[Openocd-development] [PATCH] flash: more flash write_image bugfixes

2010-05-04 Thread Øyvind Harboe
Remove/fix lots of bugs in handling of non-contigious sections and out of order sections. Fix a gaffe introduced in previous commit to src/flash/nor/core.c Signed-off-by: Øyvind Harboe --- src/flash/nor/core.c | 32 +++- 1 files changed, 11 insertions(+), 21 deleti

Re: [Openocd-development] PATCH - Fixed bug in tcl-server [ was: openocd crash when sending command over tcl_port ]

2010-05-04 Thread Øyvind Harboe
Makes sense to me. Any objections out there to me merging? -- Ø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-deve

[Openocd-development] [PATCH] gdb: connect will now fail if flash autoprobe fails

2010-05-04 Thread Øyvind Harboe
This stops GDB from launching with an empty memory map, making gdb load w/flashing fail for no obvious reason. The error message points in the direction of the gdb-attach event that can be set up to issue a halt or "reset init" which will put GDB in a well defined stated upon attach and thus have

Re: [Openocd-development] Bugfix for flash write_image

2010-05-04 Thread Andreas Fritiofson
On Thu, Apr 29, 2010 at 3:59 AM, Øyvind Harboe wrote: > Why hasn't anybody complained yet that "flash write_image erase" will > fail for elf images that are not aligned to sectors??? > > Unlocking is automatically aligned to sectors in this case... > > I'll be committing this soonish if I don't he

Re: [Openocd-development] Bugfix for flash write_image

2010-05-04 Thread Øyvind Harboe
On Tue, May 4, 2010 at 8:44 PM, Andreas Fritiofson wrote: > On Thu, Apr 29, 2010 at 3:59 AM, Øyvind Harboe > wrote: >> Why hasn't anybody complained yet that "flash write_image erase" will >> fail for elf images that are not aligned to sectors??? >> >> Unlocking is automatically aligned to secto

[Openocd-development] Possible reset halt startup bug?

2010-05-04 Thread Gary Carlson
I am just curious if the small problem that I discovered this afternoon can be duplicated by any other developers/users using other jlink dongles (or even non-jlink dongles). The first time through a "reset halt" seems to fail, but subsequently operates flawlessly thereafter. If anyone has some i

Re: [Openocd-development] Possible reset halt startup bug?

2010-05-04 Thread Austin, Alex
Anyone else get this message? Is it coincidence that I understand it? Gary Carlson wrote: I am just curious if the small problem that I discovered this afternoon can be duplicated by any other developers/users using other jlink dongles (or even non-jlink dongles). The first time through a "res

Re: [Openocd-development] Possible reset halt startup bug?

2010-05-04 Thread Øyvind Harboe
Maybe it's a timing issue? Have you tried single stepping through assert reset? -- Ø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

Re: [Openocd-development] Possible reset halt startup bug?

2010-05-04 Thread Austin, Alex
And that is not, at all, what I saw in the "quoted text" area. I only saw the phrase "Iyi ge" which is Turkish for "Good development ". "Austin, Alex" wrote: Anyone else get this message? Is it coincidence that I understand it? Gary Carlson wrote: I am just curious if the small problem tha