The smart card reader displays a message when powered on to indicate it is ready. It checks inserted smartcards for proper insertion and prompts the user to enter a 3-byte password. The reader supports reading from and writing to the smartcard's EEPROM memory locations 32-255 and formatting the entire memory. Commands include reading, writing, formatting, changing the password, and reading secured memory locations that contain manufacturer data.
1. SMART CARD READER:
Description:
When the power is switched on it will
display SLE 4442 on the terminal
(Hyper terminal). This indicates that the
smartcard reader is ready to work.
After getting this display message on
the terminal if you insert a smartcard it
will check whether it is inserted
properly or not. If not, it will
display the error message like “Please
insert the card properly”. If you have
inserted the card properly it will prompt
you to enter password which is nothing
but security code as given in the below.
Enter password:
Now you have to enter 3byte password.
NOTE: - Here the password is nothing
but 3 bytes reference data in the
SLE4442 smartcard. So we must enter
3byte password (security code) here.
If you enter more or less than 3bytes of
password then it will give error as given in
the below Wrong Password
If the password length is 3bytes and it is a
wrong password or inserted card is blocked
then it will display Card Error
If entered password is correct then it
will display Card Accepted
Now you can perform all operations
on the inserted smartcard including
Read, Write and Erase.
This reader is designed for SLE4442
type of smartcards. These smartcards
consists byte-wise addressable 256 8-bit
EEPROM.
Here in these 256 (0 to 255) bytes the
starting 32 (0 to 31) bytes are protected
bytes which consists some of anufacture
data like ATH (Answer To Reset), ICM (IC
Manufacture identifier), ICT (IC Type).
Remaining 224 bytes are user
configurable (read, write and erase)
bytes.
COMMANDS: -
1. READ <M> <N> -
To read the smartcard memory from 32
to 255 bytes READ - Command
M - Starting memory location
N - Number of bytes to read
EX: - READ 32 13
O/P: - This is NGESC
Where “READ” is the command to
read data from smartcard.
“32” is the starting memory location
to read.
“13” is the number of bytes to read.
Remarks: - If you have entered the
memory location which is less than 32
2. or greater than 255 or if you enter wrong number of bytes to read it will give error as given
in the below
ERROR
2. WRITE <M> <STRING> -
To write data into smartcard memory from 32 to 255 bytes WRITE -Command
M - Starting memory location
STRING - Data to be written
EX: - WRITE 32 This is NGESC O/P: - OK
3. Where “WRITE” is the command to write data to the smartcard. “32” is the starting
memory location to write.
“This is NGESC” is the string which we are going to write into smartcard.
Remarks: - - If you have entered the memory location which is less than 32 or greater than 255
to write, it will give error as given in the below ERROR
3. FORMAT - To format the entire smartcard memory (32 to 256)
EX: - FORMAT
O/P: - Format Completed
4. SET PSW <old password> <new password> <new password>
-To change the password (security code) of the smart card.
EX: - SET PSW ngesc - nge
O/P: - Successfully set the password
Where “SET PSW” is the command to change password (security code).
“Ngesc” is the old password.
“Nge” is the new password.
Remarks: - If you enter wrong password it will display error as given in the below Wrong
Password . If you have wrong command format it will display error as given in the below
ERROR
5. RSMEM - To Read Secured Memory.
EX: - RSMEM
O/P: - ATR HEADER: 162 19 16 145
ICM: 129
ICT: 21
Where ATR - Answer to Reset Header
ICM - IC Manufacture identifier
ICT - IC Type