EHUOYAN
YHY522R
RFID module
Page 28 of 36
Description
AA BB
02
26
24
Head
Length
Status
BCC
Receive(Failure)
AA BB 02 D9 DB
Description
AA BB
02
D9
DB
Head
Length
Error
BCC
14.2.24
Value_Backup
This command will backup one block value to another block in the same
Sector.
Table 77. Command--:Host
Æ
YHY522R
Send
Header
Length
Command
Data
XOR Checksum
0xAA
0xBB
0x0B
0x27
Backup Info:
9 bytes
BCC
Backup Info: Key type + Key + Source block + Target block
Key type: 1 byte, 0x00—Key A, 0x01—Key B
Key: 6 bytes, default “FFFFFFFFFFFF” (*)
Source block: 1 byte
Target block: 1 byte
(*)Note: If auth mode is “1”, then this key is not active, it can be any 6 data bytes.
Table 78. Response--: YHY522R
Æ
Host
Receive
Head
Length
Status
Data
XOR Checksum
Success 0xAA
0xBB 0x02 0x27
0x25
Failure 0xAA
0xBB 0x02
0xD8
0xDA
Table 79. Example
Send
AA BB 0B 27
00 FF FF FF FF FF FF
09 0A
2F
Description
AA BB
0B
27
00
FF FF FF FF FF FF
09
0A
2F
Head
Length
COMMAND
Key type A
Authenticate with Key A
Source Block 9(Sector 02,2nd block )
Target Block 10(Sector 02,3rd
t
block )
BCC
Receive(Success)
AA BB 02 27 25
Description
AA BB
02
27
25
Head
Length
Status
BCC
Receive(Failure)
AA BB 02 D9 DB
Description
AA BB
02
Head
Length