Halo everybody

I am trying to access smartcards in a GCR410 cardreader using OCF 1.2
I have a program which sends some APDU commands, select, getResponse,
readRecord, updateRecord ...

It works fine with v1 and v2 cards ( I have tried with some Gemplus cards
and Oberthur cards).
The problem is when I get to Java cards (I have tried a ORGA javacard and a
Oberthur javacard)
but the only thing which is corect (or at least is not an explicit error) is
the ATR. For all other commands (select, getresponse ...)
I get these errors:

opencard.core.terminal.SlotChannel@506411
+ state  open
get CardTerminal for SlotChannel opencard.core.terminal.SlotChannel@d99a4d
+ state  open
-- >> com.gemplus.opencard.terminal.GemplusCardTerminal@f9dc36
+ name    mxgcr
+ type    GCR410
+ addr    COM1
$:   Select root
CardTerminalException:
Reader return status: -94 Message: <Card Malfunction. The card does not
respond to the reset or has interrupted an exchange by time-out.> buffer
received:  <<00 00>>
$:   Select GSM
CardTerminalException:
Reader return status: -94 Message: <Card Malfunction. The card does not
respond to the reset or has interrupted an exchange by time-out.> buffer
received:  <<00 00>>
$:   Select Telecom
CardTerminalException:
Reader return status: -94 Message: <Card Malfunction. The card does not
respond to the reset or has interrupted an exchange by time-out.> buffer
received:  <<00 00>>
$:   Select SMSP
CardTerminalException:
Reader return status: -94 Message: <Card Malfunction. The card does not
respond to the reset or has interrupted an exchange by time-out.> buffer
received:  <<00 00>>
CardTerminalException:
Reader return status: -28 Message: <The card has just sent an invalid
(Procedure byte)  (See ISO7816-3).> buffer received:  <<00 00>>
$:   Select ADN
CardTerminalException:
Reader return status: -94 Message: <Card Malfunction. The card does not
respond to the reset or has interrupted an exchange by time-out.> buffer
received:  <<00 00>>
CardTerminalException:
Reader return status: -28 Message: <The card has just sent an invalid
(Procedure byte)  (See ISO7816-3).> buffer received:  <<00 00>>
CardTerminalException:
Reader return status: -94 Message: <Card Malfunction. The card does not
respond to the reset or has interrupted an exchange by time-out.> buffer
received:  <<00 00>>


Does anyone met the same problem ? Is this a OCF - Javacards problem ??
Does anyone know a solution for this ?

My opencard.properties looks like this
....
OpenCard.services = opencard.opt.util.PassThruCardServiceFactory
OpenCard.terminals =
com.gemplus.opencard.terminal.GemplusCardTerminalFactory|mxgcr|GCR410|COM1
....

Thank you for any answer

Best regards,
MaxX










---
> Visit the OpenCard web site at http://www.opencard.org/ for more
> information on OpenCard---binaries, source code, documents.
> This list is being archived at http://www.opencard.org/archive/opencard/

! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
! to
!                           [EMAIL PROTECTED]
! containing the word
!                           unsubscribe 
! in the body.

Reply via email to