Write_memory_card, Verify_password – ACS ACR33U-A1 SmartDuo Smart Card Reader User Manual

Page 33

Advertising
background image

ACR33U-A1 – Reference Manual

[email protected]

Version 1.02

www.acs.com.hk

Page 33 of 60

Response data format (abData field in the RDR_to_PC_DataBlock)

BYTE 1 … … BYTE N SW1 SW2

Where:

BYTE x: Data read from memory card
SW1, SW2 = 90 00h if no error

8.3.3.3. WRITE_MEMORY_CARD

Command format (abData field in the PC_to_RDR_XfrBlock)

Pseudo-APDU

CLA INS P1 Bye Address MEM_L Byte 1 .... .... Byte n

FFh

00h

Where:

INS

= D0h for writing zone 00b
= D1h for writing zone 01b
= D2h for writing zone 10b
= D3h for writing zone 11b
= D4h for writing fuse

Byte Address: Memory address location of the memory card
MEM_L:

Length of data to be written to the memory card

MEM_D:

Data to be written to the memory card


Response data format (abData field in the RDR_to_PC_DataBlock)

SW1 SW2

Where:

SW1, SW2 = 90 00h if no error

8.3.3.4. VERIFY_PASSWORD

Command format (abData field in the PC_to_RDR_XfrBlock)

Pseudo-APDU

CLA INS P1 P2 Lc Pw(0) Pw(1) Pw(2)

FFh 20h 00h

03h

Where:

Pw(0),Pw(1),Pw(2): Passwords to be sent to memory card

Advertising