Applied Instructions
1, Written of a word
D0FWRT FD0
X0
S· D·
2, Written of double word
D0DFWRT FD0
X1
S· D·
3, Written of multi-word
D0FWRT FD0
X2
K3
S· D1·
D3·
Note:1, FWRT instruction only allow to write data into FlashROM register. In this storage area,
even battery drop, data could be stored. So it could be used to store important technical
parameters.
2, Written of FWRT needs a long time, about 150ms, so, frequently operate this operation is
not recommended.
3, The written time of FlashROM is about 1,000,000 times. So, we suggest using edge
signals (LDP、LDF etc.) to trigger.
※ Frequently written of FlashROM will ruin FlashROM forever.
[FWRT]
16 bits instruction:FWRT 32 bits instruction:DFWRT
Suitable Models:
XC1、XC3、XC5
Function:write value in D0 into FD0
Function:write value in D0、D1 into FD0、FD1
Function:write value in D0、D2、D3 into FD0、FD1、FD2.
Function
Suitable Device
Word
Device
Bit
Device
X
Y
M
S
T
C
Dn.m
D·
S·
D
FD
DM
DX
DY
DS
TD
CD
K/H
86