Our Online Store have the new products: RFID antenna board. Currently it can work with JC10M24R and JCOP4 card chips.
Compared with normal cards, the antenna board module has a smaller size and fixed holes, which is easy to integrate in the IOT(Internet Of Things) project.

How to read data on Mifare DESFire EV1 cards

JavaCard Applet Development Related Questions and Answers.
Galandas
Posts: 7
Joined: Tue Apr 18, 2017 3:52 am
Points :70
Contact:

How to read data on Mifare DESFire EV1 cards

Post by Galandas » Sun May 07, 2017 11:27 pm

Hey guys,

I was following the steps below to read file data on Mifare DESFire EV1 cards using ISO 7816-4 APDU commands. But I always got error "6A86".

Here are se/re APDU commands I sent:
>> 00,A4,04,00,07,AID
<< 9100

>> 00,A4,00,00,02,3F,00
<< 9100

>> 00,B0,00,00,03
<< 6A86

the command I sent to read data may be wrong, so I got error status. Would friends here tell me the right APDU command to read file data?

Thanks.

Gala

Romanzi
Posts: 18
Joined: Wed Dec 02, 2015 10:26 pm
Points :236
Contact:

Re: How to read data on Mifare DESFire EV1 cards

Post by Romanzi » Mon May 08, 2017 5:26 am

Why did you receive 9100, rather than 9000? It's a bit strange. Usually, 9100 status words is returned when you use the ISO/IEC 7816-4 wrapped command set.

chaholic
Posts: 24
Joined: Mon Nov 23, 2015 4:52 am
Points :184
Contact:

Re: How to read data on Mifare DESFire EV1 cards

Post by chaholic » Mon May 08, 2017 5:49 am

The first and second step are all to select MF. MF does not have a data part, so you can't read data from it. That is why you got 6A86.

Galandas
Posts: 7
Joined: Tue Apr 18, 2017 3:52 am
Points :70
Contact:

Re: How to read data on Mifare DESFire EV1 cards

Post by Galandas » Mon May 08, 2017 6:19 am

chaholic wrote:The first and second step are all to select MF. MF does not have a data part, so you can't read data from it. That is why you got 6A86.


Thanks for your help. How do we know which are MF or EF? And how to select EF ?

Galandas
Posts: 7
Joined: Tue Apr 18, 2017 3:52 am
Points :70
Contact:

Re: How to read data on Mifare DESFire EV1 cards

Post by Galandas » Mon May 08, 2017 6:26 am

Romanzi wrote:Why did you receive 9100, rather than 9000? It's a bit strange. Usually, 9100 status words is returned when you use the ISO/IEC 7816-4 wrapped command set.


Thanks for your answer. I don't know why it returned 9100 either. I always thought it was right.

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 36 guests

JavaCard OS : Disclaimer