Freigeben über


Update-Binary command

The Update-Binary command is used to write data to the contactless NFC tag/card. The command is applicable only for storage cards (MIFARE Classic/UL, Felica, ISO15693 and Jewel/Topaz cards). The format of the request and response for the command is as described below.

Command Class INS P1 P2 Lc Data In
Update-Binary 0xFF 0xD6 Address MSB Address LSB Length of Data In Data

 

MIFARE Family

Command CLA INS P1 P2 Lc
UL WRITE 4 0xFF 0xD6 0x00 0x00 to 0x15 0x04
CL 1k WRITE 16 0xFF 0xD6 0x00 0x00 to 0x3F 0x10
CL 4k WRITE 16 0xFF 0xD6 0x00 0x00 to 0xFF 0x10

 

Jewel Family

Command CLA INS P1 P2 Lc
WRITE1-E 0xFF 0xD6 Block Number Block Offset 0x01
WRITE8-E 0xFF 0xD6 Block Number 0x00 0x08

 

Felica Family

CommandCLAINSP1P2LcData In
UPDATE0xFF0xD60x000x00Length of Data InNumber of ServiceService code listNumber of blocksBlock list

 

ISO15693 Family

Command CLA INS P1 P2 Le
WRITE 0xFF 0xD6 Block Number 0x00 0x4

 

Response Format

Response
SW1SW2

 

Near field communication (NFC) design guide

Smart card design guide

 

 

Send comments about this topic to Microsoft