Monday, December 7, 2009

Access to ACOS5 card with ACR-38U successfully

Thanks to a nice simple software by f22_storm-san, I could access to my smart card by simple APDU commands with ACR-38U.
The software is SCardDemo-Basic at CodeProject - How to access SmartCards simply and effectively - at http://www.codeproject.com/KB/system/Smartcard.aspx.

The software is REALLY EFFECTIVE ! :-D
Source code is also provided. Ah, how wonderful open source world.

I'm very grad to take a step forward.
Now, I trying to implement SOSSE onto ATMega163.

Sunday, December 6, 2009

Problems of programming with ACR-38U

I have not yet developed control software for reading with ACR-38U.
There are some problems, so I write down these things to put matters right.

1) PC/SC driver is provided by ACS.
The reader is able to be detected on Windows 7 with the driver.
(It is nice that a driver for 64-bit is also provided.)
2) There is not any resource for programming in ACOS5 SDK.
The sdk includes some tools for managing ACOS5 cards.
There is no sample code to contact with smart card using APDU.

3) Missing header file
The API manual denotes functions of control API for ACR-38U, and the API requires a header file acr38.h.
However, it couldn't be found in ACOS5 SDK CD, ACS web site, and other web sites.
Why... orz

I wonder that the header file is in ACR-38U SDK.

So, there are some solutions; 1) Buy ACR-38U SDK (about 100 $), and 2) Investigate how to access with .Net Framework and PC/SC interface.

I trying .Net Framework PC/SC sample code, but I couldn't access correctly to an ACOS5 card.
I think that the function of the card might be not enough for supporting PC/SC.
Ok, I am going to investigate PC/SC.