On Mon, Nov 8, 2010 at 9:27 PM, Spencer Oliver <s...@spen-soft.co.uk> wrote: > On 08/11/2010 16:00, Øyvind Harboe wrote: >> >> add missing error handling. There was a code path which would >> assume that the chip was the maximum flash size in the >> family when failing to read. > > This was by design, as ST have a habit of forgetting registers in early > silicon. > > I was told this was the best way of handling this to assume max size on read > error.
OK. I'll back that one out and put in a more explicit comment and perhaps even a LOG_WARNING() to boot. -- Øyvind Harboe Can Zylin Consulting help on your project? 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-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development