matheus ribeiro wrote: > Hello list, > > Kasten, thanks for the answer. Still, GPShell 1.2 with GP 2.0.1 does not > work for me.
With my JCOP 41 and CyberFlex it works. install_for_load -AID a00000000101 is wrong, the switch is pkgAID, because you want to load a package (maybe this has changed and is the reason, why the explicit install_for_load command does not work.), so you must also specify a package AID (a000000001), not the applet class AID (a00000000101) Try this: install_for_load -pkgAID a000000001 -sdAID a0000000030000 -nvCodeLimit <fileSize> Instead install -file bin/CardEdge.bin you can try the complete command with all possible options: install -file bin/CardEdge.bin -priv 00 -sdAID a0000000030000 -nvCodeLimit <fileSize> -AID a00000000101 -pkgAID a00000000101 -instAID a00000000101 -nvDataLimit 5000 (or whatever) But I believe there is a problem with the file detail recognition for the install switch. I need the debug output. Try also to place the CardEdge.bin in the same directory, if nothing helps. For further helpful messages: Please take a look in the file (C:\Temp\|/tmp/)GlobalPlatform.log or in the syslog. The GlobalPlatform Library must be complied with debugging information enabled. See the README. GLOBALPLATFORMDEBUG=1 must be set with set or export. Karsten > > The card is an ORGA JCOP 2.0. I also tried on a Smartcafe Expert 64 with > same results. > > It worked perfectly with GPShell 1.1.1 and GP 1.1.0, so I dont think its > a card issue. Now, the command is simply not recognized anymore. The new > install file gives me the error: > > install -file bin/CardEdge.bin > install_for_load() returns 0x80206A80 (6A80: Wrong data / Incorrect > values in command data.) > > If I use the old command, install for load gives me the same error: > install_for_load -AID a00000000101 > install_for_load() returns 0x80206A80 (6A80: Wrong data / Incorrect > values in command data.) > > I just reverted back to older version but Im curious to why these errors > are happening. Any ideas? > > Matheus > > PS: attached is the complete install script > > > > > > From: Karsten Ohme <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> > > 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. > > > > ------------------------------------------------------------------------ > > mode_201 > establish_context > card_connect > select -AID a0000000030000 > open_sc -security 1 -keyind 0 -keyver 0 -mac_key > 404142434445464748494a4b4c4d4e4f -enc_key 404142434445464748494a4b4c4d4e4f // > Open secure channel > > // novo gpshelll > install -file bin/CardEdge.bin > > // velho gpshell > //install_for_load -AID a00000000101 -nvCodeLimit 4096 > //load -file bin/CardEdge.bin > //install_for_install -pkgAID a000000001 -AID a00000000101 -instAID > a00000000101 -nvDataLimit 8192 -instParam 00 -priv 2 > > > > > card_disconnect > release_context > > > ------------------------------------------------------------------------ > > _______________________________________________ > Muscle mailing list > [email protected] > http://lists.drizzle.com/mailman/listinfo/muscle _______________________________________________ Muscle mailing list [email protected] http://lists.drizzle.com/mailman/listinfo/muscle
