2005-06-01 08:31 PM
2005-06-01 07:51 PM
I work with the St10F276 and Keil.
Could somebody explain to me how i could save permanent data in XFlash before shutting down my st10. And how I could read it at the next start. Thank you.2005-06-01 08:31 PM
Hello,
To be able to access the ST10F276 XFLASH module, please make sure that: - flash is enabled by setting ROMEN bit in SYSCON register. - XFLASH is enabled (by setting XFLASHEN bit in XPERCON register and XPEN bit in SYSCON register) in order to be able to access the flash registers. - SMOD bit in FCR0H register is cleared otherwise the write operation will be performed on IFLASH module. Have a look to the ST10F276 datasheet, page 74 (''Write Operation Examples'' section 5.6) where good examples are given and i am sure that they will help you. Najoua.