GlobalPlatformPro icon indicating copy to clipboard operation
GlobalPlatformPro copied to clipboard

Could not SELECT default selected: 0x6D00 (Invalid INStruction)

Open abir-wind opened this issue 4 years ago • 0 comments

Describe the bug

I can't load my applet into the smart card.

Information about your 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

Can you help me to figure out the problem please?

abir-wind avatar May 25 '21 13:05 abir-wind