03.08.2013 Views

MC9S12VR-Family - Data Sheet - Freescale Semiconductor

MC9S12VR-Family - Data Sheet - Freescale Semiconductor

MC9S12VR-Family - Data Sheet - Freescale Semiconductor

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Table 17-35. Erase Verify P-Flash Section Command Error Handling<br />

Register Error Bit Error Condition<br />

FSTAT<br />

ACCERR<br />

FPVIOL None<br />

17.4.6.4 Read Once Command<br />

Set if CCOBIX[2:0] != 010 at command launch<br />

<strong>MC9S12VR</strong> <strong>Family</strong> Reference Manual, Rev. 2.8<br />

64 KByte Flash Module (S12FTMRG64K512V1)<br />

Set if command not available in current mode (see Table 17-26)<br />

Set if an invalid global address [17:0] is supplied see )<br />

Set if a misaligned phrase address is supplied (global address [2:0] != 000)<br />

Set if the requested section crosses a the P-Flash address boundary<br />

MGSTAT1 Set if any errors have been encountered during the read or if blank check failed.<br />

MGSTAT0<br />

Set if any non-correctable errors have been encountered during the read or if<br />

blank check failed.<br />

The Read Once command provides read access to a reserved 64 byte field (8 phrases) located in the<br />

nonvolatile information register of P-Flash. The Read Once field is programmed using the Program Once<br />

command described in Section 17.4.6.6. The Read Once command must not be executed from the Flash<br />

block containing the Program Once reserved field to avoid code runaway.<br />

Table 17-36. Read Once Command FCCOB Requirements<br />

CCOBIX[2:0] FCCOB Parameters<br />

000 0x04 Not Required<br />

001 Read Once phrase index (0x0000 - 0x0007)<br />

010 Read Once word 0 value<br />

011 Read Once word 1 value<br />

100 Read Once word 2 value<br />

101 Read Once word 3 value<br />

Upon clearing CCIF to launch the Read Once command, a Read Once phrase is fetched and stored in the<br />

FCCOB indexed register. The CCIF flag will set after the Read Once operation has completed. Valid<br />

phrase index values for the Read Once command range from 0x0000 to 0x0007. During execution of the<br />

Read Once command, any attempt to read addresses within P-Flash block will return invalid data.<br />

<strong>Freescale</strong> <strong>Semiconductor</strong> 491

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!