UpdateBinary command. STMicroelectronics ST25TA512
Pubblicità
Pubblicità
ST25TA512 RF command sets
Note:
Note:
On receiving the UpdateBinary command, the ST25TA512 writes the data field into the selected file and sends back a status in the R-APDU response. If needed, ST25TA512 will
request a timing extension (see Section 5.4: S-Block format
).
Before sending an UpdateBinary command, a file shall be selected by issuing a Select command.
Table 32 defines the UpdateBinary command.
Name
Table 32. C-APDU of the UpdateBinary command
CLA INS P1 & P2 Lc Data
2 bytes 1 byte Lc bytes 0x00
Class byte
Write instruction code
0xD6
Offset in the file selected
Number of bytes of data (0x01 ≤
Data to write in the ST25TA512 memory
(empty field)
Le
-
Length
Value
Value
Value
Value
Value
Value
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.
Table 33. R-APDU of the UpdateBinary command
Data SW1 SW2 Comment
-
-
-
-
-
-
-
1 byte
0x90
0x65
0x67
0x69
0x6A
0x6E
1 byte
0x00
0x81
0x00
0x82
0x82
0x00
-
Command completed
Unsuccessful updating
-
Security status not satisfied
File or application not found
-
For further return codes and definitions, refer to Section 5.6.2: Status and error codes
.
DocID027776 Rev 4 31/52
49
Scarica
Pubblicità