Appendix C - Sample Gpr400 Scenarios; Scenario 1; Scenario 2 - Gemplus GPR400 Reference Manual

Smartcard reader / writer
Table of Contents

Advertisement

APPENDIX C - SAMPLE GPR400
SCENARIOS

Scenario 1

Scenario 2

© GEMPLUS
This appendix provides sample scenarios.
GPR400 configuration at address 0240h in the host PC system resources.
This scenario is automatically done by the Socket and Card Services
(PCMCIA Standard) if it is found in the host (in compliance with PCMCIA
standard rel 2.1).
- Set the GPR400 power on.
- Read the C.I.S. in the Attribute Memory.
- Write (Attribute Memory ) at address 0FA0h the value 12h (as
mentioned in the C.I.S. configuration).
Send an ISO command to a Smartcard.
( protocol T = 1 ; clock = 3.58 MHz )
Reset GPR :
write I/O at @ 0240h (Handshake Register) : bit 0 set to 1
and
reset to 0,5 us later.
Select Card :
T.L.V. = 50.01.02
write I/O @0242h: 50h, @0243h 01h, @0244h 02h
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 52h, @0243h 01h, @0244h 00h
25

Advertisement

Table of Contents
loading

Table of Contents