English
Language : 

K60P100M100SF2RM Datasheet, PDF (666/1809 Pages) Freescale Semiconductor, Inc – K60 Sub-Family Reference Manual
Flash Operation in Low-Power Modes
After clearing CCIF to launch the Read Resource command, four consecutive bytes are
read from the selected resource at the provided relative address and stored in the FCCOB
register. The CCIF flag sets after the Read Resource operation completes. The Read
Resource command exits with an access error if an invalid resource code is provided or if
the address for the applicable area is out-of-range.
Table 28-45. Read Resource Command Error Handling
Error Condition
Command not available in current mode/security
An invalid resource code is entered
Flash address is out-of-range for the targeted resource.
Flash address is not longword aligned
Error Bit
FSTAT[ACCERR]
FSTAT[ACCERR]
FSTAT[ACCERR]
FSTAT[ACCERR]
28.4.12.5 Program Longword Command
The Program Longword command programs four previously-erased bytes in the program
flash memory or in the data flash memory using an embedded algorithm.
CAUTION
A Flash memory location must be in the erased state before
being programmed. Cumulative programming of bits (back-to-
back program operations without an intervening erase) within a
Flash memory location is not allowed. Re-programming of
existing 0s to 0 is not allowed as this overstresses the device.
Table 28-46. Program Longword Command FCCOB Requirements
FCCOB Number
0
1
2
3
4
5
6
7
FCCOB Contents [7:0]
0x06 (PGM4)
Flash address [23:16]
Flash address [15:8]
Flash address [7:0]1
Byte 0 program value
Byte 1 program value
Byte 2 program value
Byte 3 program value
1. Must be longword aligned (Flash address [1:0] = 00).
K60 Sub-Family Reference Manual, Rev. 6, Nov 2011
666
Freescale Semiconductor, Inc.