MC9S08JM16CGTE FREESCALE [Freescale Semiconductor, Inc], MC9S08JM16CGTE Datasheet - Page 49

no-image

MC9S08JM16CGTE

Manufacturer Part Number
MC9S08JM16CGTE
Description
Microcontrollers
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
Aborting a command in this way sets the FACCERR access error flag which must be cleared before
starting a new command.
A strictly monitored procedure must be obeyed or the command will not be accepted. This minimizes the
possibility of any unintended changes to the flash memory contents. The command complete flag (FCCF)
indicates when a command is complete. The command sequence must be completed by clearing FCBEF
to launch the command.
programming. The FCDIV register must be initialized before using any flash commands. This must be
done once following a reset.
4.5.4
The burst program command is used to program sequential bytes of data in less time than would be
required using the standard program command. This is possible because the high voltage to the flash array
does not need to be disabled between program operations. Ordinarily, when a program or erase command
Freescale Semiconductor
Burst Program Execution
1
2
FLASH PROGRAM AND
Required only once after reset.
Wait at least four bus cycles before checking FCBEF or FCCF.
ERASE FLOW
Figure 4-2
Figure 4-2. Flash Program and Erase Flowchart
MC9S08JM16 Series Data Sheet, Rev. 2
is a flowchart for executing all of the commands except for burst
0
TO BUFFER ADDRESS AND DATA
WRITE COMMAND TO FCMD
TO LAUNCH COMMAND
AND CLEAR FCBEF
WRITE 1 TO FCBEF
WRITE TO FCDIV
WRITE TO FLASH
CLEAR ERROR
FPVIOL OR
FACCERR?
FACCERR?
FCCF?
START
DONE
1
NO
1
1
2
YES
0
ERROR EXIT
Chapter 4 Memory
49

Related parts for MC9S08JM16CGTE