[EMAIL PROTECTED] wrote:

Hi Muscle

My problem is upload the applet on smartcard.

I'm using the CFlexAccess32Loader with MCardApplet-0.9.8(converted and
transformed with CAP FIle Transformer) but when i do

java smartcard.OCF.app.LoadCFlexAccess32 -load CardEdge.bin -statics 6

the result, after 56 transaction okay, is

opencard.core.service.CardServiceException: opencard.core.service.CardServiceException:
Unable to send last load file block: [EMAIL PROTECTED]
0000:  69 85


How i can resolve the problem?

Thanks in advance.
Maurizio

PS. With MCardApplet 0.9.10 and 0.9.11 isn't impossible write any data on
smartcard


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

I had also the problem that I got error 6985, when I had applied the following steps:


- compile against jcc2.1.1 (Java Card Development Kit 2.1.2)
- converting with the converter from jcc2.1.1
- transforming it with captrans from http://www.trusted-logic.fr/download.html
- unpacking with jar xvf <applet>.cap
- concatenating the resulting extracted files in reference order (see Sun Microsystemsâs JCVM 2.1.1 Specification Section 6.2 Page 68)
cat Header.cap Directory.cap Import.cap Applet.cap Class.cap Method.cap StaticField.cap ConstantPool.cap RefLocation.cap Descriptor.cap > <applet>.bin
- try to load it with CFlexAccess32Loader (http://www.musclecard.com/musclecard/index.html) from Martin BÃchler.


(Also take a look at the Readme from Martin BÃchler's CFlexAccess32Loader.)

My first error was to use the coverter of jcc211. I had to take the converter from version jcc212.

I have tried different combinations of j2sdks because the converter complained of a wrong class file version (see What version is your Java code http://www.javaworld.com/javaqa/2003-05/02-qa-0523-version.html). The target switch didn't help. So I used 1.3.... and finally with version 1.2.2 of the Java SDK it worked.

I wasn't able to find a version of a OpenPlatform export file, so I build a skeleton of the OPSystem class and the interface ProviderSecurityDomain and compiled and converted it. Maybe this enough. I haven't tried it long enough with it. Because:
Then I got the export files from the SDK of Axalto/Schlumberger for the card. Maybe this is the true reason why it worked..


Bye, Karsten



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

Reply via email to