Need some simple applications to test Smart Card Reader Driver

  • Thread starter Thread starter Eshanye_kp
  • Start date Start date
E

Eshanye_kp

I have a smart card reader and smart card reader driver developed. I
need to test the smart card reader driver for various tests such as

1. Card Monitor tests
2. Reader Interface tests
3. Resource Manager Simulation tests
4. Smart Card Provider tests verify correct reader/driver handling of
both nominal and error condition operation communicating with an
inserted test card using both T0 and T1 communications.
5. Power Management tests verify the correct handling of power
management state


I picked up the above list from PC/SC workgroup site.

I have heard a lot about the ifdtest.exe which does all these and that
is found in the HCT test suite kit. I have HCT 12.1.01 but i could not
locate this ifdtest.exe there. But HCT has Smart card reader test
provided. It has a 'Reader Tests' listed in the list of test under smart
card reader test. But it does not provide what are all the tests done as
part of 'reader tests'. Can anybody tell me which are the tests carried
out ?

Our Smart card reader has to be compatible with the PC/SC standards and
ultimately we are going for WHQL but to start of i need some
applications which can test the basics and other features of smartcard
reader driver. Any such application is available please let me know.

Regards
Esha
 
If you are going for certification via WHQL, you need to look at the WHQL
site to begin the process. If I remember correctly there is a card deck that
you must use to test your device. That deck is only available from
Microsoft, and rent on it is rather pricey, $2000 for 2 weeks the last time
I checked. It's been 2 years since I looked at that information, and 3
changes of computers so I do not have the links available in either
magentic media or gray matter, but if you got to
http://www.microsoft.com/whdc/whql/default.mspx and start surfing for
smartcard qualification you should be able to acquire what you need.
 
Gary said:
If you are going for certification via WHQL, you need to look at the WHQL
site to begin the process. If I remember correctly there is a card deck that
you must use to test your device. That deck is only available from
Microsoft, and rent on it is rather pricey, $2000 for 2 weeks the last time
I checked. It's been 2 years since I looked at that information, and 3
changes of computers so I do not have the links available in either
magentic media or gray matter, but if you got to
http://www.microsoft.com/whdc/whql/default.mspx and start surfing for
smartcard qualification you should be able to acquire what you need.


Esha, what kind of reader it is? I mean is it contact less or contact
reader? And what types of protocols your read is suppose to support?
1. Card Monitor tests
You need to check your protocol specifications for that, like for RFID
readers supporting EPC protocols there is report from RFID Alliance Lab
based at University of Kansas (search rfidjournal.com or your favourite
web archive engine for this report). And finally for realistic results
you can't just use windows or any other preemptable OS for that.
Yeah, you need to have a genuine RTOS for accuracy.
2. Reader Interface tests
What exactly you mean for that? Are you saying here that what breed of
programming language your reader's driver will be supporting?
3. Resource Manager Simulation tests
4. Smart Card Provider tests verify correct reader/driver handling of
both nominal and error condition operation communicating with an
inserted test card using both T0 and T1 communications.
5. Power Management tests verify the correct handling of power
management state
To me these things should be tested by the driver writer not the QA
team. Inspecting the driver;s recourse and power management things are
not that easy for testers.
BTW what type of driver it is? i.e KMDF , WDM etc. and what hardware
interface it is using.



ali
 
Ali,

Actually i want to test the smart card reader driver written for Windows
XP using DDK for 2003 server. It a PCMCIA based Contact Reader. And i
wanted to test the driver for all the usual functionality's with respect
to the interface to the card, and interface to the resource manager. I
mean i wanted to test the driver for both ends. The extensive test for
WHQL for the driver will be done later. To start of, I was looking at
some simple application which can test my driver with some SIM card
(PC/SC compatible) used as smart card. I dont think i can use HCT card
tests application unless i have the cards leased from PC/SC (which we
will do later)

Regard
Esha
 
Eshanye_kp said:
Ali,

Actually i want to test the smart card reader driver written for Windows
XP using DDK for 2003 server. It a PCMCIA based Contact Reader. And i
wanted to test the driver for all the usual functionality's with respect
to the interface to the card, and interface to the resource manager. I
mean i wanted to test the driver for both ends. The extensive test for
WHQL for the driver will be done later. To start of, I was looking at
some simple application which can test my driver with some SIM card
(PC/SC compatible) used as smart card. I dont think i can use HCT card
tests application unless i have the cards leased from PC/SC (which we
will do later)

Regard
Esha


Sure you can push your driver hard if you really know the interface
(design) of your hardware. And as far as OS part is concern I would say
the same that it should be done by driver writers (Bunch of tools are
shipped with DDK , to name driver verifier , PnP driver test tool
etc.).
If you want to see the driver behavior on application level then, you
can use Taskman , resource tool shipped with V Studio or processviewer
from systeminternals to see the behavior of applications (using the
driver). Like you can see how many handles your app is opening ,
releasing etc.

ali
 
Back
Top