AN2302 Freescale Semiconductor / Motorola, AN2302 Datasheet - Page 18

no-image

AN2302

Manufacturer Part Number
AN2302
Description
EEPROM Emulation for the MC9S12C32
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
AN2302/D
18
Freescale Semiconductor, Inc.
For More Information On This Product,
EEPROM Emulation for the MC9S12C32
Yes
Go to: www.freescale.com
Next bank
ActiveBank = this bank
Largest Status word
EEPROM_BANKS?
Figure 6. InitEeprom Flow Diagram
less than
Yes
Yes
No
Read bank Status word
Start with bank 0
clock prescaler
Status roll-over
Initialise Flash
InitRAMFuncs
Status word =
Checked all
InitEeprom
detected?
erased?
banks?
No
No
erased in all
Status word
Yes
banks?
Return
Status word = 0?
Largest Status
No
word so far?
No
No
No
EraseEepromBank:
ActiveBank = 0
Erase bank 0
Yes
sector(s)
Start again with bank 0
ActiveBank = this bank
Roll-over = true
Yes
Yes
MOTOROLA

Related parts for AN2302