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.
> 


we can, but it is only valid from the last reset.
Any changes made to FLASH_NVWPAR will not be viewable, even though 
internally they are working.

Cheers
Spen
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to