English
Language : 

MC9S12HY64 Datasheet, PDF (597/792 Pages) Freescale Semiconductor, Inc – S12 Microcontrollers
1 As defined by the memory map for FTMRC64K1.
2 As found in the memory map for FTMRC64K1.
48 KByte Flash Module (S12FTMRC48K1V1)
16.4.5.4 Read Once Command
The Read Once command provides read access to a reserved 64 byte field (8 phrases) located in the
nonvolatile information register of P-Flash. The Read Once field is programmed using the Program Once
command described in Section 16.4.5.6. The Read Once command must not be executed from the Flash
block containing the Program Once reserved field to avoid code runaway.
Table 16-37. Read Once Command FCCOB Requirements
CCOBIX[2:0]
000
001
010
011
100
101
FCCOB Parameters
0x04
Not Required
Read Once phrase index (0x0000 - 0x0007)
Read Once word 0 value
Read Once word 1 value
Read Once word 2 value
Read Once word 3 value
Upon clearing CCIF to launch the Read Once command, a Read Once phrase is fetched and stored in the
FCCOB indexed register. The CCIF flag will set after the Read Once operation has completed. Valid
phrase index values for the Read Once command range from 0x0000 to 0x0007. During execution of the
Read Once command, any attempt to read addresses within P-Flash block will return invalid data.
8
Table 16-38. Read Once Command Error Handling
Register
FSTAT
Error Bit
ACCERR
FPVIOL
MGSTAT1
MGSTAT0
Error Condition
Set if CCOBIX[2:0] != 001 at command launch
Set if command not available in current mode (see Table 16-27)
Set if an invalid phrase index is supplied
None
Set if any errors have been encountered during the read
Set if any non-correctable errors have been encountered during the read
16.4.5.5 Program P-Flash Command
The Program P-Flash operation will program a previously erased phrase in the P-Flash memory using an
embedded algorithm.
CAUTION
A P-Flash phrase must be in the erased state before being programmed.
Cumulative programming of bits within a Flash phrase is not allowed.
MC9S12HY/HA-Family Reference Manual, Rev. 1.04
Freescale Semiconductor
597