mc9s08rd60fj Freescale Semiconductor, Inc, mc9s08rd60fj Datasheet - Page 55

no-image

mc9s08rd60fj

Manufacturer Part Number
mc9s08rd60fj
Description
Hcs08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
FCCF — FLASH Command Complete Flag
FPVIOL — Protection Violation Flag
FACCERR — Access Error Flag
FBLANK — FLASH Verified as All Blank (erased) Flag
4.6.6 FLASH Command Register (FCMD)
Only four command codes are recognized in normal user modes as shown in
4.4.3 Program and Erase Command Execution
operations.
Freescale Semiconductor
FCCF is set automatically when the command buffer is empty and no command is being processed.
FCCF is cleared automatically when a new command is started (by writing 1 to FCBEF to register a
command). Writing to FCCF has no meaning or effect.
FPVIOL is set automatically when FCBEF is cleared to register a command that attempts to erase or
program a location in a protected block (the erroneous command is ignored). FPVIOL is cleared by
writing a 1 to FPVIOL.
FACCERR is set automatically when the proper command sequence is not followed exactly (the
erroneous command is ignored), if a program or erase operation is attempted before the FCDIV register
has been initialized, or if the MCU enters stop while a command was in progress. For a more detailed
discussion of the exact actions that are considered access errors, see
is cleared by writing a 1 to FACCERR. Writing a 0 to FACCERR has no meaning or effect.
FBLANK is set automatically at the conclusion of a blank check command if the entire FLASH array
was verified to be erased. FBLANK is cleared by clearing FCBEF to write a new valid command.
Writing to FBLANK has no meaning or effect.
1 = All commands complete
0 = Command in progress
1 = An attempt was made to erase or program a protected location.
0 = No protection violation.
1 = An access error has occurred.
0 = No access error.
1 = After a blank check command is completed and FCCF = 1, FBLANK = 1 indicates the FLASH
0 = After a blank check command is completed and FCCF = 1, FBLANK = 0 indicates the FLASH
array is completely erased (all $FF).
array is not completely erased.
Reset:
Read:
Write:
Figure 4-9 FLASH Command Register (FCMD)
FCMD7
Bit 7
0
0
FCMD6
6
0
0
MC9S08RC/RD/RE/RG
for a detailed discussion of FLASH programming and erase
FCMD5
5
0
0
FCMD4
4
0
0
FCMD3
SoC Guide — MC9S08RG60/D Rev 1.10
3
0
0
4.4.5 Access
FCMD2
Table
2
0
0
4-10. Refer to
FCMD1
Errors. FACCERR
1
0
0
FCMD0
Bit 0
0
0
55

Related parts for mc9s08rd60fj