Get_Version fails using PN7642

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Get_Version fails using PN7642

Jump to solution
516 Views
MPEngineering
Contributor I

Hey there,

i have this problem that i can´t get a correct answer from phalMfdfEVx_Sw_GetVersion() function. It´s a Mifare Defire EV2 card.

Overall everthing looks fine until the command:

NFC Lib Init Status: 0

HAL Init success: 0x0

PAL 14443p3a Init success: 0x0

PAL 14443p4 Init success: 0x0

PAL 14443p4a Init success: 0x0

PAL Mifare SW Init success: 0x0

HAL Mifare EVx Init success: 0x0

Apply Protocol success: 0x0

Field ON success: 0x0

REQA success: 0x0

Anticollision successful: 0x0

.

.

SAK: 0x20

RATS successful: 0x0

ATS Buffer: 0x6

CID Enable: 0x1

CID: 0x0

Nad Support: 0x0

FWI: 0x8

FSDI: 0x5

FSCI: 0x5

 

But when i want to ask which Version the card is i get:

Get Version failed: 0x606

Get Version Out: 0x75

 

Is there a wrong Parameter or something else?

Do i have to load the ATS Parameters via phpalI14443p4_Sw_SetProtocol() first?
Is it an authentication problem? Cause i thought its in Plain Mode and not a secured area in the card.
I think i´m at the point marked in the picture.

 

 

Best regards and thanks for helping.

0 Kudos
Reply
1 Solution
502 Views
Fabian_R
NXP TechSupport
NXP TechSupport

Hello sir,

This is Fabian from customer support.

Is it possible that the MIFARE DESFire card could already be personalized?

In order to get the version of the DESFire card you only have to select Layer 4 with the following arguments:

Fsdi : 08

Cid: 00

Dri: 00

Dsi: 00

Please take a look at the following command exchange:

Fabian_R_1-1748993351897.png

 

I used a MIFARE DESFire EV3 but, the commands are exactly the same.

Best Regards,
Fabian

View solution in original post

0 Kudos
Reply
2 Replies
491 Views
MPEngineering
Contributor I

Hey Fabian,

thanks for replying. 

Yes, it is an already personalized card. But Fsdi was 0x00 in my setup.

Now it works.

 

Thank you, best regards

Oliver

0 Kudos
Reply
503 Views
Fabian_R
NXP TechSupport
NXP TechSupport

Hello sir,

This is Fabian from customer support.

Is it possible that the MIFARE DESFire card could already be personalized?

In order to get the version of the DESFire card you only have to select Layer 4 with the following arguments:

Fsdi : 08

Cid: 00

Dri: 00

Dsi: 00

Please take a look at the following command exchange:

Fabian_R_1-1748993351897.png

 

I used a MIFARE DESFire EV3 but, the commands are exactly the same.

Best Regards,
Fabian
0 Kudos
Reply