Advanced Card Systems Limited ACR1281U 사용자 설명서

다운로드
페이지 79
ACR1281U 
 
 
 Advanced Card Systems Ltd. 
Page 68 of 81 
•  SW1, SW2 
= 90 00 if no error.   
 
Note:  After SW1SW2 = 90 00 has been received, read back the data in Application Zone can 
check whether the Erase Application Zone with Erase is correct.  If all data in Application Zone is 
erased and equals to “FF”, the previous verification is success. 
 
9.6 Erase Application Zone with Write and Erase 
This command can be used in the following cases: 
-  AT88SC101: To erase the data in Application Zone with EC Function Enabled 
-  AT88SC102: To erase the data in Application Zone 2 with EC2 Function Enabled 
-  AT88SC1003: To erase the data in Application Zone 2 with EC2 Function Enabled 
With EC or EC2 Function Enabled (that is, ECEN or EC2EN Fuse is unblown and in “1” state), 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 data in corresponding Application Zone can be 
erased when the submitted code is correct.    
•  Command format  
 
Pseudo-APDU 
CODE 
CLA 
INS 
Error Counter 
LEN 
Byte 
Address  
MEM_L 
Byte 1 
Byte 2 
Byte 3 
Byte 4 
FF 
H
 
20 
H
 
80
H
 
 
04 
H
 
 
 
 
 
 
Error Counter LEN 
Length of presentation error counter in bits.  The value should be 80 always.
 
Byte Address 
 Byte address of the Application Zone Key in the card.
   
 
 
Byte Address 
AT88SC101  
96 
H
 
AT88SC102 
9C 
H
 
AT88SC1003 
5C 
H
 
 
CODE
 
4 bytes Erase Key
 
 
•  Response data format  
 
SW1 
SW2 
 
 
 
 
 
•  SW1, SW2 
= 90 00 if no error.   
= 63 00 if there is no more retry chance 
 
Note:  After SW1SW2 = 90 00 has been received, read back the data in Application Zone can 
check whether the Erase Application Zone with Write and Erase is correct.  If all data in 
Application Zone is erased and equals to “FF”, the previous verification is success.