Get_Version fails using PN7642

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Get_Version fails using PN7642

ソリューションへジャンプ
524件の閲覧回数
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 解決策
510件の閲覧回数
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 返答(返信)
499件の閲覧回数
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 件の賞賛
返信
511件の閲覧回数
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 件の賞賛
返信