Skip to Main Content

Java Card

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Jcop eclipse plugin & simulator & debug mode

858245Jun 22 2011 — edited Jun 24 2011
I am able to load the applet code on the real card as also to install it without any problem. But, when I try to install it inside the simulator, I get the error. What to do? At this phase of the project I really need debug mode.

--Waiting for card...
ATR=3B F8 13 00 00 81 31 FE 45 4A 43 4F 50 76 32 34 ;.....1.EJCOPv24
31 B7 1.
IOCTL().
ATR:
IFSC = 254
BWI = 4
CWI = 5
Hist = JCOPv241
T = 1
FI = 1
DI = 3
clk/etu = 93
N = 0
=> 00 A4 04 00 08 A0 00 00 00 03 00 00 00 00 ..............
(2816 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 01 17 33 00 73 4A 06 07 2A ...n.G...3.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 D8 A7 9A 46 49 8E EC 91 00 .P......FI....
(3447 usec)
<= 00 00 74 74 6E 6E 6E 62 62 62 FF 02 00 00 3D 02 ..ttnnnbbb....=.
9C 31 C7 89 72 73 3A D8 2C 33 EC 1B 90 00 .1..rs:.,3....
Status: No Error
cm> ext-auth plain
=> 84 82 00 00 10 9C ED 8D A5 89 72 00 A6 CC 90 45 ..........r....E
23 15 DB 9C 6D #...m
(1702 usec)
<= 90 00 ..
Status: No Error
cm> delete -r 6961736563636170706c65742e70616b
=> 80 E4 00 80 12 4F 10 69 61 73 65 63 63 61 70 70 .....O.iaseccapp
6C 65 74 2E 70 61 6B 00 let.pak.
(833637 nsec)
<= 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 -c -d -b 250 "C:\WORKSPACE\IASECCApplet\bin\hr\akd\iasecc\applet\javacard\applet.cap"
=> 80 E6 02 00 1D 10 69 61 73 65 63 63 61 70 70 6C ......iaseccappl
65 74 2E 70 61 6B 08 A0 00 00 00 03 00 00 00 00 et.pak..........
00 00 00 ...
(1536 usec)
<= 00 90 00 ...
Status: No Error
Start loading Header.cap (55 byte)
=> 80 E8 00 00 37 C4 83 01 64 91 01 00 2F DE CA FF ....7...d.../...
ED 02 02 04 00 01 10 69 61 73 65 63 63 61 70 70 .......iaseccapp
6C 65 74 2E 70 61 6B 14 68 72 2F 61 6B 64 2F 69 let.pak.hr/akd/i
61 73 65 63 63 2F 61 70 70 6C 65 74 00 asecc/applet.
(891380 nsec)
<= 6A 80 j.
Status: Wrong data
jcshell: Error code: 6a80 (Wrong data)
jcshell: Wrong response APDU: 6A80
Unexpected error; aborting execution
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 22 2011
Added on Jun 22 2011
4 comments
509 views