Get_Version fails using PN7642

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Get_Version fails using PN7642

跳至解决方案
515 次查看
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 项奖励
回复
1 解答
501 次查看
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 项奖励
回复
2 回复数
490 次查看
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 项奖励
回复
502 次查看
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 项奖励
回复