Page 1 of 1

Load mifare application to dual interface java card

Posted: Mon Feb 22, 2016 2:20 am
by Romanzi
I have a dual interface java card and I can upload my javacard applet into it. But when I try to update and read binary from the card, it returns sw=0x6985. Does anyone know the reason? Tnx

The command is as below:

Code: Select all

#Reader Authenticate
FF00000009090000000000000000
9000
#Mifare Load Keys
FF0000000A07000060FFFFFFFFFFFF
9000
80860000050100040000
9000
80D600041036383132313031323341443931383833
9000
80860000050100080000
9000
80D60008102C373837303031303130333030303231
9000

Re: Load mifare application to dual interface java card

Posted: Mon Feb 22, 2016 9:30 am
by UNKNwYSHSA
Which APDU command responsed with SW 6985?
The log shows all APDU command responsed with SW 9000.

Re: Load mifare application to dual interface java card

Posted: Tue Feb 23, 2016 1:31 am
by mabel
Could you please tell us more about your applet? And on which interface are you trying to communicate with the card? contact or contactless?

Re: Load mifare application to dual interface java card

Posted: Tue Feb 23, 2016 1:39 am
by horse dream
These are pseudo APDUs interpreted by the smart card reader. The mifare protocol is special, it has nothing to do with APDU.

BTW, if your java card supports mifare, ask the card manufacturer to assist you on how to access the mifare memory zone from javacard.