> The str7 write protection is a bit quirky as once set can only be removed > temporarily anyway - until the next reset.
I'm thinking more of this situation: * I reset and try to write something to the flash * It will fail, since the protection is on. * I check the flash, with flash info 0, I see the protection on * I issue flash protect 0 0 last off * I check to see if the operation was OK, by looking at "flash info 0" * At this point, the information I see is invalid. If I don't trust OpenOCD, I just move on and write to flash. * If I trust OpenOCD, I start wasting time investigating what went wrong. This can be a bit frustrating, because the last thing you want is your tools starting to lie on you :) If it's something wrong or impossible, I would like to inform the user. Regards, Edgar > Also disable_jtag can catch people out as once this is set you can only > remove this protection from code running on the device. > So unless you have made provision for this in the user code you can easily > loose a device. > > Cheers > Spen > -- 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
