Re: [Openocd-development] STM32 regression - first "load" after power-up fails

2010-01-17 Thread Øyvind Harboe
>> target remote xxx >> # the target is not affected or queried by a gdb connnect. Dummy values are >> # returned and a white lie takes place w.r.t. that the target is halted. > > That "white lie" may be problematic.  However, I've only looked > a bit at the GDB remote protocol, and I suspect that

Re: [Openocd-development] STM32 regression - first "load" after power-up fails

2010-01-17 Thread David Brownell
On Sunday 17 January 2010, Øyvind Harboe wrote: > I'm not sure we have a regression here. Against 0.3.1 it seems we don't have one... Against 0.2.0 it looks like we do (did)... (If I understand correctly.) > A regression test should minimally include: > > 1. test sequence > > 2. expected resu

Re: [Openocd-development] STM32 regression - first "load" after power-up fails

2010-01-17 Thread Øyvind Harboe
I'm not sure we have a regression here. A regression test should minimally include: 1. test sequence 2. expected result If we agree that both are according to OpenOCD documentation/support, and it fails on one version and not the other, then we have a regression. Could you provide 1+2? (I coul

Re: [Openocd-development] STM32 regression - first "load" after power-up fails

2010-01-16 Thread David Brownell
On Saturday 16 January 2010, Freddie Chopin wrote: > On 2010-01-16 20:59, David Brownell wrote: > > Oh, and while this is clearly a "bug", from what I've heard it > > isn't a "regression" from the last release ... "just" a long > > standing bug. > > My bisection ( > https://lists.berlios.de/piper

Re: [Openocd-development] STM32 regression - first "load" after power-up fails

2010-01-16 Thread Freddie Chopin
On 2010-01-16 20:59, David Brownell wrote: > Oh, and while this is clearly a "bug", from what I've heard it > isn't a "regression" from the last release ... "just" a long > standing bug. My bisection ( https://lists.berlios.de/pipermail/openocd-development/2010-January/014229.html ) shows that t

Re: [Openocd-development] STM32 regression - first "load" after power-up fails

2010-01-16 Thread David Brownell
On Saturday 16 January 2010, Freddie Chopin wrote: > with STM32 the first > gdb "load" after power-up of STM32 fails. Just for reference, the relevant bits of "first.log" seem to be the appended lines. I have an idea, which I'll look at later; it revolves around general weakness in fault handlin

Re: [Openocd-development] STM32 regression - first "load" after power-up fails

2010-01-16 Thread Freddie Chopin
On 2010-01-16 14:03, Freddie Chopin wrote: > In 0.2.0 (mingw32 compilation, libftdi-0.16) it works fine. > In 0.3.0-rc0 (mingw32 compilation, libftdi-0.16) it doesn't. > In 0.3.1 (mingw32 compilation, libftdi-0.16) it doesn't. > In 0.4.0-rc1-dev (i686-w64-mingw32 crosscompilation, libftdi-0.17) it