5 - 10
5 - 10
5. THINGS YOU NEED TO KNOW BEFORE PROGRAMMING
5.3 Write Protect Function
The write protect function is provided to ensure that important data, such as the
product models and types stored in an ID tag, do not get lost by careless writing.
After important data are written, it is recommended that you write-protect the data using
the method described below.
The RFID interface module is provided with a write protect function for enabling/
disabling ID tag write protection.
5.3.1 How to set write protect
Set the write-protect range in the four bytes of addresses 0000
H
to 0003
H
of the ID tag.
Specify the enable/disable setting for using the write protect function using the most
significant bit of the ID tag address 0000
H
.
Table 5.7 Write-Protect Setting Method
Address
Bit
7 6 5 4 3 2 1 0
0000
H
Enable
/Disable
Upper two digits of start address (00 to 7F)
0001
H
Lower two digits of start address (00 to FF)
0002
H
Upper two digits of end address (00 to FF)
0003
H
Lower two digits of end address (00 to FF)
(1) Write protect function enable/disable setting (bit 7 of address 0000
H
)
0 (OFF): Disable (Do not write protect)
1 (ON): Enable (Write protect)
(2) Write protect range setting (address 0000
H
to address 0003
H
)
Start address: 0000
H
to 7FFF
H
End address: 0000
H
to FFFF
H