On Mon, Oct 19, 2009 at 8:34 PM, Magnus Lundin <lun...@mlu.mine.nu> wrote: > Øyvind Harboe wrote: >> >> There is an autoerase option to flash write_image. >> >> Would you object strongly to autoerase automatically >> unlocking the flash if necessary? >> >> >> > > On some targets the write with autoerase is very slow. A sector erase or > full erase followed by write is much faster.
Optimizing performance of autoerase is a good idea, but orthogonal to unlocking. I don't know how far from optimal a flash write_image w/autoerase is. > > IMHO autoerase should not be automatic. autoerase is off by default. > Unlocking flash is good. Thanks. I'll hold out a bit longer for any objections. -- Øyvind Harboe 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