mc9s12vr48 Freescale Semiconductor, Inc, mc9s12vr48 Datasheet - Page 503

no-image

mc9s12vr48

Manufacturer Part Number
mc9s12vr48
Description
S12 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
17.4.6.15 Program EEPROM Command
The Program EEPROM operation programs one to four previously erased words in the EEPROM block.
The Program EEPROM operation will confirm that the targeted location(s) were successfully programmed
upon completion.
Upon clearing CCIF to launch the Program EEPROM command, the user-supplied words will be
transferred to the Memory Controller and be programmed if the area is unprotected. The CCOBIX index
value at Program EEPROM command launch determines how many words will be programmed in the
EEPROM block. The CCIF flag is set when the operation has completed.
Freescale Semiconductor
Register
FSTAT
A Flash word must be in the erased state before being programmed.
Cumulative programming of bits within a Flash word is not allowed.
Table 17-59. Erase Verify EEPROM Section Command Error Handling
CCOBIX[2:0]
Table 17-60. Program EEPROM Command FCCOB Requirements
MGSTAT1
MGSTAT0
ACCERR
Error Bit
FPVIOL
000
001
010
011
100
101
MC9S12VR Family Reference Manual, Rev. 2.2
Preliminary - Subject to Change Without Notice
Set if CCOBIX[2:0] != 010 at command launch
Set if command not available in current mode (see
Set if an invalid global address [17:0] is supplied
Set if a misaligned word address is supplied (global address [0] != 0)
Set if the requested section breaches the end of the EEPROM block
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 word to be programmed
0x11
Word 1 program value, if desired
Word 2 program value, if desired
Word 3 program value, if desired
CAUTION
Word 0 program value
FCCOB Parameters
Error Condition
identify the EEPROM block
Global address [17:16] to
64 KByte Flash Module (S12FTMRG64K512V1)
Table
17-26)
503

Related parts for mc9s12vr48