AN2153 Freescale Semiconductor / Motorola, AN2153 Datasheet - Page 16

no-image

AN2153

Manufacturer Part Number
AN2153
Description
A Serial Bootloader for Reprogramming the MC9S12DP256 FLASH Memory
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
Application Note
16
aligned word address remains within the same 64-byte row. Therefore,
to minimize programming times, blocks of data to be programmed into
the FLASH array should begin on a 64-byte boundary and be a multiple
of 64 bytes.
Verification of programmed data should be performed only after a block
of data has been programmed and all programming commands have
completed. Performing a read operation on the FLASH array while a
programming command is executing will cause the ACCERR flag to be
set and all current and pending commands are terminated.
Freescale Semiconductor, Inc.
For More Information On This Product,
TO FCMD REGISTER
WRITE BKSEL[1:0]
WRITE COMMAND
WRITE ALIGNED
WRITE PPAGE
DATA WORD
REGISTER
CBEIF
FLAG
BITS
SET
?
YES
Go to: www.freescale.com
Figure 9. Programming Flowchart
NO
DELAY 5 BUS CYCLES
CLEAR CBEIF FLAG
WITH DATA
FLAG SET
OR PVIOL
ACCERR
BLOCK
DONE
?
?
NO
NO
YES
BLOCK PROGRAM
PROTECTED OR
BAD COMMAND
FLASH ARRAY
COMPLETED
MOTOROLA
AN2153

Related parts for AN2153