5 Replies Latest reply: May 2, 2013 1:10 AM by PavolAlcohol RSS

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

    PavolAlcohol
      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?