PN7462 ICC_MUTE error on CCID after first APDU request on contact interface

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

PN7462 ICC_MUTE error on CCID after first APDU request on contact interface

126 Views
tista3
Contributor II

We are building General Purpose card reader using PN7462AU.

Hardware PNEV7452C Eval board.
SDK: FLEXERA Rev 07.09.00 Sep 6, 2023 10:00:00 NFC-LIBRARY-SOFTWARE
Project PN7462AU_ex_phExCcid

 

We've run into issue, that some cards do not work properly with Contact interface.
It happens only with some cards.

 

Card without the issue:

 

Card with the issue, but no issue using NFC

 

Cards without NFC and with the issue

 

All of the above cards are working correctly with different readers:
Alcor Micro Alcorlink
Gemalto HWP117685E



Issue:
After ATR and first APDU request from PC, there is PHPAL_CT_T1_MAX_RETRY_COUNT error phpalCt_ReceiveGeneral(pbReceiveBuff) in phpalCt_NegoIfsd() function.
The error is ignored in FW, 254 (ICC_MUTE CCID timed out while talking to the ICC) on CCID.
Response to this is taking about 5 seconds.
This use case can be tested with C2300 card and this webside using FIDO passkey https://webauthn.io/
 

C2300 timeout on IFSD.png

 

Using NFC or other Contact reader works fine with no issue.
 

C2300 correct communication with PN7462 NFC.png

With other cards, the first APDU fails with error 254, the communications continues for a while, but then it stops at some point with card not responding to APDU. I am not sure if root of the problem is that the IFSD was not completed correctly at the begining. But it might be, bacause the C2300 card is responding with ICC_MUTE on every request.
 
Communication with Gemalto reader, working correctly with no issues
 
C2300 correct communication with Gemalto reader.png



I think this is a bug in the SDK, but my knowledge of ISO7816 protocol is not enough to fix it myself.
Labels (1)
2 Replies

69 Views
tista3
Contributor II

Same error OVERRUN with Starcos card
https://smartcard-atr.apdu.fr/parse?ATR=3bda96ff81b1fe451f0780584943412056322e30e9

It happens always on the same request after inserting the card.

tista3_0-1713186633293.png

 

0 Kudos

71 Views
tista3
Contributor II

I faced into another error, now with THALES SafeNet IDPrime 3940 Fido (PKI)

https://smartcard-atr.apdu.fr/parse?ATR=3bff9600008131fe4380318065b0855956fb120ffc82900002

PH_ERR_CT_OVERUN_ERROR in HandleCommonEvent()

which results in PH_EXCCID_USBCCID_CCID_ERROR_SLOT_ICC_MUTE also

tista3_0-1713185856904.png