On 03/05/12 12:53, Sergey A. Borshch wrote:
> I's quite easy to do the same without patching sources:
> proc set_security {} {
> #                     MC_FMR
> #            | ((4032000 * 36 / 3 / 1000000)<<  16)                 # MCK 
> cycles
> in 1 us
> #            | (1<<  8)                                             # 1 FWS
> #            | (1<<  7)                                             # no erase
> before prog
>           mww 0xFFFFFF60 [expr ((4032000 * 36 / 3 / 1000000)<<  16) | (1<<  
> 8) |
> (1<<  7)]
>
> #                     MC_FCR
> #            | (0x5A<<  24)                                          # key
> #            | 0x0000000F                                            # SET
> Security command
>           mww 0xFFFFFF64 [expr (0x5A<<  24) | 0x0000000F]
> }
>

Thanks for the reply. I prefer your method.

www.microbus.com - Tel: +44 (0)1628 537300 Fax: +44 (0)1628 537301
Microbus, Treadaway Hill, Loudwater, High Wycombe, Buckinghamshire HP10 9QL

The information transmitted is intended only for the person to whom or entity 
to which it is addressed and may contain confidential and/or privileged 
material. Any review, retransmission, dissemination or other use of, or taking 
of any action in reliance upon, this information by persons or entities other 
than the intended recipient is prohibited.

If you received this in error, please contact the sender by e-mail reply or by 
phone and delete all copies of the material.

Microbus Limited Registered in England No. 01984857 Registered Office 2 AC 
Court High Street Thames Ditton Surrey KT7 0SR.  VAT no. GB 442 3444 71

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to