mc9s12vr48 Freescale Semiconductor, Inc, mc9s12vr48 Datasheet - Page 492

no-image

mc9s12vr48

Manufacturer Part Number
mc9s12vr48
Description
S12 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
64 KByte Flash Module (S12FTMRG64K512V1)
17.4.6.2
The Erase Verify Block command allows the user to verify that an entire P-Flash or EEPROM block has
been erased. The FCCOB global address bits determine which block must be verified.
Upon clearing CCIF to launch the Erase Verify Block command, the Memory Controller will verify that
the selected P-Flash or EEPROM block is erased. The CCIF flag will set after the Erase Verify Block
operation has completed.If the block is not erased, it means blank check failed, both MGSTAT bits will be
set.
17.4.6.3
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.
Upon clearing CCIF to launch the Erase Verify P-Flash Section command, the Memory Controller will
verify the selected section of Flash memory is erased. The CCIF flag will set after the Erase Verify P-Flash
Section operation has completed. If the section is not erased, it means blank check failed, both MGSTAT
bits will be set.
492
Register
FSTAT
Erase Verify Block Command
Erase Verify P-Flash Section Command
Table 17-34. Erase Verify P-Flash Section Command FCCOB Requirements
CCOBIX[2:0]
Table 17-32. Erase Verify Block Command FCCOB Requirements
MGSTAT1
MGSTAT0
ACCERR
Error Bit
FPVIOL
Table 17-33. Erase Verify Block Command Error Handling
CCOBIX[2:0]
000
000
001
010
MC9S12VR Family Reference Manual,
Preliminary - Subject to Change Without Notice
Set if CCOBIX[2:0] != 000 at command launch
Set if an invalid global address [17:16] is supplied
None
Set if any errors have been encountered during the read or if blank check failed.
Set if any non-correctable errors have been encountered during the read or if
blank check failed.
Global address [15:0] of the first phrase to be verified
0x02
Number of phrases to be verified
0x03
FCCOB Parameters
FCCOB Parameters
Global address [17:16] of
Global address [17:16] of the
Error Condition
Flash block to be verified
a P-Flash block
Rev. 2.2
.
Freescale Semiconductor

Related parts for mc9s12vr48