Christmas is coming soon! To thank for the support from all our dear customers, Christmas promotional activity is going on in JavaCardOS online store. For more activities details, please check this post.

Video Tutorial - How to download CAP file to smart card?

Applets Development Guide

Moderator: product

thapnk
Posts: 9
Joined: Thu Dec 10, 2015 3:37 am
Points :0
Contact:

Re: How to download CAP file to smart card?

Post by thapnk » Thu Dec 10, 2015 3:47 am

I meet this error when download CAP file. Please help me!

Note: javaos 2.2.1
Card: Samsung, 128K,


Download Cap error: Download cap file failed. Send: 80 E8 00 00 FA C4 82 01 35 01 00 1A DE CA FF ED 02 02 04 00 01 05 11 22 33 44 55 0A 74 65 73 74 41 70 70 6C 65 74 02 00 21 00 1A 00 21 00 0A 00 15 00 2A 00 0E 00 6F 00 0A 00 0F 00 00 00 5B 02 1D 00 00 00 00 00 00 02 01 00 04 00 15 02 03 01 07 A0 00 00 00 62 01 01 00 01 07 A0 00 00 00 62 00 01 03 00 0A 01 06 11 22 33 44 55 66 00 08 06 00 0E 00 00 00 80 03 00 FF 00 07 01 00 00 00 1C 07 00 6F 00 01 10 18 8C 00 00 7A 05 30 8F 00 01 3D 8C 00 02 18 1D 04 41 18 1D 25 8B 00 03 7A 03 24 18 8B 00 04 60 03 7A 19 8B 00 05 2D 19 8B 00 06 3B 03 32 1A 04 25 75 00 34 00 02 00 01 00 0D 00 02 00 2C 1A 05 25 29 04 1A 06 25 29 05 16 04 16 05 41 32 1A 03 1F 8D 00 07 3B 19 03 05 8B 00 08 70 10 19 03 08 8B 00 08 70 08 11 6D 00 8D 00 09 7A 08 00 0A 00 00 00 00 00 00 00 00 00 00 01, Recv: 64 38.

User avatar
UNKNwYSHSA
Posts: 630
Joined: Thu May 21, 2015 4:05 am
Points :3027
Contact:

Re: How to download CAP file to smart card?

Post by UNKNwYSHSA » Thu Dec 10, 2015 4:04 am

64 38 means that this applet depend on other package.
Please ensure the depended package is uploaded first.
Last edited by UNKNwYSHSA on Thu Dec 10, 2015 4:07 am, edited 1 time in total.
sense and simplicity

User avatar
UNKNwYSHSA
Posts: 630
Joined: Thu May 21, 2015 4:05 am
Points :3027
Contact:

Re: How to download CAP file to smart card?

Post by UNKNwYSHSA » Thu Dec 10, 2015 4:05 am

thapnk wrote:I meet this error when download CAP file. Please help me!

Note: javaos 2.2.1
Card: Samsung, 128K,


Download Cap error: Download cap file failed. Send: 80 E8 00 00 FA C4 82 01 35 01 00 1A DE CA FF ED 02 02 04 00 01 05 11 22 33 44 55 0A 74 65 73 74 41 70 70 6C 65 74 02 00 21 00 1A 00 21 00 0A 00 15 00 2A 00 0E 00 6F 00 0A 00 0F 00 00 00 5B 02 1D 00 00 00 00 00 00 02 01 00 04 00 15 02 03 01 07 A0 00 00 00 62 01 01 00 01 07 A0 00 00 00 62 00 01 03 00 0A 01 06 11 22 33 44 55 66 00 08 06 00 0E 00 00 00 80 03 00 FF 00 07 01 00 00 00 1C 07 00 6F 00 01 10 18 8C 00 00 7A 05 30 8F 00 01 3D 8C 00 02 18 1D 04 41 18 1D 25 8B 00 03 7A 03 24 18 8B 00 04 60 03 7A 19 8B 00 05 2D 19 8B 00 06 3B 03 32 1A 04 25 75 00 34 00 02 00 01 00 0D 00 02 00 2C 1A 05 25 29 04 1A 06 25 29 05 16 04 16 05 41 32 1A 03 1F 8D 00 07 3B 19 03 05 8B 00 08 70 10 19 03 08 8B 00 08 70 08 11 6D 00 8D 00 09 7A 08 00 0A 00 00 00 00 00 00 00 00 00 00 01, Recv: 64 38.

64 38 means that this applet depend on other package.
Please ensure the depended package is uploaded first.
sense and simplicity

thapnk
Posts: 9
Joined: Thu Dec 10, 2015 3:37 am
Points :0
Contact:

Re: How to download CAP file to smart card?

Post by thapnk » Thu Dec 10, 2015 4:09 am

Thanks for reply,
I've already remove all packet at Card. But i still meet this error!
Regards,

thapnk
Posts: 9
Joined: Thu Dec 10, 2015 3:37 am
Points :0
Contact:

Re: How to download CAP file to smart card?

Post by thapnk » Thu Dec 10, 2015 4:25 am

I also test with helloworld.CAP, It's good. But with other (by eclipse project), it cannot
You do not have the required permissions to view the files attached to this post. Please login first.

User avatar
UNKNwYSHSA
Posts: 630
Joined: Thu May 21, 2015 4:05 am
Points :3027
Contact:

Re: How to download CAP file to smart card?

Post by UNKNwYSHSA » Thu Dec 10, 2015 4:38 am

thapnk wrote:I also test with helloworld.CAP, It's good. But with other (by eclipse project), it cannot

Because the helloworld.cap is not depend on other package(s), your eclipse project has one or more depend package(s).

And what is your eclipse project? Can you give me the cap file?
sense and simplicity

thapnk
Posts: 9
Joined: Thu Dec 10, 2015 3:37 am
Points :0
Contact:

Re: How to download CAP file to smart card?

Post by thapnk » Thu Dec 10, 2015 4:55 am

UNKNwYSHSA wrote:
thapnk wrote:I also test with helloworld.CAP, It's good. But with other (by eclipse project), it cannot

Because the helloworld.cap is not depend on other package(s), your eclipse project has one or more depend package(s).

And what is your eclipse project? Can you give me the cap file?


Please help me! Attach is my project created by Eclipse Ver 4.5
You do not have the required permissions to view the files attached to this post. Please login first.

User avatar
UNKNwYSHSA
Posts: 630
Joined: Thu May 21, 2015 4:05 am
Points :3027
Contact:

Re: How to download CAP file to smart card?

Post by UNKNwYSHSA » Thu Dec 10, 2015 5:01 am

thapnk wrote:
UNKNwYSHSA wrote:
thapnk wrote:I also test with helloworld.CAP, It's good. But with other (by eclipse project), it cannot

Because the helloworld.cap is not depend on other package(s), your eclipse project has one or more depend package(s).

And what is your eclipse project? Can you give me the cap file?


Please help me! Attach is my project created by Eclipse Ver 4.5

There is no problem when i load this CAP to my card.
What is the error when you load this CAP?
What's the type of your card?
Last edited by UNKNwYSHSA on Thu Dec 10, 2015 5:05 am, edited 1 time in total.
sense and simplicity

thapnk
Posts: 9
Joined: Thu Dec 10, 2015 3:37 am
Points :0
Contact:

Re: How to download CAP file to smart card?

Post by thapnk » Thu Dec 10, 2015 5:05 am

UNKNwYSHSA wrote:What is the error when you load this CAP?
What's the type of your card?


I use smartcard of samsung, 128KB. OS: Java 2.2.1
to upload CAP: i use pyApdutool.

User avatar
UNKNwYSHSA
Posts: 630
Joined: Thu May 21, 2015 4:05 am
Points :3027
Contact:

Re: How to download CAP file to smart card?

Post by UNKNwYSHSA » Thu Dec 10, 2015 5:07 am

thapnk wrote:
UNKNwYSHSA wrote:What is the error when you load this CAP?
What's the type of your card?


I use smartcard of samsung, 128KB. OS: Java 2.2.1
to upload CAP: i use pyApdutool.

Give me the APDU command and reponse DATA, please.
sense and simplicity

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 1 guest

JavaCard OS : Disclaimer