MC9S12XDP512CFU
Model | MC9S12XDP512CFU |
Description | 16-BIT, FLASH, 40MHz, MICROCONTROLLER, PQFP80 |
PDF file | Total 1348 pages (File size: 8M) |
Chip Manufacturer | PHILIPS |
Chapter 28 256 Kbyte Flash Module (S12XFTX256K2V1)
28.3.2.7
Flash Command Register (FCMD)
The FCMD register is the Flash command register.
7
6
5
4
3
2
1
0
R
W
Reset
0
CMDB
1
1
0
0
0
0
0
0
= Unimplemented or Reserved
Figure 28-14. Flash Command Register (FCMD)
All CMDB bits are readable and writable during a command write sequence while bit 7 reads 0 and is not
writable.
Table 28-15. FCMD Field Descriptions
Field
6:0
CMDB[6:0]
Description
Flash Command
— Valid Flash commands are shown in
Table 28-16.
Writing any command other than those
listed in
Table 28-16
sets the ACCERR flag in the FSTAT register.
Table 28-16. Valid Flash Command List
CMDB[6:0]
0x05
0x06
0x20
0x40
0x41
0x47
NVM Command
Erase Verify
Data Compress
Word Program
Sector Erase
Mass Erase
Sector Erase Abort
28.3.2.8
Flash Control Register (FCTL)
The FCTL register is the Flash control register.
7
6
5
4
3
2
1
0
R
W
Reset
0
NV6
NV5
NV4
NV3
NV2
NV1
NV0
0
F
F
F
F
F
F
F
= Unimplemented or Reserved
Figure 28-15. Flash Control Register (FCTL)
All bits in the FCTL register are readable but are not writable.
The FCTL NV bits are loaded from the Flash nonvolatile byte located at global address 0x7F_FF0E during
the reset sequence, indicated by F in
Figure 28-15.
MC9S12XDP512 Data Sheet, Rev. 2.21
Freescale Semiconductor
1163