PN7642 mifare desfire example not work

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

PN7642 mifare desfire example not work

38 Views
cesarP
Contributor II

Good day

I have the PN7642 dev kit, and I have the example: pnev7642fama_NfcrdlibEx10_MIFAREDESFire_EVx_Freertos_Ecp

In the file NfcrdlibEx10_MIFAREDESFire_EVx.h I remove the comment in the line #109 to select the chip reference #define PN7642EV_C100

I modify the menu to select directly AES Key

Then build and debug and I put in the antenna a mifare desfire EV2 card in blank and I get the error: 

Line: 689 Error - (0x2083) has occurred : 0xCCEE CC-Component ID, EE-Error code. Refer-ph_Status.h

Line: 528 Error - (0x2083) has occurred : 0xCCEE CC-Component ID, EE-Error code. Refer-ph_Status.h

Line: 461 Error - (0x2083) has occurred : 0xCCEE CC-Component ID, EE-Error code. Refer-ph_Status.h

 

I put some rtt messages and I get the following info:

 
TX:  0A 00                            /* Authentication */                      
RX:  AF 35 26 87 2E 8D 76 96 FA                      
status of operation: 0x0071       /* PH_ERR_SUCCESS_CHAINING */
 
TX:  AF EA B2 1A 6B 49 D0 11 C0 28 24 A2 6F 70 31 48  
     DB                                               
RX:  00 F8 06 8C 86 FC 27 57 8B                       
status of operation: 0x0000       /* PHAL_MFDFEVX_RESP_OPERATION_OK */
status of operation: 0x0083       /* PHAL_MFDFEVX_ERR_PERMISSION_DENIED -> MFDFEVx Current configuration/status does not allow the requested command. */

cesarP_0-1718829341573.png

 

The example fails in the authentication process, I repeat that the cards are new and are blank, I have 5 and with all happens the same, so what would be the cause of a failure in the authentication? I have NDA but I can not find information about desfire EV2, the datasheet published does not mention anything about this, could you help me to check where it fails or where I get information about the protocol desfire EV2?

thanks

0 Kudos
1 Reply

16 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi @cesarP 

 

I would suggest you run demo pnev7642fama_check_nxpfw_update , update the firmware to the latest version, and try it again.

Since the package you are using is based on NDA,   it is better to create a ticket for your further question.

 

Regards

Daniel

0 Kudos