Important alert: (current site time 7/16/2013 3:23:51 AM EDT)
 

winzip icon

ISO 7816

Email
Submitted on: 11/3/2000 9:53:23 PM
By: Mark Duhaime 
Level: Advanced
User Rating: By 35 Users
Compatibility: VB 5.0, VB 6.0
Views: 59279
author picture
 
     Read and write eeprom on ISO7816 smartcards. Requires an ISO7816 smartcard reader. This program requires an ISO7816 reader writer which is the hardware required to communicate with the card. This software performs the actual reading and writing to the smartcard. The hardware can be found on the internet for around $100.00. If you wish to build your own hardware a schematic is attached and parts should be around $30.00. The ISO7816 connects to a serial port and this program interfaces with the serial port. Sample files are included to write to smartcard. Will answer all e-mails in a timely manner. Don't forget to rate this program.

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
  3. Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 4 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Advanced category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments
11/4/2000 11:57:22 AMBenjo Bartolome

It needs the MSCOMM32 ocx cause I just have the Learning Edition but I got the idea anyway.

And by the way, your schematic is a little low resolution and is a bit hard to read. Try updating it with a higher resolution picture
(If this comment was disrespectful, please report it.)

 
11/14/2000 4:32:08 AMaleksisc

Good work!!Why didn't you specify what kind of ISO7816 smart card. Is it for MCU T=0 or MCU T=1?
Why is it will not work with my Smartcard reader?It is a Microsoft certified reader.Why did you use the MSComm instead of Windows smartcard driver? or PC/SC drivers? Please reply...
(If this comment was disrespectful, please report it.)

 
11/14/2000 5:21:14 AMMark Duhaime

aleksisc,

Thank you for your comments. To answer your questions, this program will work with any type smartcard, with some modifications. I did not use the smartcard driver as I don't have it.

Regards,
Mark
(If this comment was disrespectful, please report it.)

 
11/19/2000 11:28:10 AMMark Duhaime

To all,

I believe most good programmers here wish people to rate their software. The main reason being it lets them know that people care enough to evaluate the product whether it be good or bad. Also
programmers are not apt to upload future source code if it is not evaluated. Rating the software encourages the programmer to add updates and other programs.

Thanks
Mark Duhaime
(If this comment was disrespectful, please report it.)

 
11/29/2000 4:11:58 AMaleksisc

Try to use the Windows smartcard APIs.
I wonder why my reader doesnt work with your source code?
You can email me if you want sample PCSC (PC SmartCard)programs. It uses Windows drivers.
(If this comment was disrespectful, please report it.)

 
12/27/2000 12:12:27 PMjoelborrego

i would like to know wich protocol use T = 0 or T=1?, or both of them .. I want sample PCSC (PC
SmartCard)programs (i think that your program can be very useful in gsm aplication)any change of the aplication you would be the first person to know it.

(If this comment was disrespectful, please report it.)

 
3/9/2001 7:32:11 AMKyle Jordan

Mark, Thanks for the post on id-discussions. Can this code support xvb and xpl?
(If this comment was disrespectful, please report it.)

 
3/11/2001 8:15:24 AMGonso

Hello,

I hope that you are Mark Duhaime, if you are not sorry but do you know ?, it's a joke.
In other case I see your work with ISO 7816 programmer and I think is very interesting:

http://www.planet-source-code.com/xq/ASP/txtCodeId.12514/lngWId.1/qx/vb/scripts/Show Code.htm,

I decided to make one, but the schematic file is not clear, the draw is blur and I think that is a power supply perhaps, could you send me please a schematic with more definition, or any links to make a programmer that functions with your software ?.

Thanks in advance, my email address: agarciaa@teleline.es
(If this comment was disrespectful, please report it.)

 
3/22/2001 9:11:53 AMShane

This project looks interesting... but the circuit diagram supplied is one for a switchmode power supply - not a card reader/writer! (it may be useable as the card readers power supply though, but I would not reccomend this design for a novice). Please supply a link for the diagram of a suitable reader/writer circuit so we can try this thing out. Thanks.
(If this comment was disrespectful, please report it.)

 
3/23/2001 9:34:37 PMGun

I'm very happy with this is source code
But it have Mesage box show Binchk.txt
file is missing
** NOW I don't have Hardware ....
***I'm vote too
(If this comment was disrespectful, please report it.)

 
3/29/2001 12:44:21 PMAGASSI

THE SCHEMATIC FILE IS FOR POWER SUPLY, CHECK DIAGRAM FOR 1SO7816 PROGRAMER/READER AT:
(If this comment was disrespectful, please report it.)

 
4/2/2001 8:09:25 PMtony watson

have not tried it yet
(If this comment was disrespectful, please report it.)

 
7/12/2001 6:20:30 AMAskia

Hello All,
Where may I find the schematic of the ISO7816 reader/writer device.
Thanks for any information.
Sincerely.

(If this comment was disrespectful, please report it.)

 
7/13/2001 2:20:49 PMHsiaLin

This source code is a joke, it does nothing! Look at the smartcard interface for VB5 for one that works.
(If this comment was disrespectful, please report it.)

 
7/24/2001 2:19:19 PMMahdi Shirazi

I guess the shematic there is of a power supply. Are you able to supply us with the programmer's shematic.
mshirazi@nri.ac.ir
Many thanks in advance,
Mahdi Shirazi
(If this comment was disrespectful, please report it.)

 
8/17/2001 9:18:38 AMRoberto

I have an Reflex72 SmartCard reader an this program doesnt work...why...???
(If this comment was disrespectful, please report it.)

 
9/9/2001 5:28:04 PMJudge Rim

Is there any answers to the source working with any programer.
What will it take to make Com1 work?
(If this comment was disrespectful, please report it.)

 
10/24/2001 4:45:57 AMgranzoporo

Great idea!
In spite of this, getting it running is a different matter, isn't it Mr. Mark? ((;. And I haven't a strange box: win2k, Siemens reader on COM2, GemPlus on COM1, both working fine.
"Unable to open COMM" you say...
No problem, even if your approach sounds a bit strange, due to my hanging from many months to MUSCLE and opencard.org, I'll try to rewrite your work in plain C/C++, giving you the source.
Hope you don't mind...(:
Regards
granzoporo

(If this comment was disrespectful, please report it.)

 
11/8/2001 6:27:33 PMAJ

When trying to open up program....I get Error -
(If this comment was disrespectful, please report it.)

 
11/8/2001 6:29:47 PMAJ

When trying to open up software - I get an error: "Binchk.text file missing" - where is it? Can you email it to me?
at: anderson_com@hotmail.com
(If this comment was disrespectful, please report it.)

 
5/31/2002 7:19:03 AMJuan Antonio

It seams a good idea. I has your code, but I can't execute it. The form1.log file has the following information:
Línea 273: la clase MSCommLib.MSComm del control Comm no era una clase de control cargada.
Línea 276: el nombre de la propiedad _ExtentX de Comm no es válido.
Línea 277: el nombre de la propiedad _ExtentY de Comm no es válido.
Línea 278: el nombre de la propiedad _Version de Comm no es válido.
Línea 279: el nombre de la propiedad DTREnable de Comm no es válido.

I think that the problem is about the Mscomm32.ocx. Could you help me, please?. Thanks.
(If this comment was disrespectful, please report it.)

 
7/30/2002 5:04:07 AMJonathan Burnett

Mark, this is excellent. I'm looking to buy a smart card reader, as was wondering how to set about programming it. Many thanks!
(If this comment was disrespectful, please report it.)

 
5/12/2003 11:59:59 PM

I like the program but i cant get it to work... it askes for the Binchk.txt
... I see it there but those it suppose to be somewhere else?////////// please let me know.......
(If this comment was disrespectful, please report it.)

 
6/25/2003 7:51:13 AM

Hi,
how can i use for Reader of PS/2 connection type. these cards do not connect to COMM ports. both data and power is by keyboard [EZ100PK PC/SC Compliant]. how can i use your program?

Thank you in Advance,

Regards,
Pravin.
(If this comment was disrespectful, please report it.)

 
2/3/2004 4:07:40 AMYves Lessard

The schematic is a pwr suplly not an ISO programmer. What kind of smart Card the soft is for ?
(If this comment was disrespectful, please report it.)

 
4/5/2004 6:11:54 PM

i want schematic diagram for programming smart card

(If this comment was disrespectful, please report it.)

 
4/7/2004 6:06:28 AMH Brits

I downloaded your ISO Card reading software to see whether it will work on an intercard reader which is used in Game Arcade with a card pay system. The intercard reader connects to comm 1 or 2 but if I use your software to connect or open the com port it displays the message that the port cannot be opened. I need to be able to access or open the comm port and then read information from it. I am a newbie to this and it is the first time that I attempt to write something like this. Can you please help me. Thank You Henk Brits hbrits@caesars.co.za
(If this comment was disrespectful, please report it.)

 
4/10/2004 5:52:43 PM

no exe for program?
(If this comment was disrespectful, please report it.)

 
4/18/2004 1:02:39 AM

I too do not show an exe when file is unzipped
(If this comment was disrespectful, please report it.)

 
4/28/2004 6:12:12 AM

where i can find schematic for this soft ?
(If this comment was disrespectful, please report it.)

 
4/29/2004 6:42:04 AM

When trying to open up software - I get
an error: "Binchk.text file missing" -
where is it? Can you email it to
me?

The file can't be extracted from zip it's corrupt

Many Thanks fly65@tiscali.it
(If this comment was disrespectful, please report it.)

 
4/30/2004 3:07:52 AM

I've understand.
error: "Binchk.text file missing"
the folder must be extrat in c.\magic
or change path in source code
bye
(If this comment was disrespectful, please report it.)

 
6/18/2004 8:45:18 AM

For some reason when i download the file it says that it is corrupted. i have tried various methos for unzipping the file but still get the error message. Is there anyway to get this fixed or emailed to me. Thanks in advance
(If this comment was disrespectful, please report it.)

 
11/11/2004 3:52:41 AM

I do not succeed to make to work your software you can sure indicate a reader and a working type to me of smart card thanks
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.