> 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.
The problem here is that the "unlock" option is meant to be an option that will unconditionally do whatever it takes to unlock the flash so the image can be written. This is in order to be able to write simple scripts without fancy tcl to handle flashing... -- Øyvind Harboe 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 [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
