cancel
Showing results for 
Search instead for 
Did you mean: 

ENABLE XFLASH ON ST10F276

raffaele
Associate II
Posted on May 15, 2007 at 14:42

ENABLE XFLASH ON ST10F276

3 REPLIES 3
raffaele
Associate II
Posted on May 15, 2007 at 14:20

How can I enable the Xflash in this MCU? and how can I read the XFLAHS whit:

movb R0,R[1]

??

[ This message was edited by: invisigothux on 15-05-2007 18:01 ]

najoua
Associate II
Posted on May 15, 2007 at 14:37

Hello invisigothux,

This is by setting XPEN bit in SYSCON register and XFLASHEN bit in XPERCON register.

Note: The XPERCON register MUST be written BEFORE the XPEN bit in SYSCON is SET because Register XPERCON cannot be changed after the global enabling of X-Peripherals, i.e. after setting of bit XPEN in

SYSCON register.

Regards,

Najoua.

raffaele
Associate II
Posted on May 15, 2007 at 14:42

Hi,

In boostraps mode, i can read the flash to the first byte of XFLASH.

If i try to read the Xflash like to read the iflash the MCU frezee.

whi ? There are special modality to read Xflash ?

After BSL secuence the Xflash is already set and enabled.Is correct ?

[ This message was edited by: invisigothux on 15-05-2007 18:16 ]