Hi Karsten,
here is the process with trace enabled, using the bin file which comes with GPShell:

====================================
[EMAIL PROTECTED]:~/src/GlobalPlataform/GPShell-src-1.1.1$ gpshell helloInstall.txt
enable_trace
establish_context
card_connect
select -AID a0000000030000
--> 00A4040007A0000000030000
<-- 6F198408A000000003000000A50D9F6E064051302320179F6501FF9000
open_sc -security 1 -keyind 0 -keyver 0 -mac_key 404142434445464748494a4b4c4d4e4f -enc_key 404142434445464748494a4b4c4d4e4f // Open secure channel
--> 80500000087DB06B424443D5A200
<-- 00003087000769902236FF01FC8070B9A30AC6A1BDE1C483A21091A49000
--> 8482010010E4A94841EB07C263653054B29BBC8360
<-- 9000
delete -AID a00000006203010c01
--> 80E400000B4F09A00000006203010C0100
<-- 6A80
delete_applet() returns 0x80206A80 (6A80: Wrong data / Incorrect values in command data.)
delete -AID a00000006203010c0101
--> 80E400000C4F0AA00000006203010C010100
<-- 6A80
delete_applet() returns 0x80206A80 (6A80: Wrong data / Incorrect values in command data.)
install_for_load -AID a00000006203010c01 -nvCodeLimit 1000
--> 80E602001409A00000006203010C01000006EF04C60203F80000
<-- 009000
load -file HelloWorld.bin
--> 80E8800004C482019B00
<-- 6A80
load_applet() returns 0x80206A80 (6A80: Wrong data / Incorrect values in command data.)
=======================================

Im using GPShell version 1.1.1 and global platform 1.0.0 from globalplatform site.

Thanks
Matheus

 

Please enable tracing and show the log.

Simple enable tracing in the first line with enable_trace. But I hope
you have the current version of GlobalPlatform, 1.1.0. 1.0.0 had a bug,
which produced this behavior.

If this does not help look in the examples contained in MCardApplet
( http://web.inf.tu-dresden.de/~ko189283/MuscleCard/) or read teh README
and use it.

Karsten


_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to