|
S9S12XS256J0CAL Datasheet, PDF (641/738 Pages) Freescale Semiconductor, Inc – Microcontrollers | |||
|
◁ |
64 KByte Flash Module (S12XFTMR64K1V1)
Upon clearing CCIF to launch the Erase Verify All Blocks command, the Memory Controller will verify
that the entire Flash memory space is erased. The CCIF ï¬ag will set after the Erase Verify All Blocks
operation has completed.
Table 20-32. Erase Verify All Blocks Command Error Handling
Register
Error Bit
Error Condition
ACCERR Set if CCOBIX[2:0] != 000 at command launch
FSTAT
FPVIOL
MGSTAT1
None
Set if any errors have been encountered during the read1
MGSTAT0 Set if any non-correctable errors have been encountered during the read1
1 As found in the memory map for FTMR128K1.
20.4.2.2 Erase Verify Block Command
The Erase Verify Block command allows the user to verify that an entire P-Flash or D-Flash block has been
erased. The FCCOB upper global address bits determine which block must be veriï¬ed.
Table 20-33. Erase Verify Block Command FCCOB Requirements
CCOBIX[2:0]
000
FCCOB Parameters
0x02
Global address [22:16] of the
Flash block to be veriï¬ed.
Upon clearing CCIF to launch the Erase Verify Block command, the Memory Controller will verify that
the selected P-Flash or D-Flash block is erased. The CCIF ï¬ag will set after the Erase Verify Block
operation has completed.
Table 20-34. Erase Verify Block Command Error Handling
Register
Error Bit
Error Condition
ACCERR
Set if CCOBIX[2:0] != 000 at command launch
Set if an invalid global address [22:16] is supplied1
FSTAT
FPVIOL None
MGSTAT1 Set if any errors have been encountered during the read2
MGSTAT0 Set if any non-correctable errors have been encountered during the read2
1 As deï¬ned by the memory map for FTMR128K1.
2 As found in the memory map for FTMR128K1.
20.4.2.3 Erase Verify P-Flash Section Command
The Erase Verify P-Flash Section command will verify that a section of code in the P-Flash memory is
erased. The Erase Verify P-Flash Section command defines the starting point of the code to be verified and
the number of phrases. The section to be verified cannot cross a 128 Kbyte boundary in the P-Flash
memory space.
S12XS Family Reference Manual, Rev. 1.13
Freescale Semiconductor
641
|
▷ |