AN2302 Freescale Semiconductor / Motorola, AN2302 Datasheet - Page 16

no-image

AN2302

Manufacturer Part Number
AN2302
Description
EEPROM Emulation for the MC9S12C32
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
AN2302/D
16
Freescale Semiconductor, Inc.
For More Information On This Product,
EEPROM Emulation for the MC9S12C32
Next EEPROM address
Program new bank
ProgEepromWord:
Figure 5. WriteEeprom Flow Diagram (continuation)
address = end
with data word
from old bank
EEPROM
Go to: www.freescale.com
of bank?
Yes
No
Next EEPROM address
Decrement size by 2
ProgEepromWord:
comprising new
Program word
Yes
data
ActiveBank = oldBank
No
programming?
Return status
Errors when
Yes
size = 0 ?
size = 1 ?
No
A
Next EEPROM address
Decrement size by 1
comprising one byte
Yes
ProgEepromWord:
old bank, one byte
No
Program word
Yes
new data
No
Program EEPROM
ProgEepromWord:
greater than status
value of old bank.
bank status word
with value one
Programming
error?
MOTOROLA

Related parts for AN2302