beautypg.com

Erase_non_application_zone – ACS ACR38K Smart Keyboard User Manual

Page 51

background image

ACR38x (CCID) – Reference Manual

[email protected]

Version 6.04

www.acs.com.hk

Page 51 of 58

Command Format (abData field in the PC_to_RDR_XfrBlock)

Pseudo-APDU

CLA INS

P1

Byte Address MEM_L Byte 1 .... .... Byte N

FFh

D0h 00h

Where:

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 (abData field in the RDR_to_PC_DataBlock)

SW1 SW2

Where:

SW1 SW2 = 90 00h if no error

9.3.9.4. ERASE_NON_APPLICATION_ZONE

This command is used to erase the data in Non-Application Zones. The EEPROM memory is

organized into 16-bit words. Although erases are performed on single bit, the ERASE operation clears

an entire word in the memory. Therefore, performing an ERASE on any bit in the word will clear ALL

16 bits of that word to the state of ‘1’.
To erase Error Counter or the data in Application Zones, please refer to the following:

1. ERASE_APPLICATION_ZONE_WITH_ERASE command as specified in

Section 9.3.9.5.

2. ERASE_APPLICATION_ZONE_WITH_WRITE_AND_ERASE command as specified in

Section 9.3.9.6.

3. VERIFY_SECURITY_CODE commands as specified in

Section 9.3.9.7.


Command Format (abData field in the PC_to_RDR_XfrBlock)

Pseudo-APDU

CLA INS

P1

Byte Address MEM_L

FFh

D2h 00h

00h

Where:

Byte Address Memory byte address location of the word to be erased


Response Data Format (abData field in the RDR_to_PC_DataBlock)

SW1 SW2

Where:

SW1 SW2 = 90 00h if no error