Page 1 of 1

Can't load applet, 6D00 response

Posted: Wed May 26, 2021 6:38 am
by SOTHM
I can't load my applet into the smart card.

Information about the card
PCSC Reader: Gemalto SIM Pro Smart Card Reader 0

JCOP Card J3H145 (JCOP 3 SECID P60): My card's Specification:
    Java Card 3.0.4 Classic
      GP2.2.1

      I am using gp.exe from command line but when I try to execute any command for example:

      >gp -list

      >gp -info

      I get this response:

      [DEBUG] TerminalManager - Selected the only reader with a card
      SCardConnect("Gemalto SIM Pro Smart Card Reader 0", T=*) -> T=1, 3BDC18FF8191FE1FC38073C821136605036351000250

      GlobalPlatformPro 325fe84
      Running on Windows 10 10.0 amd64, Java 1.8.0_291 by Oracle Corporation
      A>> T=1 (4+0000) 00A40400 00
      A<< (0000+2) (6ms) 6D00
      Error: Could not SELECT default selected: 0x6D00 (Invalid INStruction)
      pro.javacard.gp.GPException: Could not SELECT default selected: 0x6D00 (Invalid INStruction)
      at pro.javacard.gp.GPException.check(GPException.java:64)
      at pro.javacard.gp.GPSession.discover(GPSession.java:145)
      at pro.javacard.gp.GPTool.run(GPTool.java:208)
      at pro.javacard.gp.GPTool.main(GPTool.java:107)
      SCardDisconnect("Gemalto SIM Pro Smart Card Reader 0", true) tx:5/rx:2

      When using pyAPDUTool:
      Connect successful.
      Download Cap begin...
      Download Cap error: Select GP Card Manager failed. Send: 00 A4 04 00 00, Recv: 6D 00.
      Select CardManager begin...
      Select CardManager error: Select GP Card Manager failed. Send: 00 A4 04 00 00, Recv: 6D 00.
      Remove Packages begin...
      Remove Packages error: Select GP Card Manager failed. Send: 00 A4 04 00 00, Recv: 6D 00.

      The same result for pyResMan:
      Connected.
      Connect to Gemalto SIM Pro Smart Card Reader 0.
      doMutualAuth(): Start...
      Exception: pyOPGP_select_application(): 6D00: Invalid instruction byte / Command not supported or invalid.
      doMutualAuth(): Start...
      Exception: pyOPGP_select_application(): 6D00: Invalid instruction byte / Command not supported or invalid.
      putKey: Start ...
      Exception: Security channel not established.
      getKeyTemplateInfo: Start ...
      Exception: Security channel not established.
      loadCapFile(): Start ...
      Exception: Security channel not established.
      getStatus: Start ...
      GetStatus(0x80): Security channel not established.
      GetStatus(0x40): Security channel not established.
      GetStatus(0x20): Security channel not established.
      GetStatus(0x10): Security channel not established.
      getStatus: succeeded.

      Can you help me to figure out the problem please?

      Re: Can't load applet, 6D00 response

      Posted: Thu May 27, 2021 2:55 am
      by Tolice
      It's seems that your J3H145 card is not in 'OP_READY' status,
      you can contact your card issuer to solve this problem.

      Re: Can't load applet, 6D00 response

      Posted: Mon Sep 27, 2021 6:32 am
      by lalabajwa
      i have sam problem

      Download Cap begin...
      Download Cap error: Download cap file failed. Send: 80 E6 02 00 0A 05 11 22 33 44 55 00 00 00 00, Recv: 69 85.
      Install Applet begin...
      Install Applet error: Install Applet failed. Send: 80 E6 0C 00 1A 05 11 22 33 44 55 06 11 22 33 44 55 66 06 11 22 33 44 55 66 01 00 02 C9 00 00, Recv: 69 85.
      Select Applet begin...
      Select Applet error: Select Applet failed. AID: 11 22 33 44 55 66

      and when i scan me card by nfc send ISO7816 error application not supported
      card details: BCRMNW326-D EV1 2K
      please help me

      Re: Can't load applet, 6D00 response

      Posted: Mon Sep 27, 2021 6:33 am
      by lalabajwa
      i have sam problem

      Download Cap begin...
      Download Cap error: Download cap file failed. Send: 80 E6 02 00 0A 05 11 22 33 44 55 00 00 00 00, Recv: 69 85.
      Install Applet begin...
      Install Applet error: Install Applet failed. Send: 80 E6 0C 00 1A 05 11 22 33 44 55 06 11 22 33 44 55 66 06 11 22 33 44 55 66 01 00 02 C9 00 00, Recv: 69 85.
      Select Applet begin...
      Select Applet error: Select Applet failed. AID: 11 22 33 44 55 66

      and when i scan me card by nfc send ISO7816 error application not supported
      card details: BCRMNW326-D EV1 2K
      please help me