beautypg.com

Read_memory_card, Write_memory_card – ACS ACR38K Smart Keyboard User Manual

Page 23

background image

ACR38x (CCID) – Reference Manual

[email protected]

Version 6.04

www.acs.com.hk

Page 23 of 58

9.3.2.3. READ_MEMORY_CARD

Command Format (abData field in the PC_to_RDR_XfrBlock)

Pseudo-APDU

CLA INS

Byte Address

MEM_L

MSB

LSB

FFh

Where:

INS

= B0h for 32, 64, 128, 256, 512kbit iic card
= 1011 000*b for 1024kbit iic card,
where * is the MSB of the 17 bit addressing

Byte Address

Memory address location of the memory card

MEM_L

Length of data to be read from the memory card


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

9.3.2.4. WRITE_MEMORY_CARD

Command Format (abData field in the PC_to_RDR_XfrBlock)

Pseudo-APDU

CLA INS

Byte Address

MEM_L Byte 1 .... .... Byte n

MSB

LSB

FFh

Where:

INS

= D0h for 32, 64, 128, 256, 512 kbit iic card
= 1101 000*b for 1024 kbit iic card,
where * is the MSB of the 17 bit addressing

Byte Address

Memory address location of the memory card

MEM_L

Length of data to be written to the memory card

Byte x

Data to be written to the memory card