mc9s08jm60 Freescale Semiconductor, Inc, mc9s08jm60 Datasheet - Page 53

no-image

mc9s08jm60

Manufacturer Part Number
mc9s08jm60
Description
Hcs08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc9s08jm60CGT
Manufacturer:
FREESCALE
Quantity:
5 200
Part Number:
mc9s08jm60CGT
Manufacturer:
FREESCALE
Quantity:
5 200
Part Number:
mc9s08jm60CLD
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc9s08jm60CLDR
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc9s08jm60CLH
Manufacturer:
FREESCALE
Quantity:
2 500
Part Number:
mc9s08jm60CLH
Manufacturer:
FREESCALE
Quantity:
20 000
Part Number:
mc9s08jm60CLHE
Manufacturer:
AZBIL
Quantity:
1 000
A partial command sequence can be aborted manually by writing a 0 to FCBEF any time after the write to
the memory array and before writing the 1 that clears FCBEF and launches the complete command.
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 only must
be done once following a reset.
Freescale Semiconductor
2. Write the command code for the desired command to FCMD. The five valid commands are blank
3. Write a 1 to the FCBEF bit in FSTAT to clear FCBEF and launch the command (including its
check (0x05), byte program (0x20), burst program (0x25), page erase (0x40), and mass erase
(0x41). The command code is latched into the command buffer.
address and data information).
FLASH PROGRAM AND
ERASE FLOW
Figure 4-2
Figure 4-2. Flash Program and Erase Flowchart
MC9S08JM60 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
AND CLEAR FCBEF
TO LAUNCH COMMAND
WRITE TO FCDIV
WRITE 1 TO FCBEF
WRITE TO FLASH
CLEAR ERROR
FACCERR ?
FPVIOL OR
FACCERR ?
FCCF ?
START
DONE
1
NO
1
(Note 1)
(Note 2)
YES
0
Note 2: Wait at least four bus cycles
Note 1: Required only once after reset.
ERROR EXIT
before checking FCBEF or FCCF.
Chapter 4 Memory
53

Related parts for mc9s08jm60