mc9s12vr48 Freescale Semiconductor, Inc, mc9s12vr48 Datasheet - Page 494

no-image

mc9s12vr48

Manufacturer Part Number
mc9s12vr48
Description
S12 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
64 KByte Flash Module (S12FTMRG64K512V1)
17.4.6.5
The Program P-Flash operation will program a previously erased phrase in the P-Flash memory using an
embedded algorithm.
Upon clearing CCIF to launch the Program P-Flash command, the Memory Controller will program the
data words to the supplied global address and will then proceed to verify the data words read back as
expected. The CCIF flag will set after the Program P-Flash operation has completed.
494
8
Register
FSTAT
Program P-Flash Command
A P-Flash phrase must be in the erased state before being programmed.
Cumulative programming of bits within a Flash phrase is not allowed.
1
CCOBIX[2:0]
Table 17-38. Program P-Flash Command FCCOB Requirements
Global address [2:0] must be 000
MGSTAT1
MGSTAT0
ACCERR
Error Bit
FPVIOL
000
001
010
011
100
101
Table 17-37. Read Once Command Error Handling
MC9S12VR Family Reference Manual,
Preliminary - Subject to Change Without Notice
Set if CCOBIX[2:0] != 001 at command launch
Set if command not available in current mode (see
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
Global address [15:0] of phrase location to be programmed
0x06
CAUTION
Word 0 program value
Word 1 program value
Word 2 program value
Word 3 program value
FCCOB Parameters
Error Condition
Global address [17:16] to
identify P-Flash block
Rev. 2.2
Table
17-26)
1
Freescale Semiconductor

Related parts for mc9s12vr48