English
Language : 

MC9S12KG128_10 Datasheet, PDF (127/606 Pages) Freescale Semiconductor, Inc – HCS12 Microcontrollers
Chapter 3 2 Kbyte EEPROM Module (S12EETS2KV1)
Module Base + 0x0006
7
6
5
4
3
2
1
0
R
0
0
CMDB6
CMDB5
W
0
0
CMDB2
CMDB0
Reset
0
0
0
0
0
0
0
0
= Unimplemented or Reserved
Figure 3-11. EEPROM Command Register (ECMD)
CMDB6, CMDB5, CMDB2, and CMDB0 bits are readable and writable during a command sequence
while bits 7, 4, 3, and 1 read 0 and are not writable.
Table 3-8. ECMD Field Descriptions
Field
Description
6, 5, 2, 0
CMDB[6:5]
CMDB2
CMDB0
EEPROM Command — Valid EEPROM commands are shown in Table 3-9. Any other command written than
those mentioned in Table 3-9 sets the ACCERR bit in the ESTAT register.
Table 3-9. Valid EEPROM Command List
Command
0x05
0x20
0x40
0x41
0x60
Meaning
Erase verify
Word program
Sector erase
Mass erase
Sector modify
3.3.2.8 RESERVED3
This register is reserved for factory testing and is not accessible to the user.
Module Base + 0x0007
7
6
5
4
3
2
1
0
R
0
0
0
0
0
0
0
0
W
Reset
0
0
0
0
0
0
0
0
= Unimplemented or Reserved
Figure 3-12. RESERVED3
All bits read 0 and are not writable.
MC9S12KG128 Data Sheet, Rev. 1.16
Freescale Semiconductor
127