mcf51jf128 Freescale Semiconductor, Inc, mcf51jf128 Datasheet - Page 532

no-image

mcf51jf128

Manufacturer Part Number
mcf51jf128
Description
Mcf51jf128 Reference Manual
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mcf51jf128VLH
Manufacturer:
MITSUBISHI
Quantity:
321
Part Number:
mcf51jf128VLH
Manufacturer:
FREESCALE
Quantity:
5 097
Part Number:
mcf51jf128VLH
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mcf51jf128VLH
Manufacturer:
FREESCALE
Quantity:
5 097
Flash Operation in Low-Power Modes
23.4.11.8.1 Flash Sector Programming
The process of programming an entire flash sector using the Program Section command
is as follows:
532
Command not available in current mode/security
An invalid flash address is supplied
Flash address is not 32-bit aligned
The requested section crosses a program flash sector boundary
The requested number of longwords is zero
The space required to store data for the requested number of longwords is more than half the
size of the FlexRAM
The FlexRAM is not set to function as a traditional RAM, i.e. set if RAMRDY=0
The flash address falls in a protected area
Any errors have been encountered during the verify operation
Error Condition
1. If required, execute the Set FlexRAM Function command to make the FlexRAM
2. Launch the Erase Flash Sector command to erase the flash sector to be programmed.
3. Beginning with the starting address of the FlexRAM, sequentially write enough data
4. Execute the Program Section command to program the contents of the section
5. If a flash sector is larger than half the FlexRAM, repeat steps
6. To program additional flash sectors, repeat steps
7. To restore EEPROM functionality, execute the Set FlexRAM Function command to
available as traditional RAM and initialize the FlexRAM to all ones.
to the RAM to fill an entire flash sector or half the FlexRAM, whichever is less. This
area of the RAM serves as the section program buffer.
The section program buffer can be written to while the operation launched in step
is executing, i.e. while CCIF = 0.
program buffer into the selected flash sector.
is completely programmed.
make the FlexRAM available for EEPROM.
Table 23-52. Program Section Command Error Handling
In step 1, the section program buffer was initialized to all
ones, the erased state of the flash memory.
MCF51JF128 Reference Manual, Rev. 2, 03/2011
Preliminary
NOTE
2
through 4.
3
and
Freescale Semiconductor, Inc.
FSTAT[MGSTAT0]
4
FSTAT[ACCERR]
FSTAT[ACCERR]
FSTAT[ACCERR]
FSTAT[ACCERR]
FSTAT[ACCERR]
FSTAT[ACCERR]
FSTAT[ACCERR]
FSTAT[FPVIOL]
until the sector
Error Bit
2

Related parts for mcf51jf128