FXTH870xD
Sensors
24
Freescale Semiconductor, Inc.
Figure 10. FLASH Burst Program Flowchart
4.7.5
Access Errors
An access error occurs whenever the command execution protocol is violated.
Any of the following specific actions will cause the access error flag (FACCERR) in FSTAT to be set. FACCERR must be cleared
by writing a 1 to FACCERR in FSTAT before any command can be processed.
•
Writing to a FLASH address before the internal FLASH clock frequency has been set by writing to the FCDIV register
•
Writing to a FLASH address while FCBEF is not set (A new command cannot be started until the command buffer is empty.)
•
Writing a second time to a FLASH address before launching the previous command (There is only one write to FLASH for
every command.)
•
Writing a second time to FCMD before launching the previous command (There is only one write to FCMD for every
command.)
•
Writing to any FLASH control register other than FCMD after writing to a FLASH address
•
Writing any command code other than the five allowed codes (0x05, 0x20, 0x25, 0x40, or 0x41) to FCMD
•
Accessing (read or write) any FLASH control register other than the write to FSTAT (to clear FCBEF and launch the
command) after writing the command to FCMD.
•
The MCU enters STOP mode while a program or erase command is in progress (The command is aborted.)
1
0
FCBEF?
START
WRITE TO FLASH
TO BUFFER ADDRESS AND DATA
WRITE COMMAND ($25) TO FCMD
NO
YES
FPVIO OR
WRITE 1 TO FCBEF
TO LAUNCH COMMAND
AND CLEAR FCBEF
(2)
NO
YES
NEW BURST COMMAND?
1
0
FCCF?
ERROR EXIT
DONE
Note 2: Wait at least four bus cycles before
1
0
FACCERR?
CLEAR ERROR
FACCERR?
Note 1: Required only once after reset.
WRITE TO FCDIV
(1)
checking FCBEF or FCCF.
FLASH BURST
PROGRAM FLOW
Содержание FXTH870 D Series
Страница 86: ...FXTH870xD Sensors 84 Freescale Semiconductor Inc Figure 57 Data Flow For Measurements...
Страница 170: ...FXTH870xD Sensors 168 Freescale Semiconductor Inc 19 Package Outline Figure 127 QFN Case Outline...
Страница 171: ...FXTH870xD Sensors Freescale Semiconductor Inc 169 Figure 128 QFN Case Outline...
Страница 172: ...FXTH870xD Sensors 170 Freescale Semiconductor Inc Figure 129 QFN Case Outline...
Страница 173: ...FXTH870xD Sensors Freescale Semiconductor Inc 171...