Advanced Card Systems Limited ACR1281U 사용자 설명서

다운로드
페이지 79
ACR1281U 
 
 
 Advanced Card Systems Ltd. 
Page 63 of 81 
Pseudo-APDU
 
CLA 
INS 
P1 
Byte 
Address 
MEM_L 
Byte 1 
.... 
.... 
Byte N 
FF 
H
 
D0 
H
 
00 
H
 
 
 
 
 
 
 
 
Byte Address 
= Memory address location of the memory card.
 
MEM_L 
 
Length of data to be written to the memory card.
 
BYTE 
 
Byte value to be written to the card
 
•  Response data format  
 
SW1 
SW2 
 
 
 
 
 
•  SW1, SW2 
= 90 00 if no error 
 
8.4 Erase Scratch Pad Memory Card 
To erase the data of the scratch pad memory of the inserted card.  All memory bits inside the 
scratch pad memory will be programmed to the state of ‘1’. 
•  Command format  
 
Pseudo-APDU
 
CLA 
INS 
P1 
Byte 
Address 
MEM_L 
FF 
H
 
D2 
H
 
00 
H
 
 
00 
H
 
 
Byte Address 
= Memory byte address location of the scratch pad.  Typical value is 0x02.
 
•  Response data format  
 
SW1 
SW2 
 
 
 
 
 
•  SW1, SW2 
= 90 00 if no error 
 
8.5 Verify User Code 
To submit User Code (2 bytes) to the inserted card.  User Code is to enable the memory access of 
the card. 
The following actions are executed: 
-   present the specified code to the card 
-   search a '1' bit in the presentation error counter and write the bit to '0' 
-   erase the presentation error counter.  The User Error Counter can be erased when 
the submitted code is correct.   
•  Command format