> > 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 > so it is working internally, just the info from protect_check only relates > to the volatile FLASH_NVWPAR. > > Perhaps a str7 specific note needs adding. > > 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
