Scenario 3 - Gemplus GPR400 Reference Manual

Smartcard reader / writer
Table of Contents

Advertisement

Scenario 3

Send an ISO command to a new Smartcard.
(protocol T = X, clock = 3.68 MHz )
and
© GEMPLUS
APPENDIX C - SAMPLE GPR400 SCENARIOS
Reset GPR :
write I/O at @ 0240h (Handshake Register) : bit 0 set to 1
reset to
Load memory : ( Download X driver for the new Smartcard)
T.L.V. = 60.L < 01,ADH,ADL,DATA >
T.L.V. = 60.L. < 01,ADHnext, ADLnext, DATA >
until the entire driver corresponding to protocol X is
downloaded
write I/O @0242h: 60 L <00,ADH, ADL, DATA >
write I/O @0240h : bit 1 set to 1
wait for Interrupt Request ( IREQ )
then write I/O @0240h bit 2 reset to 0
read I/O @0242h : 62.01.00
.. and loop until last data appears.
Activate driver
T.L.V. = 70.03.81.ADh,ADl
ADh, ADl : base driver address.
write I/O @0242h: 70.03.80.ADh,ADl
write I/O @0240h : bit 1 set to 1
wait for Interrupt Request (IREQ)
then write I/O @0240h bit 2 reset to 0
read I/O @0242h : 72.01.00.
Select Card :
0,5 us later.
27

Advertisement

Table of Contents
loading

Table of Contents