English
Language : 

MC9S12T64 Datasheet, PDF (225/608 Pages) Motorola, Inc – Specification
Freescale Semiconductor, Inc.
Flash EEPROM 64K
Functional Description
START
Read: Register FSTAT
Are ACCERR or
PVIOL set?
yes
Clear ACCERR and/or PVIOL
Change BKSEL
no
no
All Flash banks
checked?
yes
Read: Register FCLKDIV
Clock Register
no
Written
Bit FDIVLD set?
Check
yes
Write: Register FCLKDIV
1.
Write: Array Address and
Program Data
2.
Write: Register FCMD
Program Command $20
3.
Write: Register FSTAT
Clear bit CBEIF $80
Read: Register FSTAT
NOTE: command sequence
aborted by writing $00 to
FSTAT register.
NOTE: command sequence
aborted by writing $00 to
FSTAT register.
Protection
Violation Check
Access
Error Check
Address, Data,
Command
Buffer Empty Check
Bit
PVIOL
Set?
no
Bit
ACCERR
Set?
no
Bit
CBEIF
Set?
no
yes Write: Register FSTAT
Clear bit PVIOL $20
yes Write: Register FSTAT
Clear bit ACCERR $10
yes
yes
Next Write?
no
MOTOROLA
Bit Polling for
Command
Completion Check
Bit
CCIF
no
Set?
yes
FINISH
Read: Register FSTAT
Figure 28 Example Program Algorithm
Flash EEPROM 64K
For More Information On This Product,
Go to: www.freescale.com
MC9S12T64Revision 1.1.1
225