2 Replies Latest reply: May 3, 2013 11:34 AM by 995187 RSS

    Error 0x000006F7 - Problems interacting with the card

    995187
      Hello,

      I am using
      - GPShell
      - Java Card Gemalto TOP IM GX4
      - Smart Card Reader Gemalto IDBridge CT40

      I've tried this GPShell script:
      mode_201
      enable_trace
      enable_timer
      establish_context
      card_connect
      select -AID A000000018434D00
      open_sc -security 3 -keyind 0 -keyver 0 -key 47454d5850524553534f53414d504c45 -keyDerivation visa2 // Open secure channel
      get_status -element 20
      card_disconnect
      release_context

      But I get the following error:
      select_application() returns 0x000006F7 (The fragment has received incorrect data)

      I get This error with any script that interacts with the Java Card after installing and testing an applet on the card that generates a message encrypted with the DES algorithm.

      Console:
      mode_201
      enable_trace
      enable_timer
      establish_context
      command time: 218 ms
      card_connect
      command time: 203 ms
      select -AID A000000018434D00
      Command --> 00A4040008A000000018434D00
      Wrapped command --> 00A4040008A000000018434D00
      select_application() returns 0x000006F7 (El fragmento ha recibido datos incorrectos)

      What should I do?
      Thanks in Advance.
        • 1. Re: Error 0x000006F7 - Problems interacting with the card
          safarmer
          This is a PC/SC error code. You may need to check your smart card reader is working correctly and you have the correct drivers etc.

          - Shane
          • 2. Re: Error 0x000006F7 - Problems interacting with the card
            995187
            Hi Shane,

            I checked mi smart card reader, is working correctly with the drivers correct.

            I think that the card is Unconfigured because now for show all applets that are installed on the card, is generated the same error. Before I could do it, without problems.

            mode_201
            enable_trace
            enable_timer
            establish_context
            command time: 265 ms
            card_connect
            command time: 203 ms
            select -AID A000000018434D00
            Command --> 00A4040008A000000018434D00
            Wrapped command --> 00A4040008A000000018434D00
            select_application() returns 0x000006F7 (The fragment has received incorrect data)

            I can reboot the JavaCard to reset it to its initial state? do you know do it?