tag delete error when sending APDU command to PN7462

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

tag delete error when sending APDU command to PN7462

Jump to solution
1,336 Views
tuannguyen-aiot
Contributor III

hi, i use PN7462 to read 1 card Type A Card - ISO14443-4A - UID : Len=4.
After I send 2 commands via SCRTester Tool software:
00 A4 04 04 07 A0 00 00 02 47 10 01 00;
00 84 00 00 08;

For the MIFARE DESFire EV3 4K card I get:
IFD -> PC : COMMAND EXECUTED
25 CC 96 7D 4B B6 0F 35 90 00
I print data at Pn7462
APDU Command : 0x6F 0x5 0x0 0x0 0x0 0x0 0x57 0x0 0x0 0x0
Payload : 0x0 0x84 0x0 0x0 0x8
SW1 SW2 : 0xA0 0x0
It can be seen that it worked

However, with the tag from my project now it is failing, and the tag is deleted after sending the command 00 84 00 00 08. I get:
at SCRTester
IFD -> PC : R. M. Error = 0x0458
Driver Error = 0x00
At PN7462 I printed out some information:
APDU Command : 0x6F 0x5 0x0 0x0 0x0 0x0 0x26 0x0 0x0 0x0
Payload : 0x0 0x84 0x0 0x0 0x8
SW1 SW2 : 0xA0 0x0
APDU Command : 0x6F 0x0 0x0 0x0 0x0 0x0 0x27 0x0 0x10 0x0
Payload :
SW1 SW2 : 0x0 0x84

It can be seen that I sent 1 command but PN7462 received 2 commands, the 2nd one I don't know
I don't understand why this is happening, can you help me understand what is going on, and how to fix it

CCCD.pngScreenshot 2023-08-11 141857.png

0 Kudos
1 Solution
1,144 Views
tuannguyen-aiot
Contributor III
0 Kudos
7 Replies
1,145 Views
tuannguyen-aiot
Contributor III

I have solved it

0 Kudos
1,267 Views
tuannguyen-aiot
Contributor III

yes I am using 1 Class A Card - ISO14443-4A UID len=4, with ATR of 3B 89 80 01 4D 4B 6A 43 4F 53 2D 33 37 12 .
This is a citizen identification card of Vietnam.
Currently I need to communicate with the tag to send data to the tag and get the data returned. Can you help me with available functions to do that

0 Kudos
1,334 Views
tuannguyen-aiot
Contributor III

I use for example PN7462AU_ex_phExCcid and PN7462AU_ex_phExNFCCcid

0 Kudos
1,283 Views
Fabian_R
NXP TechSupport
NXP TechSupport

Hello sir, I appreciate your interest in our products.
Please clarify that I understand correctly, you are using SCR tester using PN7462AU_ex_phExCcid example + MIFARE DESFire card, and do works perfectly but, when you are using a different tag it isn't working as expected.
Could you please let me know which tag you are using?

Best Regards,
Fabian
0 Kudos
1,219 Views
tuannguyen-aiot
Contributor III
yes I am using 1 Class A Card - ISO14443-4A UID len=4, with ATR of 3B 89 80 01 4D 4B 6A 43 4F 53 2D 33 37 12 .
This is a citizen identification card of Vietnam.
Currently I need to communicate with the tag to send data to the tag and get the data returned. Can you help me with available functions to do that
0 Kudos
702 Views
thoaidd
Contributor I

Dear,
I also have this error, can you guide me on how to fix that
Thank you

0 Kudos
655 Views
tuannguyen-aiot
Contributor III

Hello @thoaidd , I managed to fix it in the program.
However, the project is underway and the product is being prepared for sale, so I cannot share how to fix it for now.
Thank you for your attention.
Contact AIoT Joint Stock Company for citizen identification card reader products.
Contact: hoanle@aiots.vn

0 Kudos