Click here to Skip to main content
15,915,093 members
Home / Discussions / Hardware & Devices
   

Hardware & Devices

 
GeneralRe: i need help on pic16F84 microcontroller Pin
mlc22006420-Dec-05 4:44
mlc22006420-Dec-05 4:44 
AnswerRe: i need help on pic16F84 microcontroller Pin
vikas amin27-Dec-05 3:43
vikas amin27-Dec-05 3:43 
QuestionScreen Recorder Pin
mcgann13-Dec-05 6:18
mcgann13-Dec-05 6:18 
AnswerRe: Screen Recorder Pin
Shebi Jindal14-Dec-05 20:10
Shebi Jindal14-Dec-05 20:10 
AnswerRe: Screen Recorder Pin
El Corazon15-Dec-05 4:38
El Corazon15-Dec-05 4:38 
AnswerRe: Screen Recorder Pin
AntonGogolev25-Dec-05 23:19
AntonGogolev25-Dec-05 23:19 
AnswerRe: Screen Recorder Pin
fat_boy12-Jan-06 0:42
fat_boy12-Jan-06 0:42 
QuestionACR30 Smartcard writer. Memory card writing I2C protocol Pin
ClaireH13-Dec-05 4:57
ClaireH13-Dec-05 4:57 
I'm writing here out of desperation, I know it's not a general C++ topic but I've been unable to find any smartcard specific forums after a lot of searching.

I'm trying to talk to an ACR30 USB smartcard reader via the PC/SC Microsoft Winsmcrd.dll api.
The smartcard manufacturer is ACS and they're good for obtaining API manuals etc but the examples provided just won't work.
The smartcard model I'm using is a AT24C16, which is listed amongst the compatible cards. This card is a memory card and PC/SC doesn't allow for memory card writing, but ACS have provided methods to do this and written a manual specifically for PC/SC memory card access.

for example, the following copied code (except for reader name) returns error code 0x80100066 "The smart card is not responding to a reset" ie no response from the card
rv = SCardConnect(
hContext,
"ACS USB 0",
SCARD_SHARE_EXCLUSIVE,
SCARD_PROTOCOL_RAW,
&hCard,
&dwActiveProtocol);

if I change the call to the following, I receive a successful response
rv = SCardConnect(
hContext,
"ACS USB 0",
SCARD_SHARE_DIRECT,
SCARD_PROTOCOL_UNDEFINED,
&hCard,
&dwActiveProtocol);

but because I'm using the different defines I don't know what sort of knock on effect this is having on the remaining api functions I call. Pretty well all of them aren't working as I'd expect.

I think this is a common model for smartcard developers, so I was wondering if there's anyone else out there who has worked successfully with this unit and who could give me some guidance.

many thanks

AnswerRe: ACR30 Smartcard writer. Memory card writing I2C protocol Pin
progload15-Dec-05 11:21
progload15-Dec-05 11:21 
QuestionGraphics Card Question Pin
User 84209-Dec-05 7:29
User 84209-Dec-05 7:29 
AnswerRe: Graphics Card Question Pin
hint_549-Dec-05 9:31
hint_549-Dec-05 9:31 
AnswerRe: Graphics Card Question Pin
Dan Neely9-Dec-05 9:47
Dan Neely9-Dec-05 9:47 
AnswerRe: Graphics Card Question Pin
Farhan Noor Qureshi9-Dec-05 12:07
Farhan Noor Qureshi9-Dec-05 12:07 
Questionl Robot? Pin
Bob Stanneveld8-Dec-05 2:30
Bob Stanneveld8-Dec-05 2:30 
AnswerRe: l Robot? Pin
Jupiter98-Dec-05 9:53
Jupiter98-Dec-05 9:53 
GeneralRe: l Robot? Pin
Bob Stanneveld8-Dec-05 10:46
Bob Stanneveld8-Dec-05 10:46 
GeneralRe: l Robot? Pin
vikas amin27-Dec-05 3:46
vikas amin27-Dec-05 3:46 
GeneralRe: l Robot? Pin
Bob Stanneveld27-Dec-05 6:43
Bob Stanneveld27-Dec-05 6:43 
AnswerRe: l Robot? Pin
Bob Flynn9-Dec-05 10:17
Bob Flynn9-Dec-05 10:17 
GeneralRe: l Robot? Pin
Bob Stanneveld11-Dec-05 4:34
Bob Stanneveld11-Dec-05 4:34 
AnswerRe: l Robot? Pin
yam_rider9-Dec-05 18:54
yam_rider9-Dec-05 18:54 
GeneralRe: l Robot? Pin
Bob Stanneveld11-Dec-05 4:35
Bob Stanneveld11-Dec-05 4:35 
QuestionFingerPrint Pin
PaulNeyman4-Dec-05 10:28
PaulNeyman4-Dec-05 10:28 
AnswerRe: FingerPrint Pin
Lord Kixdemp5-Dec-05 12:12
Lord Kixdemp5-Dec-05 12:12 
QuestionMouse locking up Pin
David O'Neil1-Dec-05 6:09
professionalDavid O'Neil1-Dec-05 6:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.