mc9s12xd256 Freescale Semiconductor, Inc, mc9s12xd256 Datasheet - Page 1136

no-image

mc9s12xd256

Manufacturer Part Number
mc9s12xd256
Description
Hcs12x Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc9s12xd256CAA
Manufacturer:
FREESCALE
Quantity:
3 564
Part Number:
mc9s12xd256CAA
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc9s12xd256CAA
Manufacturer:
FREESCALE
Quantity:
3 564
Part Number:
mc9s12xd256CAG
Manufacturer:
FREESCALE
Quantity:
1 540
Part Number:
mc9s12xd256CAG
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Chapter 27 512 Kbyte Flash Module (S12XFTX512K4V2)
27.4.2.3
The program operation will program a previously erased word in the Flash memory using an embedded
algorithm.
An example flow to execute the program operation is shown in
sequence is as follows:
If a word to be programmed is in a protected area of the Flash block, the PVIOL flag in the FSTAT register
will set and the program command will not launch. Once the program command has successfully launched,
the CCIF flag in the FSTAT register will set after the program operation has completed unless a new
command write sequence has been buffered. By executing a new program command write sequence on
sequential words after the CBEIF flag in the FSTAT register has been set, up to 55% faster programming
time per word can be effectively achieved than by waiting for the CCIF flag to set after each program
operation.
1136
1. Write to a Flash block address to start the command write sequence for the program command. The
2. Write the program command, 0x20, to the FCMD register.
3. Clear the CBEIF flag in the FSTAT register by writing a 1 to CBEIF to launch the program
data written will be programmed to the address written. Multiple Flash blocks can be
simultaneously programmed by writing to the same relative address in each Flash block.
command.
Program Command
MC9S12XDP512 Data Sheet, Rev. 2.17
Figure
27-28. The program command write
Freescale Semiconductor

Related parts for mc9s12xd256