Hi All,
I am having issues when trying to install any applet onto my card - GemXpressoPro R3.2 E36 PK (CC option). This card is JavaCard 2.1.1 and GP201 compatible. While I managed to open a secure channel to the Card Manager applet, for some reason I cannot upload a new applet:
mode_201
gemXpressoPro
enable_trace
establish_context
card_connect
select -AID A000000018434D00
open_sc -security 3 -keyind 0 -keyver 0 -key <KEY> // Open secure channel
get_status -element 20
card_disconnect
release_context
List of applets (AID state privileges)
a00000001830080181 1 0
a00000001830080100000000000000ff 1 0
a00000001830080100000000000000fe 1 0
a00000001830060200000000000000ff 1 0
a00000001830060200000000000000fe 1 0
a00000001830060100000000000000ff 1 0
a00000001830030100000000000000fe 1 0
a00000001830030100000000000000ff 1 0
a000000018100106 1 0
a000000018100107 1 0
a000000018100101 1 0
a0000000030000 1 0
a000000018100102 1 0
a0000000620201 1 0
a0000000620102 1 0
a0000000620101 1 0
a0000000620001 1 0
a000000018100108 1 0
Note that <KEY> is different from the default.
Installation log:
mode_201
gemXpressoPro
enable_trace
establish_context
card_connect
select -AID A000000018434D00
open_sc -security 3 -keyind 0 -keyver 0 -key <KEY> // Open secure channel
delete -AID a00000006203010c0101
delete -AID a00000006203010c01
delete -AID a00000006203010c0101
install -file HelloWorld.cap -sdAID A000000018434D00 -nvCodeLimit 4000
card_disconnect
release_context
(...)
install -file HelloWorld.cap -sdAID A000000018434D00 -nvCodeLimit 4000
Command --> 80E602001C09A00000006203010C0108A000000018434D000006EF04C6020FB00000
Wrapped command --> 84E6020028306878D3CE291AB6C233CAA4D93B0503FCCA9620A9FC7138180572632FD662AE5718431771897A0C00
Response <-- 6985
install_for_load() returns 0x80206985 (6985: Command not allowed - Conditions of use not satisfied.)
So far, I tried uploading the default HelloWorld.cap that comes with Gpshell 1.4.2 - without success. I also tried building my own version of Hello World Applet and uploading it, also getting the same error message. I tried using NullApp from JC211 samples, same error here.
I know that the common mistake would be to try to install JC22 converted applet onto a JC211 card, but this is not the case. I have been bashing my head against this wall for some time now, and I would appreciate it very much if I could get some help here.
Regards
Mkk.