cancel
Showing results for 
Search instead for 
Did you mean: 

ST10F276 Xflash erase ....

raffaele
Associate II
Posted on May 21, 2007 at 13:38

ST10F276 Xflash erase ....

1 REPLY 1
raffaele
Associate II
Posted on May 21, 2007 at 13:38

I use this for erase XFLASH, I have put SMOD to ''0'' but erase not perform

mov R7,#02h

exts #0eh,#1

mov R5,[R7]

or R5,#0800h

exts #0eh,#1

mov [R7],R5

mov R7,#04h

exts #0eh,#1

mov R5,[R7]

or R5,#07h

exts #0eh,#1

mov [R7],R5

mov R7,#06h

exts #0eh,#1

mov R5,[R7]

or R5,#0303h

exts #0eh,#1

mov [R7],R5

mov R7,#02h

exts #0eh,#1

mov R5,[R7]

or R5,#08000h

exts #0eh,#1

mov [R7],R5