This discussion is archived
0 Replies Latest reply: May 23, 2012 11:12 PM by 939202 RSS

Problem Installing the loaded applet in Samsung java card (S3CC9P9).

939202 Newbie
Currently Being Moderated
Hi all,

Am trying to install the applets already loaded into the Samsung java card(S3CC9P9), because am unable to select the applet which are loaded into the card. I got to know that the applets are only loaded, they are not installed in the card, without installing the applet ,we cannot select the applet. Am using gpj(version 20120310 ) to install the applets into the card.
When i execute : java -jar gpj.jar -list
i get the list of applets in the card as :
AID: A0 00 00 00 03 00 00 00 |........| ISD LC: 1 PR: 0x1A
AID: A0 00 00 00 03 10 |......| Exe LC: 1 PR: 0x00
AID: D4 10 65 09 90 00 10 00 |..e.....| Exe LC: 1 PR: 0x00
AID: 31 50 41 59 2E |1PAY.| Exe LC: 1 PR: 0x00
AID: D4 10 65 09 90 00 30 00 |..e...0.| Exe LC: 1 PR: 0x00
AID: D4 10 65 09 90 00 20 00 |..e... .| Exe LC: 1 PR: 0x00

Here am able to select only the first applet i.e., A0 00 00 00 03 00 00 00

SO, when i try to install the other applets, for example A0 00 00 00 03 10, its fails.

When i execute : java -jar gpj.jar -install -applet A00000000310
i get :

Found terminals: [PC/SC terminal ACS ACR38U 00 00]
Found card in terminal: ACS ACR38U 00 00
ATR: 3B 69 00 00 80 63 31 46 DF 83 FF 90 00
DEBUG: Command APDU: 00 A4 04 00 07 A0 00 00 01 51 00 00
DEBUG: Response APDU: 6A 82
Failed to select Security Domain GP211 A0 00 00 01 51 00 00 , SW: 6A 82
DEBUG: Command APDU: 00 A4 04 00 08 A0 00 00 00 18 43 4D 00
DEBUG: Response APDU: 6A 82
Failed to select Security Domain GemaltoXpressPro A0 00 00 00 18 43 4D 00 , SW: 6A 82
DEBUG: Command APDU: 00 A4 04 00 08 A0 00 00 00 03 00 00 00
DEBUG: Response APDU: 6F 19 84 08 A0 00 00 00 03 00 00 00 A5 0D 9F 6E 06 10 01 76 DE 00 05 9F 65 01 7F 90 00
Successfully selected Security Domain OP201a A0 00 00 00 03 00 00 00
DEBUG: Command APDU: 80 50 00 00 08 AE 2A B8 CE 3A BB E0 B0
DEBUG: Response APDU: 00 00 61 41 01 09 38 2F 09 5A FF 01 3F D9 93 D9 FE 9A FA 3B E4 B7 21 89 6A 34 AB 18 90 00
DEBUG: Command APDU: 84 82 00 00 10 A2 63 07 96 0B D8 A3 A9 93 A2 5C 7C 6D B7 E0 54
DEBUG: Response APDU: 90 00
DEBUG: Command APDU: 84 82 00 00 08 A2 63 07 96 0B D8 A3 A9
DEBUG: Response APDU: 90 00
java.lang.NullPointerException
     at net.sourceforge.gpj.cardservices.GlobalPlatformService.installAndMakeSelecatable(Unknown Source)
     at net.sourceforge.gpj.cardservices.GlobalPlatformService.main(Unknown Source)


Can anyone please tell me where am wrong and how to make the applets selectable.

Thanks in advance

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points