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!

Cant install my cap file on real card

843851Oct 22 2007 — edited Oct 24 2007
i dunno what im missing im using GemXpresso Pro R 3.2 with GemPC Twin reader im trying to install a simple hello world application with this script
mode_201
gemXpressoPro
enable_trace
establish_context
card_connect
select -AID A000000018434D00
open_sc -security 3 -keyind 0 -keyver 0 -key 47454d5850524553534f53414d504c45
delete -AID A0000000300002FFFFFFFF8900000101
install -file HelloWorld.cap -AID A0000000300002FFFFFFFF8900000101 -pkgAID A0000000300002FFFFFFFF8900000100 -sdAID A000000018434D00 -priv 0x04 -nvCodeLimit 074C -nvDataLimit 0100 -vDataLimit 0100
card_disconnect
release_context
output:
gemXpressoPro
enable_trace
establish_context
card_connect
* reader name Gemplus USB SmartCard Reader 0
select -AID A000000018434D00
--> 00A4040008A000000018434D00
<-- 6F198408A000000018434D00A50D9F6E061291334903029F6501FF9000
open_sc -security 3 -keyind 0 -keyver 0 -key 47454d5850524553534f53414d504c45
--> 80CA9F7F00
<-- 9F7F2A409066221291334903024082D511072D26AF4082000012930000000053210000010100
000000000000009000
--> 8050000008CD56E43EE1D9856B00
<-- 4D004082D511072D26AF0101FA4A0A445C12F4F8937773CB118B151A9000
--> 8482030010B808B3F43EFBE895A012207F02694EB1
<-- 9000
delete -AID A0000000300002FFFFFFFF8900000101
--> 80E40000124F10A0000000300002FFFFFFFF890000010100
<-- 6A88
delete_applet() returns 0x80206A88 (6A88: Referenced data not found.)
install -file HelloWorld.cap -AID A0000000300002FFFFFFFF8900000101 -pkgAID A0000
000300002FFFFFFFF8900000100 -sdAID A000000018434D00 -priv 04 -nvCodeLimit 074C -
nvDataLimit 0100 -vDataLimit 0100
file name HelloWorld.cap
--> 80E602002B10A0000000300002FFFFFFFF890000010008A000000018434D00000EEF0CC60200
58C7020064C80200640000
<-- 009000
--> 80E80000EFC48201BA01001ADECAFFED010204000110A0000000300002FFFFFFFF8900000100
02001F001A001F0014000B002E000C008B000A00120000006300000000000001010004000B010001
07A00000006201010300140110A0000000300002FFFFFFFF8900000101004506000C008003010001
07010000005207008B000510188C000118100A900B3D031048383D04106F383D05106C383D061061
383D071020383D08104D383D10061075383D1007106E383D10081064383D1009106F3887007A0230
8F00023D8C00038B00047A0422198B00052D188B000660037A1A0425750021000100010009198B00
073219AD0092
<-- 9000
--> 80E88001CF8B000819AD0003AD00928B00097008116D008D000A7A08000A0000000000000000
000005002E000B020000000680030001000000060000010380030103800A010380030303800A0703
800A0903800A0506800701090012000443300703000A05430403070513080A080B00630100010000
000001000300020000000018FF820001001A004200000000000900450025000B0000000007010052
0028003700000000000B0018001AFFFF001A001A0018001C001E00200022002001B0011001200140
024104B44104B431066800A1013000
<-- 009000
--> 80E60C004310A0000000300002FFFFFFFF890000010010A0000000300002FFFFFFFF89000001
0110A0000000300002FFFFFFFF890000010101040CC900EF04C7020064C80200640000
<-- 6985
install_for_install_and_make_selectable() returns 0x80206985 (6985: Command not
allowed - Conditions of use not satisfied.)
when the command finish i can see the applet AID when i run the list txt and it seems that the applet is actualy there cause if i try to install again the error change from not having enoght memory space then i need to delete and install again...

ah.. and there isnt any other tools to do this job diferent from gpshell? i cant activate jcop tools they never answer the e-mail >.<'

thxs...
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 21 2007
Added on Oct 22 2007
6 comments
288 views