Smart Card Reader Driver Program Reference Manual
rev 1.1 Sept, 2003
Advanced Card Systems Ltd.
Page 25 of 34
2.3.3.15 ACI_WriteAll
The ACI_WriteAll command is available for the AM256 / AM4KP / X76F041 / X76F128 /
X76F640. For the case of AM256 card and the AM4KP card, it can be used to fill the
complete card memory with the specific value. For the X76F041 card, it can be used to fill the
complete card with the value 0x00. For the case of X76F128 and X76F640 card, prior to using
this command it must have the “Reset Password” being verified OK. The parameter structure
is defined as follow:
Field
Value
Description
CLA 0x00
Instruction
class
INS
ACI_WriteAll
Instruction code
P1
0x00
must be zero
P2
0x00
must be zero
Lc
variable
Case when : -
AM256, AM4KP : Lc = 2
X76FXXX : Lc = 8
DataIn
variable
Case when : -
AM256, AM4KP : data to be filled
X76F041 : configuration password
Le
0x00
No output data expected from this command
2.3.3.16 ACI_SetHE
The ACI_SetHE command is available for the XIIC card only. It can be used to relocate the
High Endurance memory block to the specified block address. The parameter structure is
defined as follow:
Field
Value
Description
CLA 0x00
Instruction
class
INS
ACI_SetHE
Instruction code
P1
0
≤
P1
≤
0x0F
New block number of the High Endurance memory block
P2 -
Don’t
care
Lc
0x00
No input data for this command
DataIn
-
No input data
Le
0x00
No output data expected from this command