beautypg.com

Copy value block – ACS ACR1283L User Manual

Page 28

background image

ACR1283L – Reference Manual

[email protected]

Version 1.00

www.acs.com.hk

Page 28 of 55

bytes).


Example 1: Decimal –4 = {0xFFh, 0xFFh, 0xFFh, 0xFCh}

Value

MSB

LSB

FFh

FFh

FFh

FCh


Example 2: Decimal 1 = {0x00h, 0x00h, 0x00h, 0x01h}

Value

MSB

LSB

00h

00h

00h

01h


Read Value Block Response Codes

Results

SW1 SW2

Meaning

Success

90 00h

The operation is completed successfully.

Error

63 00h

The operation is failed.

5.3.2.2.7. Copy Value Block

This command is used to copy a value from a value block to another value block.

Copy Value Block APDU Format (7 Bytes)

Command

Class INS

P1

P2

Lc

Data In

Value Block

Operation

FFh

D7h

00h

Source Block

Number

02h

03h

Target Block

Number

Where:

Source Block Number (1 Byte): The value of the source value block will be copied to the

target value block.

Target Block Number (1 Byte):

The value block to be restored. The source and target value

blocks must be in the same sector.


Copy Value Block Response Format (2 Bytes)

Response

Data Out

Result

SW1

SW2


Copy Value Block Response Codes

Results

SW1 SW2

Meaning

Success

90 00h

The operation is completed successfully.

Error

63 00h

The operation is failed.