English
Language : 

MC9S12XD256MAL Datasheet, PDF (1154/1348 Pages) Freescale Semiconductor, Inc – Freescale’s Scalable Controller Area Network
Chapter 28 256 Kbyte Flash Module (S12XFTX256K2V1)
7
6
5
4
3
2
1
0
R
0
W
MRDS
0
0
0
0
0
Reset
0
0
0
0
0
0
0
0
= Unimplemented or Reserved
Figure 28-6. Flash Test Mode Register (FTSTMOD —Normal Mode)
7
6
5
4
3
2
1
0
R
0
W
MRDS
0
0
0
0
WRALL
Reset
0
0
0
0
0
0
0
0
= Unimplemented or Reserved
Figure 28-7. Flash Test Mode Register (FTSTMOD — Special Mode)
MRDS bits are readable and writable while all remaining bits read 0 and are not writable in normal mode.
The WRALL bit is writable only in special mode to simplify mass erase and erase verify operations. When
writing to the FTSTMOD register in special mode, all unimplemented/reserved bits must be written to 0.
Table 28-6. FTSTMOD Field Descriptions
Field
Description
6:5
Margin Read Setting — The MRDS[1:0] bits are used to set the sense-amp margin level for reads of the Flash
MRDS[1:0] array as shown in Table 28-7.
4
WRALL
Write to all Register Banks — If the WRALL bit is set, all banked FDATA registers sharing the same register
address will be written simultaneously during a register write.
0 Write only to the FDATA register bank selected using BKSEL.
1 Write to all FDATA register banks.
Table 28-7. FTSTMOD Margin Read Settings
MRDS[1:0]
Margin Read Setting
00
Normal
01
Program Margin1
10
Erase Margin2
11
Normal
1 Flash array reads will be sensitive to program margin.
2 Flash array reads will be sensitive to erase margin.
28.3.2.4 Flash Configuration Register (FCNFG)
The FCNFG register enables the Flash interrupts and gates the security backdoor writes.
1156
MC9S12XDP512 Data Sheet, Rev. 2.21
Freescale Semiconductor