Can't load applet, 6D00 response

JCOP Tool is a java card development kit developed by NXP.
SOTHM
Posts: 1
Joined: Wed May 26, 2021 6:26 am
Points :14
Contact:

Can't load applet, 6D00 response

Post by SOTHM » Wed May 26, 2021 6:38 am

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?

      User avatar
      Tolice
      Posts: 36
      Joined: Wed May 20, 2015 2:41 am
      Points :226
      Contact:

      Re: Can't load applet, 6D00 response

      Post by Tolice » Thu May 27, 2021 2:55 am

      It's seems that your J3H145 card is not in 'OP_READY' status,
      you can contact your card issuer to solve this problem.

      Post Reply Previous topicNext topic

      Who is online

      Users browsing this forum: No registered users and 1 guest

      JavaCard OS : Disclaimer