Skip to Main Content

Java Card

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Communication problems: A device attached to the system is not functioning.

PavolAlcoholApr 19 2013 — edited May 2 2013
Hi all,

I'm developing an applet and using the OMNIKEY 5321 CL reader for communication and testing. One of the requirements for our card is to read large binary data.
For this purpose i used extented lenght APDU to read the data from card.

When I tested it via JCOP simulation I was able to read up to 32767 bytes as described in specification. But problem occurs when I test it with reader, in this case I'm able to read max 298B in APDU response. When I send greater byte count than 298B i have got following error in JCShell plugin:

jcshell: requestSessionKey.jcsh[1]: Error code: -6 (Card terminal error)
jcshell: requestSessionKey.jcsh[1]: Communication problems: A device attached to the system is not functioning.


Regarding the extend lengh APDU support it should by OK from the OMNIKEY. I'm using newest driver 1.2.9.2 for Win 7.

Here my configuration:
JCOP:JCOP 2.4.2r1
JAVA CARD: jc301
Global Platform: gp22

Can somebody help me? Any ideas?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 30 2013
Added on Apr 19 2013
5 comments
486 views