Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN1477 Datasheet(PDF) 2 Page - STMicroelectronics

Part # AN1477
Description  EMULATED DATA EEPROM WITH XFLASH MEMORY
PDF  5 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN1477 Datasheet(HTML) 2 Page - STMicroelectronics

  AN1477 Datasheet HTML 1Page - STMicroelectronics AN1477 Datasheet HTML 2Page - STMicroelectronics AN1477 Datasheet HTML 3Page - STMicroelectronics AN1477 Datasheet HTML 4Page - STMicroelectronics AN1477 Datasheet HTML 5Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 2 / 5 page
background image
2/5
EMULATED DATA EEPROM WITH XFLASH MEMORY
1 RESTRICTIONS
1
To guarantee that the XFlash program memory is write protected when programming the
Emulated Data EEPROM, the whole program memory MUST be located in sector 0 (refer
to the datasheet). This implies that:
–
The maximum program memory size is 4 Kbytes (sector 0 set by option byte to the
maximum size which allows sector 1 availability).
–
IAP is not available for program memory.
2
During emulated data EEPROM programming, the XFlash can not be executed. This
implies that:
–
The software which programs the emulated data EEPROM must be located in RAM.
This software needs at least 16 bytes of RAM as shown in following program example.
–
The interrupts cannot be served during programming so they have to be masked.
2 PROCEDURE
To program 1 byte in the emulated data EEPROM (located in sector 1) the following steps
have to be done:
1
Enter the XFlash RASS key to unlock the access to the FCSR register (only once, after
reset for example).
2
Download the programming driver into RAM (from 0083h to 008Fh for example).
3
Write the data and address to be programmed in a RAM buffer (at RAM address 0080h
to 0082h for example).
4
Call the downloaded RAM driver to program the emulated data EEPROM.
3 ASSEMBLER PROGRAM EXAMPLE
The following program example describes a driver routine to be called to emulate data
EEPROM with an XFlash ST7 device. This example assumes that all restrictions are taken
into account.
In this example, the program memory size is 4 Kbytes and the data EEPROM is also 4 Kbytes,
but these sizes can be adjusted through option bytes depending on the needs.
st7/
;***************************************************************************
; TITLE:
XdataE2Emul.asm
; AUTHOR:
CMG_MCD Application Team
; DESCRIPTION: Data EEPROM emulation with XFlash memory (ST72F264 example)
;***************************************************************************
TITLE "XdataE2Emul.asm"
BYTES
2



Html Pages

1 2 3 4 5


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com