Edgar Grimberg wrote: >> Ah ok, I think this is an issue with the str7, rather than openocd. >> >> The flash protection is being removed (until next reset) but we are reading >> the non-volatile register (FLASH_NVWPAR). >> >> This is read at reset and any write to this register only effects the >> volatile version of FLASH_NVWPAR. The address of the volatile version is >> unknown. > > So, the conclusion is that we cannot have the flash protect information for > STR7 flash? If that's true, I'll add a note in the str7x_info string, > so it will > appear on the output of "flash info" command. > > Regards, > Edgar > >
The str7 write protection is a bit quirky as once set can only be removed temporarily anyway - until the next reset. 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 _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
