mcf51jf128 Freescale Semiconductor, Inc, mcf51jf128 Datasheet - Page 584

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
Command Definition
25.3.1.6 Section Program
The Section Program (SP) command programs up to one section of flash memory which
has previously been erased. A section is defined as the smaller of the flash sector size or
half the size of the FlexRAM. The starting address of the memory to program is sent after
the command word and must be a 32-bit aligned address (the two LSBs must be zero).
As data is shifted in, the EzPort buffers the data in FlexRAM before executing a 'Program
Section' command within the flash (see Flash Block Guide for more detail). For this
reason, the number of bytes to program must be a multiple of 4 and up to one flash
section can be programmed at a time.
Attempts to program more than one section, across a sector boundary or from an initial
address which does not fall within the valid address range (see
Flash Memory Map for
EzPort
Access) for the flash causes the WEF flag to set.
This command requires the FlexRAM to be configured for traditional RAM operation.
By default, after entering EzPort mode, the FlexRAM is configured for traditional RAM
operation. If the user reconfigures FlexRAM for EEPROM operation (see Flash Memory
chapter for details on how FlexRAM function is modified), then the user should use the
WRFCCOB command to configure FlexRAM back to traditional RAM operation before
issuing a SP command.
This command is not accepted if the WEF, WIP, FLEXRAM, or FS bit is set or if the
WEN bit is not set in the EzPort status register.
25.3.1.7 Sector Erase
The Sector Erase (SE) command erases the contents of one sector of flash memory. The
three byte address sent after the command byte can be any address within the sector to
erase, but must be a 32-bit aligned address (the two LSBs must be zero). Attempts to
erase from an initial address which does not fall within the valid address range (see
Flash
Memory Map for EzPort
Access) for the flash results in the WEF flag being set.
This command is not accepted if the WEF, WIP or FS bit is set or if the WEN bit is not
set in the EzPort status register.
MCF51JF128 Reference Manual, Rev. 2, 03/2011
Preliminary
584
Freescale Semiconductor, Inc.

Related parts for mcf51jf128