PN5180 read eMRTD. APDU GET CHALLENGE always response code Error x6D x00.

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

PN5180 read eMRTD. APDU GET CHALLENGE always response code Error x6D x00.

841 Views
Se7
Contributor I

I'm working on PN5180 module to read data from my ePassport (ICAO 9303). I can send RATS - ATS, PPS, so technically, now i can exchange data using APDU command. And I can select AID, read EF.CardAccess file but I can't GET CHALLENGE, my eMRTD always response trailer "0x6D 0x00", which means "Instruction code not supported or invalid"

Here my code trace:

RATS: 0xE0 0x80

ATS: 0E 78 77 D4 03 4D 4B 6A 43 4F 53 2D 33 37

PPS: 0xD0 0x11 0x00

PPS_resp: 0xD0

SELECT_AID: 0E 00 00 00 A4 04 0C 07 A0 00 00 02 47 10 01

SELECT_resp: 0E 00 00 90 00

SELECT_EF.CardAccess: 0E 00 00 00 A4 02 0C 02 01 1C

SELECT_resp: 0E 00 00 90 00

READ EF.CardAccess: 0E 00 00 00 B0 9C 00 00

READ_resp: 1E 00 00 31 34 30 0D 06 08 04 00 7F 00 07 02 02 02 02 01 01 30 0F 06 0A 04 00 7F 00 07 02 02 03 02 02 02 01 01 30 12 06 0A 04 00 7F 00 07 02 02 04 02 02 02 01 02 02 01 0D G

ET CHALLENGE: 0E 00 00 00 84 00 00 08

GET CHALLENGE_resp: 0E 00 00 6D 00

I really do not understand this problem, Although i have used PN532 to communicate, i could read my ePassport with the same APDU GET CHALLENGE (using InlistPassiveTarget and InDataExchange).

If anyone see this post and worked with PN5180 or smart card before, pls let me know. I expect it responses 8 bytes random and trailer 0x90 0x00

Labels (1)
  • RF

Tags (4)
0 Kudos
1 Reply

542 Views
Daniel95G
Contributor I

I am also having problem communicating with NFC tag via APDU through PN532, can you share my project of your PN532

0 Kudos