[Openocd-development] stellaris flash driver oddity: only works every other time?

2008-08-14 Thread Edwin Olson
I'm using an lm3s6965-ek as a JTAG interface and a custom board with a lm3s8962 as a debug target. I'm running fedora linux 9 with libftdi. When I attempt to write my program to flash, the first attempt seems to consistently result in only an erased flash (all ff's.) A second attempt always seems

Re: [Openocd-development] Is LPC2148 ARM/Thumb mode detection broken?

2008-08-14 Thread Øyvind Harboe
On Thu, Aug 14, 2008 at 5:25 PM, Dominic Rath <[EMAIL PROTECTED]> wrote: > The LPC2000 ROM code is (mostly?) written in Thumb. OK. I guess I'm not familiar enough with LPC2000 to know how this works. I flashed an application but apparently that didn't go into the ROM then... Another thing: ther

Re: [Openocd-development] Is LPC2148 ARM/Thumb mode detection broken?

2008-08-14 Thread Dominic Rath
The LPC2000 ROM code is (mostly?) written in Thumb. Regards, Dominic Original-Nachricht > Datum: Thu, 14 Aug 2008 16:59:15 +0200 > Von: "Øyvind Harboe" <[EMAIL PROTECTED]> > An: Openocd-Dev > Betreff: [Openocd-development] Is LPC2148 ARM/Thumb mode detection broken? > Using o

[Openocd-development] Is LPC2148 ARM/Thumb mode detection broken?

2008-08-14 Thread Øyvind Harboe
Using openocd/testing/examples/LPC2148Test/test_rom.elf, I'm wondering if Thumb/ARM state detection is broken. I've tried the below using latest OpenOCD and svn 729, same result... I would have expected it to halt in ARM mode?? > reset run JTAG device found: 0x4f1f0f0f (Manufacturer: 0x787, Par

[Openocd-development] Testing needed of arm7/9 breakpoints

2008-08-14 Thread Øyvind Harboe
I've made some substantial changes to breakpoint handling in arm7/9. This should help clear up a lot of confusing and obscure bugs, and no known regressions are known at this point, but it needs more testing Testing greatly appreciated. Here are some areas to be tested: 1. feroceon needs to

Re: [Openocd-development] Cleaning up breakpoints a bit

2008-08-14 Thread Øyvind Harboe
Committed. The mailing list has been out so there are various other things that have been fixed as well. On Wed, Aug 13, 2008 at 5:29 PM, Øyvind Harboe <[EMAIL PROTECTED]> wrote: > > These days GDB will have a much better idea of what sort > of breakpoints to ask OpenOCD to set. > > E.g. if the

Re: [Openocd-development] Cleaning up breakpoints a bit

2008-08-14 Thread Øyvind Harboe
>> (gdb_breakpoint_override&&((bp_type==BKPT_SOFT)||(bp_type==BKPT_SOFT))) > > guessing this is a typo ?? Yes. I haven't tested the code yet. (gdb_breakpoint_override&&((bp_type==BKPT_SOFT)||(bp_type==BKPT_HARD))) BTW, the other breakpoint cleanup in arm7/9 fares well in testing so far. I'm thi

Re: [Openocd-development] Cleaning up breakpoints a bit

2008-08-14 Thread Spen
> > Index: C:/workspace/openocd/src/server/gdb_server.c > === > --- C:/workspace/openocd/src/server/gdb_server.c (revision 913) > +++ C:/workspace/openocd/src/server/gdb_server.c (working copy) > @@ -46,6 +46,9 @@ > #define