21-32
Seiko Epson Corporation
S1C31D50 TECHNICAL MANUAL
(Rev. 1.00)
21.5.8.
FLASH CRC Start Command
“FLASH CRC Start” command can be set under “mc_state_
idle
” state
.
“FLASH CRC Start” command starts CRC calculation to FLASH,” the state
is moved
to “mc_state_crc” after
the memory check start.
After finishing the memory check, HW Processor makes an interrupt on default and goes to
“mc
_state_idle
”
.
Please check PROCESSING bit field in STATUS register, it show process completed or on processing, and
please check RESULT register, it shows CRC calculation result after process completed, and compare with
original CRC value.
When a state transition is occurred, HW Processor makes an interrupt on default, the interrupt can be
masked by
INTMASK on
“
21.5.11. Memory Check Function Registers
”
.
Table 21.5.8.1 shows
“FLASH CRC Start” command
flow.
Figure 21.5.8.1
“FLASH CRC Start”
Command Flow
Chec
k
Co
m
pl
et
io
n
Check STATE = "mc_state_idle"
“F
LA
SH
C
RC
S
tar
t”
co
m
m
and
Set HWPCMDTRG.HWP0TRG
Set Memory Check COMMAND
-
COMMAND: "
FLASH CRC Start
"
-
MEMADDR
-
MEMSIZE
in Memory Check Function Registers(See Table 21.5.11.1)
Check STATE = "mc_state_crc", if necessary
Cortex Set HW Processor
Wait HWPINTF.HWP0IF = 1
HW Processor interrupts to cortex
Wait HWPINTF.HWP0IF = 1
Co
m
par
e
Compare with original CRC value
Check STATUS register
Get RESULT register
Wait STATE = "mc_state_idle"
Wait STATUS.READY = mc_status_ready
Summary of Contents for S1C31D50
Page 461: ...25 1 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 25 Package TQFP12 48PIN ...
Page 462: ...25 2 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 QFP13 64PIN ...
Page 463: ...25 3 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 TQFP14 80PIN ...
Page 464: ...25 4 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 QFP15 100PIN ...