ACR3801 – Reference Manual
Version 2.01
www.acs.com.hk
Page 56 of 62
Where:
SW1 SW2
= 90 00h if no error
8.3.9.5. ERASE_APPLICATION_ZONE_WITH_ERASE
This command can be used in the following cases:
1. AT88SC101: To erase the data in Application Zone with EC Function Disabled.
2. AT88SC102: To erase the data in Application Zone 1.
3. AT88SC102: To erase the data in Application Zone 2 with EC2 Function Disabled.
4. AT88SC1003: To erase the data in Application Zone 1.
5. AT88SC1003: To erase the data in Application Zone 2 with EC2 Function Disabled.
6. AT88SC1003: To erase the data in Application Zone 3.
The following actions are executed for this command:
1. Present the specified code to the card
a. Erase the presentation error counter. The data in corresponding Application Zone can be
erased when the submitted code is correct.
Command Format (
abData
field in the
PC_to_RDR_XfrBlock
)
Pseudo-APDU
CLA INS
Error
Counter LEN
Byte
Address MEM_L
CODE
Byte 1 Byte 2 … … Byte N
FFh
20h
00h
Where:
Error Counter LEN
Length of presentation error counter in bits. The value should be
0x00h always.
Byte Address
Byte address of the Application Zone Key in the card. Please refer to
the table below for the correct value.
Byte
Address LEN
AT88SC101: Erase Application Zone with EC function
disabled
96h
04h
AT88SC102: Erase Application Zone 1
56h
06h
AT88SC102: Erase Application Zone 2 with EC2 function
disabled
9Ch
04h
AT88SC1003: Erase Application Zone 1
36h
06h
AT88SC1003: Erase Application Zone 2 with EC2
function disabled
5Ch
04h
AT88SC1003: Erase Application Zone 3
C0h
06h