Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Smart card issue when sending SELECT command

Status
Not open for further replies.

e_eja

Full Member level 2
Joined
Nov 15, 2003
Messages
141
Helped
4
Reputation
8
Reaction score
0
Trophy points
1,296
Activity points
1,079
hi all,
i have successfully get ATR from GSM SIM card , I am using micocontroller as reader (8052)
problem is, when i have succesfull geting ATR my micros fail receive respnd from smartcard (i have made testing that problem is not from my microsontroller).
the pronlem is when i send SELECT command
0xA0 0xA4 0x00 0x00 0x02
there is no respond from SIM card and after sending commnad 5 timer , respond from SIM card is
0xA0 0xA4 0x00 0x00 0x02 0x6E 0x00

i have made comparasion with SIMscan look like theres no problem and i am doing exacly the same procedure as SIM scan

any suggestion or clue, expert please help me ??

Added after 58 minutes:

sorry for the topic (oops miss typed)
imean smart card doubt
 

semiconductor

Full Member level 4
Joined
Apr 4, 2003
Messages
236
Helped
4
Reputation
8
Reaction score
0
Trophy points
1,296
Activity points
2,737
Re: smart card dub

Your post interests me much. Before clarifying your problem, I would like to ask you some question:
- You do yourself your SmartCard Reader? Or you buy it from a provider? Which kind of interface it uses (USB or RS232 or RJ45?)
- When you send your select command, you send it from your uC or from Computer. If from computer, which program you use or you use your own program? If it is your own program, which driver/DLL you use to interface your PC with your SmartCard Reader?
- Normally, if your command is executed succesfully, the Operating System of the OS will send out an answer 0x90 0x00, otherwise, you have to look up at the SmartCard OS Manual to find what is the answer of the card.

I think that, the answer of the card is 0x6E 0x00 but I don't know what does these codes want to tell you, look it up in your manual...

(Ah, remember the button HELP ME if you find my post helpful :D)
 

Smart

Member level 4
Joined
Jan 28, 2006
Messages
72
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,288
Activity points
1,841
Re: smart card dub

You have received 6E 00
it mean that CLass soes not support
 

georgeka

Newbie level 1
Joined
Nov 28, 2006
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,284
Re: smart card dub

hi..

can you post your circuit? please.. i'm actually searching for a smartcard reader circuit using a microcontroller.


thank you very much.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top