|
MC9S12XD256MAL Datasheet, PDF (1115/1348 Pages) Freescale Semiconductor, Inc – Freescale’s Scalable Controller Area Network | |||
|
◁ |
Chapter 27 512 Kbyte Flash Module (S12XFTX512K4V2)
7
6
5
4
3
2
1
0
R
0
0
0
0
0
CBEIE
CCIE
KEYACC
W
Reset
0
0
0
0
0
0
0
0
= Unimplemented or Reserved
Figure 27-8. Flash Conï¬guration Register (FCNFG â Normal Mode)
7
6
5
4
3
2
1
0
R
Undeï¬ned
0
0
CBEIE
CCIE
KEYACC
W
BKSEL
Reset
0
0
0
Undeï¬ned
0
0
0
0
= Unimplemented or Reserved
Figure 27-9. Flash Conï¬guration Register (FCNFG â Special Mode)
CBEIE, CCIE and KEYACC bits are readable and writable while all remaining bits read 0 and are not
writable in normal mode. KEYACC is only writable if KEYEN (see Section 27.3.2.2, âFlash Security
Register (FSEC)â is set to the enabled state. BKSEL is readable and writable in special mode to simplify
mass erase and erase verify operations. When writing to the FCNFG register in special mode, all
unimplemented/ reserved bits must be written to 0.
Table 27-9. FCNFG Field Descriptions
Field
Description
7
CBEIE
Command Buffer Empty Interrupt Enable â The CBEIE bit enables an interrupt in case of an empty command
buffer in the Flash module.
0 Command buffer empty interrupt disabled.
1 An interrupt will be requested whenever the CBEIF ï¬ag (see Section 27.3.2.6, âFlash Status Register
(FSTAT)â) is set.
6
CCIE
Command Complete Interrupt Enable â The CCIE bit enables an interrupt in case all commands have been
completed in the Flash module.
0 Command complete interrupt disabled.
1 An interrupt will be requested whenever the CCIF ï¬ag (see Section 27.3.2.6, âFlash Status Register (FSTAT)â)
is set.
5
KEYACC
Enable Security Key Writing
0 Flash writes are interpreted as the start of a command write sequence.
1 Writes to Flash array are interpreted as keys to open the backdoor. Reads of the Flash array return invalid
data.
1â0
Block Select â The BKSEL[1:0] bits indicates which register bank is active according to Table 27-10.
BKSEL[1:0]
Table 27-10. Flash Register Bank Selects
BKSEL[1:0]
00
01
Selected Block
Flash Block 0
Flash Block 1
Freescale Semiconductor
MC9S12XDP512 Data Sheet, Rev. 2.21
1117
|
▷ |