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

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

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

420 次查看
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.
标签 (1)
5 回复数

363 次查看
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 项奖励

223 次查看
Fabian_R
NXP TechSupport
NXP TechSupport

Hello sir,

We are working on your case, please let me know if you received my last email from April 18th.

Best Regards,
Fabian
0 项奖励

210 次查看
tista3
Contributor II

I did recieved the email from ticket but did not get response to following answers.

0 项奖励

195 次查看
Fabian_R
NXP TechSupport
NXP TechSupport

I understand sir,

We are addressing this issue internally and, will let you know of any updates as soon as possible.

Best Regards,
Fabian
0 项奖励

365 次查看
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