English
Language : 

SRTAG2KL Datasheet, PDF (31/51 Pages) STMicroelectronics – NFC Forum Type 4 Tag IC with 2-Kbit EEPROM
SRTAG2KL
RF command sets
5.6.8
UpdateBinary command
On receiving the UpdateBinary command, the SRTAG2KL writes the data field into the
selected file and sends back a status in the R-APDU response. If needed, SRTAG2KL will
request a timing extension (see Section 5.4).
Before sending an UpdateBinary command, a file shall be selected by issuing a Select
command.
Table 32 defines the UpdateBinary command.
Table 32. C-APDU of the UpdateBinary command
Name
CLA
INS
P1 & P2
Lc
Data
Le
0x00
0xD6
2 bytes
1 byte
Lc bytes
-
Class byte
Write instruction code
Offset in the file selected
Number of bytes of data (0x01 ≤ Lc ≤ 0xF6)
Data to write in the SRTAG2KL memory
(empty field)
Note:
Note: For further return codes and definitions, refer to Section 5.6.2: Status and error codes.
Table 33 defines the R-APDU of the UpdateBinary command.
Length
Value
Value
Value
Value
Value
Value
Table 33. R-APDU of the UpdateBinary command
Data
SW1
SW2
Comment
-
1 byte
1 byte -
-
0x90
0x00
Command completed
-
0x65
0x81
Unsuccessful updating
-
0x67
0x00
-
-
0x69
0x82
Security status not satisfied
-
0x6A
0x82
File or application not found
-
0x6E
0x00
-
Note:
For further return codes and definitions, refer to Status and error codes.
DocID026583 Rev 2
31/51