matheus ribeiro wrote:
> Hi All, I installed GlobalPlatform2.0.1 and GPShell1.2.0 and now I
> cannot burn my applet to the card anymore. If I revert back to old 1.1.1
> it works flawless.

The release has some erroneous sample install files (The Card Issuer
Domain selected with select is not correct.). Maybe this is the problem.
By the way in 1.2.0 you do not have to care for the individual install
steps, there is the install command which does it in one step (If you
have a ijc/bin file, cap files are not supported at the moment.)

Take the attached ones as examples. This is always included in SVN. I
hope it works. If not, please attach the complete install script and
tell the card type.

Karsten

> 
> The error is the following:
> install_for_load -AID a00000000101 -nvCodeLimit 4096
> install_for_load() returns 0x80206A80 (6A80: Wrong data / Incorrect
> values in command data.)
> 
> Any ideas?
> Thanks
> Matheus
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Muscle mailing list
> [email protected]
> http://lists.drizzle.com/mailman/listinfo/muscle

establish_context
card_connect
select -AID a0000000030000
open_sc -security 1 -keyind 0 -keyver 0 -mac_key 
404142434445464748494a4b4c4d4e4f -enc_key 404142434445464748494a4b4c4d4e4f // 
Open secure channel
delete -AID a00000006203010c0101
delete -AID a00000006203010c01
card_disconnect
release_context
mode_211
establish_context
card_connect
select -AID a000000003000000
open_sc -security 1 -keyind 0 -keyver 0 -mac_key 
404142434445464748494a4b4c4d4e4f -enc_key 404142434445464748494a4b4c4d4e4f // 
Open secure channel
delete -AID a00000006203010c0101
delete -AID a00000006203010c01
card_disconnect
release_context
establish_context
card_connect
select -AID a0000000030000
open_sc -security 1 -keyind 0 -keyver 0 -mac_key 
404142434445464748494a4b4c4d4e4f -enc_key 404142434445464748494a4b4c4d4e4f // 
Open secure channel
delete -AID a00000006203010c0101
delete -AID a00000006203010c01
delete -AID a00000006203010c0101
install -file HelloWorld.bin -nvDataLimit 2000 -instParam 00 -priv 2
# getdata
# close_sc // Close secure channel
# putkey // Put key
  // options:
  //          -keyind Key index
  //          -keyver Key version
  //          -key Key value in hex
card_disconnect
release_context
mode_211
enable_trace

establish_context
card_connect
select -AID a000000003000000
open_sc -security 1 -keyind 0 -keyver 0 -mac_key 
404142434445464748494a4b4c4d4e4f -enc_key 404142434445464748494a4b4c4d4e4f // 
Open secure channel
delete -AID a00000006203010c0101
delete -AID a00000006203010c01
install -file HelloWorld.bin -nvDataLimit 2000 -instParam 00 -priv 2
# getdata
# close_sc // Close secure channel
# putkey // Put key
  // options:
  //          -keyind Key index
  //          -keyver Key version
  //          -key Key value in hex
card_disconnect
release_context
mode_201
enable_trace
establish_context
card_connect
select -AID a0000000030000
open_sc -security 1 -keyind 0 -keyver 0 -mac_key 
404142434445464748494a4b4c4d4e4f -enc_key 404142434445464748494a4b4c4d4e4f // 
Open secure channel
get_status -element e0
card_disconnect
release_context
mode_211
enable_trace
establish_context
card_connect
select -AID a000000003000000
open_sc -security 1 -keyind 0 -keyver 0 -mac_key 
404142434445464748494a4b4c4d4e4f -enc_key 404142434445464748494a4b4c4d4e4f // 
Open secure channel
get_status -element 20
card_disconnect
release_context
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to