On Mon, Oct 19, 2009 at 5:23 PM, Luca Ottaviano <[email protected]> wrote:
> Øyvind Harboe ha scritto:
>>
>> Does anyone feel very strongly about flash protection?
>>
>> My thinking is that OpenOCD erase should remove flash protection
>> automatically.
>
> That's a good idea.
>
> Bear in mind, though, that some CPUs are bugged (eg. Atmel AT91SAM7) so you
> can set protection bits only for roughly 100 times, IIRC.
> So you should avoid this workflow:
> - un-protect flash memory
> - write
> - protect again


So unlocking, if necessary upon erase/program would be the way
to go?

Locking would be manual.

-- 
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 ARM11 XScale Cortex
JTAG debugger and flash programmer
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to