Erase_Application_Zone_With_Write_And_Erase - ACS ACR3x mobile Reference Manual

Hide thumbs Also See for ACR3x mobile:
Table of Contents

Advertisement

MEM_L
CODE
Response Data Format
SW1
SW2
Where:
SW1 SW2 = 90 00h if no error
Note:
After SW1 SW2 = 90 00h has been received, read back the data in Application Zone to
check if the ERASE_APPLICATION_ZONE_WITH_ERASE is correct. If all data in Application
Zone is erased and is equal to "FFh," the previous verification is successful.
8.9.6.

ERASE_APPLICATION_ZONE_WITH_WRITE_AND_ERASE

This command can be used in the following cases:
1. AT88SC101: To erase the data in Application Zone with EC Function Enabled.
2. AT88SC102: To erase the data in Application Zone 2 with EC2 Function Enabled.
3. 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 undamaged and in "1" state), the
following actions are executed:
1. Present the specified code to the card.
2. Search a '1' bit in the presentation error counter and write the bit to '0'.
3. Erase the presentation error counter. The data in corresponding Application Zone can be
erased when the submitted code is correct.
Command Format
CLA
INS
FFh
20h
Where:
Error Counter LEN
Byte Address
ACR3x – Reference Manual
Version 1.03
AT88SC1003: Erase Application Zone 2
with EC2 function disabled
AT88SC1003: Erase Application Zone 3
Length of the Erase Key. Please refer to the table above for the
correct value.
N bytes of Erase Key
Pseudo-APDU
Error
Byte
Counter LEN
Address
80h
Length of presentation error counter in bits. The value should be 80h
always.
Byte address of the Application Zone Key in the card
MEM_L
Byte 1
Byte 2
04h
Byte
LEN
Address
5Ch
04h
C0h
06h
CODE
Byte 3
Byte 4
Page 53 of 77
info@acs.com.hk
www.acs.com.hk

Advertisement

Table of Contents
loading

Table of Contents