On Wed, Feb 10, 2010 at 3:58 PM, Spencer Oliver <s...@spen-soft.co.uk> wrote:
> On 10/02/2010 09:07, Edgar Grimberg wrote:
>>
>> Now, how do I turn the readout protection off? I've tried:
>>
>>> stm32x unlock 0
>>
>> Device Security Bit Set
>> stm32x unlocked
>>>
>>> stm32x options_read 0
>>
>> Option Byte: 0x3fffffe
>> Readout Protection On
>> Software Watchdog
>> Stop: No reset generated
>> Standby: No reset generated
>>
>>
>
> That's fine, you may have to power cycle before the settings take effect.

I see! Now it works fine! Thanks for help.

> If you have SRST connected that should also work, reseting using the
> VC_CORERESET will not work.

Should I write the powercycle (or SRST) trick somewhere in the help of
stm32x lock / unlock commands?

Regards,
Edgar

-- 
Edgar Grimberg
System Developer
Zylin AS

Visit us at Embedded World, March 2nd-4th. IS2T's stand, HALL 10 - 118
http://www.zylin.com/events_embeddedworld.html

ZY1000 JTAG Debugger http://www.zylin.com/zy1000.html
Phone: (+47) 51 63 25 00
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to