Page 2 of 4

Re: How to download CAP file to smart card?

Posted: Thu Dec 10, 2015 3:47 am
by thapnk
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.

Re: How to download CAP file to smart card?

Posted: Thu Dec 10, 2015 4:04 am
by UNKNwYSHSA
64 38 means that this applet depend on other package.
Please ensure the depended package is uploaded first.

Re: How to download CAP file to smart card?

Posted: Thu Dec 10, 2015 4:05 am
by UNKNwYSHSA
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.

Re: How to download CAP file to smart card?

Posted: Thu Dec 10, 2015 4:09 am
by thapnk
Thanks for reply,
I've already remove all packet at Card. But i still meet this error!
Regards,

Re: How to download CAP file to smart card?

Posted: Thu Dec 10, 2015 4:25 am
by thapnk
I also test with helloworld.CAP, It's good. But with other (by eclipse project), it cannot

Re: How to download CAP file to smart card?

Posted: Thu Dec 10, 2015 4:38 am
by UNKNwYSHSA
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?

Re: How to download CAP file to smart card?

Posted: Thu Dec 10, 2015 4:55 am
by thapnk
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

Re: How to download CAP file to smart card?

Posted: Thu Dec 10, 2015 5:01 am
by UNKNwYSHSA
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?

Re: How to download CAP file to smart card?

Posted: Thu Dec 10, 2015 5:05 am
by thapnk
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.

Re: How to download CAP file to smart card?

Posted: Thu Dec 10, 2015 5:07 am
by UNKNwYSHSA
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.