prasad Karkala wrote:
I am working on 8051 based hand held device..it has smart card reader Interfaced..but when i send RESET command to smart card from MCU...what all fields i have to check...and after this i am sending APDU..to select MF...but I am getting error from Smart Card Reader....But i am not able find why this ERROR i am getting...becoz all the files in smart card are personalised properly and SC reader is working fine( NEW ONE)..Can Anybody give some kind Guidance on Same....

I'm not exactly sure what you are doing. are you using some 3rd party software to access that smart card reader, or are you writing software
from scratch on your own?

I don't know much about serial smart card reader, and in our project
for smart card reader drivers (OpenCT) we don't have a driver for the
ACR 30, only for the usb variant.

so you might be best of asking the manufacturer for a detailed developers manual on how to use it. Also I can suggest the "smart card handbook" by rankl/effing, it is a great resource when dealing with such lower levels. In case you need to use T=1 protocol to talk to the
card/reader, OpenCT has an implementation of that, so it might be easier
to add a new driver to openct, than to write something on your own.
note however that OpenCT is under LGPL license.

Right now before sending RESET i am setting PTS of card ( card protocol).

I think the normal way is to RESET, get atr, parse ATR, send PTS get PTS response, use card. but I could be wrong as well.

And I am not changing SC reader protocol & using Default 9600 baudrate..and in MCU i am setting 9600 baud rate..

that is real slow. for developing it might be ok, but later you will want a higher speed, so your card transactions are much faster.

Smart card is 4k Altexo schumberger cards...

4k cards? I didn't know those exist, I have some 8k card, and it is already stone age technology. or maybe you meant 64k card?

also note: cryptoflex or cyberflex? it makes a big difference, as with
cyberflex you need some applet on the card.

Regards, Andreas
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to