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!

Questions On CAP uploading

843851May 9 2007 — edited Jul 17 2007
Hi, I want to upload applets to the card.
My card is GemcombiXpresso R4, compliant with GP2.1.2 and JC specification.

I found there are two ways:

1.Use Java card dev_kit provided by Sun
In this kits,apdutool is provided to upload applets.
In Dos,we type "apdutool *.src" to upload applets.

2.Load CAP files according to the card reference
There are several steps to be passed first: InitialUpdate->External Autheticate->Install [for load], then load my CAP file.
All of them are APDU commands.

But neither of them works.
For the 1st way, after I type apdutool command, it told me port connected but unknown driver or command (0x1). What does it mean?
For the 2ed way, I got the response :69 85.

I also have some questions to ask on CAP loading.
As I knew, CAP file consists of several components, such as : header, method , class , director and so on.
I found in *.src file that apdutool just upload those components to the card one by another. So is the purpose of CAP file loading only to upload those components to the card?
If yes, the other data I found in the CAP file doesn't need being uploaded. So when I use the Load APDU provided in card reference to load CAP file , I must not send other data except those components.
Is that I sent the whole CAP file consisting of components and other data caused the failure response : 69 85?

Thanks!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 14 2007
Added on May 9 2007
31 comments
851 views