4 Replies Latest reply: Jul 23, 2013 10:25 PM by Re Na RSS

    java card cap file install error in jcop tools

    1011296

      When i try to run java card applet in real java card it gives this error.i used jcop tools and java version 1.5  and eclipse 3.2.when i run the applet in simulater it works fine.i saw some document it says allocate memory for the installation process.i don't know how to do that.

       

       

      /term "winscard:4|SCM Microsystems Inc. SCL010 Contactless Reader 0"

      --Opening terminal

      >  /card -a a000000003000000 -c com.ibm.jc.CardManager

      resetCard with timeout: 0 (ms)

      --Waiting for card...

      ATR=3B 8A 80 01 4A 43 4F 50 33 31 56 32 33 32 7A       ;...JCOP31V232z

      ATR: T=0, T=1, Hist="JCOP31V232"

      => 00 A4 04 00 08 A0 00 00 00 03 00 00 00 00          ..............

      (23807 usec)

      <= 6F 65 84 08 A0 00 00 00 03 00 00 00 A5 59 9F 65    oe...........Y.e

          01 FF 9F 6E 06 47 91 73 51 2E 00 73 4A 06 07 2A    ...n.G.sQ..sJ..*

          86 48 86 FC 6B 01 60 0C 06 0A 2A 86 48 86 FC 6B    .H..k.`...*.H..k

          02 02 01 01 63 09 06 07 2A 86 48 86 FC 6B 03 64    ....c...*.H..k.d

          0B 06 09 2A 86 48 86 FC 6B 04 02 15 65 0B 06 09    ...*.H..k...e...

          2B 85 10 86 48 64 02 01 03 66 0C 06 0A 2B 06 01    +...Hd...f...+..

          04 01 2A 02 6E 01 02 90 00                         ..*.n....

      Status: No Error

      cm>  set-key 255/1/DES-ECB/404142434445464748494a4b4c4d4e4f 255/2/DES-ECB/404142434445464748494a4b4c4d4e4f 255/3/DES-ECB/404142434445464748494a4b4c4d4e4f

      cm>  init-update 255

      => 80 50 00 00 08 AC B1 90 01 BF 2D 24 A0 00          .P........-$..

      (49906 usec)

      <= 00 00 91 18 01 39 93 95 05 59 FF 02 00 2C BE 39    .....9...Y...,.9

          5E A5 07 55 87 B8 C3 A8 A6 93 66 2B 90 00          ^..U......f+..

      Status: No Error

      cm>  ext-auth plain

      => 84 82 00 00 10 0C AE 50 3E C8 7E 1D 92 29 E2 59    .......P>.~..).Y

          08 D9 DA 02 16                                     .....

      (57276 usec)

      <= 90 00                                              ..

      Status: No Error

      cm>  delete 060504030201

      => 80 E4 00 00 08 4F 06 06 05 04 03 02 01 00          .....O........

      (40041 usec)

      <= 6A 88                                              j.

      Status: Reference data not found

      jcshell: Error code: 6a88 (Reference data not found)

      jcshell: Wrong response APDU: 6A88

      Ignoring expected error

      cm>  delete 010203040506

      => 80 E4 00 00 08 4F 06 01 02 03 04 05 06 00          .....O........

      (17392 usec)

      <= 6A 88                                              j.

      Status: Reference data not found

      jcshell: Error code: 6a88 (Reference data not found)

      jcshell: Wrong response APDU: 6A88

      Ignoring expected error

      cm>  upload -d -b 250 "Cap File location"

      => 80 E6 02 00 13 06 01 02 03 04 05 06 08 A0 00 00    ................

          00 03 00 00 00 00 00 00 00                         .........

      (32303 usec)

      <= 00 90 00                                           ...

      Status: No Error

      => 80 E8 00 00 FA C4 81 F2 01 00 23 DE CA FF ED 02    ..........#.....

          02 04 00 01 06 01 02 03 04 05 06 12 68 6D 73 2F    ............hms/

          6A 61 76 61 63 61 72 64 2F 68 65 6C 6C 6F 02 00    javacard/hello..

          21 00 23 00 21 00 0A 00 0B 00 1E 00 0E 00 3D 00    !.#.!.........=.

          0A 00 0B 00 00 00 4D 01 BE 00 00 00 00 00 00 01    ......M.........

          01 00 04 00 0B 01 02 01 07 A0 00 00 00 62 01 01    .............b..

          03 00 0A 01 06 06 05 04 03 02 01 00 08 06 00 0E    ................

          00 00 00 80 03 00 FF 00 07 01 00 00 00 1C 07 00    ................

          3D 00 01 10 18 8C 00 05 7A 05 30 8F 00 00 3D 8C    =.......z.0...=.

          00 01 18 1D 04 41 18 1D 25 8B 00 02 7A 02 21 18    .....A..%...z.!.

          8B 00 03 60 03 7A 19 8B 00 04 2D 1A 04 25 73 00    ...`.z....-..%s.

          09 00 00 00 00 00 0F 11 6D 00 8D 00 06 7A 08 00    ........m....z..

          0A 00 00 00 00 00 00 00 00 00 00 05 00 1E 00 07    ................

          01 00 02 00 06 00 00 01 03 80 03 02 03 80 03 03    ................

          03 80 0A 01 06 80 03 00 06 80 07 01 09 00 0B 00    ................

          00 00 07 05 06 04 0A 07 07 13 0B 00 4D 01 00 00    ............M...

      (764519 usec)

      <= 6A 80                                              j.

      Status: Wrong data

      jcshell: Error code: 6a80 (Wrong data)

      jcshell: Wrong response APDU: 6A80

      Unexpected error; aborting execution