Hello,
I have a problem when i try to install an applet on a JCOP31/72k Card. I've seen that many people had this problem, but i didn't find the solution.
I tried with the samples provided with GPShell (version 1.4.2) : helloInstallGP211.txt and i get this error :
install_for_install_and_make_selectable() returns 0x80206E00 (6E00: Wrong CLA byte.)
Here is the log :
mode_211
enable_trace
establish_context
card_connect
* reader name OMNIKEY CardMan 5x21 0
select -AID a000000003000000
Command --> 00A4040008A000000003000000
Wrapped command --> 00A4040008A000000003000000
Response <-- 6F108408A000000003000000A5049F6501FF9000
open_sc -security 1 -keyind 0 -keyver 0 -mac_key 404142434445464748494a4b4c4d4e4f -enc_key 404142434445464748494a4b4c4d4e4f // Open secure channel
Command --> 80CA006600
Wrapped command --> 80CA006600
Response <-- 664C734A06072A864886FC6B01600C060A2A864886FC6B02020101630906072A864886FC6B03640B06092A864886FC6B040215650B06092B8510864864020103660C060A2B060104012A026E01029000
Command --> 805000000811D03CEEB05ED33400
Wrapped command --> 805000000811D03CEEB05ED33400
Response <-- 00007115001731911702FF020003AD669A479C52DD1284247BEC64ED9000
Command --> 8482010010F82A9987D172FB7A6CDD05CB5E928AF3
Wrapped command --> 8482010010F82A9987D172FB7A6CDD05CB5E928AF3
Response <-- 9000
delete -AID a00000006203010c0101
Command --> 80E400800C4F0AA00000006203010C010100
Wrapped command --> 84E40080144F0AA00000006203010C0101B37CC15990CDB33600
Response <-- 6A88
delete_applet() returns 0x80206A88 (6A88: Referenced data not found.)
delete -AID a00000006203010c01
Command --> 80E400800B4F09A00000006203010C0100
Wrapped command --> 84E40080134F09A00000006203010C014688AF21D63AA08A00
Response <-- 009000
install -file HelloWorld.cap -nvDataLimit 2000 -instParam 00 -priv 2
file name HelloWorld.cap
Command --> 80E602002009A00000006203010C0108A000000003000000000AEF08C60201A8C80207D00000
Wrapped command --> 84E602002809A00000006203010C0108A000000003000000000AEF08C60201A8C80207D000C5518324E192FB5100
Response <-- 009000
Command --> 80E80000EFC482019B010013DECAFFED010204000109A00000006203010C0102001F0013001F000E000B0036000C0067000A00130000006C00000000000001010004000B01000107A000000062010103000E010AA00000006203010C0101001406000C00800301000107010000001F070067000210188C000118110100900B8700188B00027A02308F00033D8C00043B7A0523198B00052D198B00063203290470191A08AD0016041F8D000B3B16041F41290419088B000C321F64E8198B00073B19160408418B00081903088B000919AD000316048B000A7A08000A00000000000000000000050036000D020000000680030003
Wrapped command --> 84E80000F7C482019B010013DECAFFED010204000109A00000006203010C0102001F0013001F000E000B0036000C0067000A00130000006C00000000000001010004000B01000107A000000062010103000E010AA00000006203010C0101001406000C00800301000107010000001F070067000210188C000118110100900B8700188B00027A02308F00033D8C00043B7A0523198B00052D198B00063203290470191A08AD0016041F8D000B3B16041F41290419088B000C321F64E8198B00073B19160408418B00081903088B000919AD000316048B000A7A08000A00000000000000000000050036000D020000000680030003571CA97857168A8D
Response <-- 009000
Command --> 80E88001B0800301010000000600000103800A0103800A0603800A0703800A0903800A0403800A050680100203800A0309001300030E252C000C050C06040805100C080906090B006C010001000000000100030002000000001C00840001001E0011000000000109001400300009000000000701001F0033004600000000000D001C001E001EFFFF001E001C00200020002200240027002A002E01B001100140024103441004B44106B4B444024404B431066800A100
Wrapped command --> 84E88001B8800301010000000600000103800A0103800A0603800A0703800A0903800A0403800A050680100203800A0309001300030E252C000C050C06040805100C080906090B006C010001000000000100030002000000001C00840001001E0011000000000109001400300009000000000701001F0033004600000000000D001C001E001EFFFF001E001C00200020002200240027002A002E01B001100140024103441004B44106B4B444024404B431066800A16FC7CE2D558E8BAA00
Response <-- 009000
Command --> 80E60C002D09A00000006203010C010AA00000006203010C01010AA00000006203010C0101010209C90100EF04C80207D00000
Wrapped command --> 84E60C003509A00000006203010C010AA00000006203010C01010AA00000006203010C0101010209C90100EF04C80207D0004B24280302CB968A00
Response <-- 6E00
install_for_install_and_make_selectable() returns 0x80206E00 (6E00: Wrong CLA byte.)
I am sure it is a simple thing but i really can't find where ! I have the same error with my own applets then i suppose it will solve everything if somebody can tell me where is the problem :)
Thank you very much
Sebastien