Henrique Jotha da Costa schrieb:
Hi!

I'm having problems using MSCWriteFramework with a Axalto CyberFlex 64k smartcard.

Function is returning 0x6D00 error code. I have checked
some manuals and it says that it means "invalid instruction".
is that right? what could possible be going on?

The following APDUs are being sent:
->: b0 2a 00 00 38 08 4d 75 73 63 6c 65 30 30 04 01 08 4d 75 73 73 75 6d
30 30 08 4d 75 73 73 75 6d 30 30 03 05 08 38 37 36 35 34 33 32 31 08 32
32 32 32 32 32 32 32 00 00 29 04 00 02 01

Your APDU command is correct. The last three bytes are a mini ACL. Don't know why it was worth to save three bytes missing for a full ACL. But I cannot reproduce your error.

E.g. this works:

APDU: B0 2A 00 00 38 08 4D 75 73 63 6C 65 30 30 04 01 08 31 31 31 31 31 31 31 31 08 31 31 31 31 31 31 31 31 03 03 08 31 31 31 31 31 31 31 31 08 31 31 31 31 31 31 31 31 00 00 07 D0 00 02 01

What applet version do you have?

Karsten

<-: 6d 00

is it possible to reinitialize the card, without writing the card applet again too ?

any help will be gladly appreciated.

best regards,

Henrique Jotha

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

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

Reply via email to