Gemplus GPR400 Reference Manual page 33

Smartcard reader / writer
Table of Contents

Advertisement

new
© GEMPLUS
APPENDIX C - SAMPLE GPR400 SCENARIOS
T.L.V. = 50.01.00
selection of Smartcard driver, clock = 3.68 MHz
write I/O @0242h: 50 01 00
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 : 52.01.00.
Open Session :
T.L.V. = 20.00.
write I/O @0242h: 20.00
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 : 22.01.00.
APDU Exchange :
T.L.V. = 30.L.Vex
The Vex Variable can be structured as T=0 or T=1
or it can have a specific format. It will be handled by the
Smartcard driver.
write I/O @0242h: 30 L.Vex
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 : 32.L.Vex.
28

Advertisement

Table of Contents
loading

Table of Contents