Hi,
Stellaris flash is issuing a misleading error message when trying to
unprotect an unprotected flash:
> flash protect_check 0
successfully checked protect state
> flash info 0
#0 : stellaris at 0x00000000, size 0x00020000, buswidth 0, chipwidth 0
# 0: 0x00000000 (0x400 1kB) not protected
# 1: 0x00000400 (0x400 1kB) not protected
...............
> flash protect 0 0 1 off
Can't unprotect write-protected pages.
failed setting protection for areas 0 to 1 (-601)
Because flash protect is returning an error message, also
flash write_image unlock
will return with an error, failing to write to the flash, even when
flash write_image
writes just fine.
Regards,
Edgar
--
Edgar Grimberg
System Developer
Zylin AS
ZY1000 JTAG Debugger http://www.zylin.com/zy1000.html
Phone: (+47) 51 63 25 00
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development