cancel
Showing results for 
Search instead for 
Did you mean: 

ST10F276 Flash controll register

raffaele
Associate II
Posted on May 18, 2007 at 11:56

ST10F276 Flash controll register

1 REPLY 1
raffaele
Associate II
Posted on May 18, 2007 at 11:56

I have been read the Xflash and Iflash, bu now I whant erase the Chip

I have see that example :

Sector erase

Example: Sector Erase of sectors B3F1 and B3F0 of Bank 3 in XFLASH Module.

FCR0H|= 0x0800; /*Set SER in FCR0H*/

FCR1H|= 0x0003; /*Set B3F1, B3F0*/

FCR0H|= 0x8000; /*Operation start*/

I assemble code for access @ address 0xe0002 FCR0H, can I use this sequence ?

mov R7,#38h

mov R6,#02h

exts R7,#1

mov R5,[R6]

bset R5.7

exts R7,#1

mov [R6],R5

I can ? thanks.