I try to authenticate Mifare Plus X card with Mifare SAM AV2. Let me describe all steps.
1. APDU to Mifare Plus X
70 04 40 00
2. Got response
90 8CC21D17710C613724898C9B2864F305
3. Send C-APDU to SAM AV2
80 A3 0D 00 19 09 01 8CC21D17710C613724898C9B2864F305 044555A9612880 00
4. Got response
69 85
How can I investigate the reason of an error and resolve the problem?
We took examples of APDU commands from AN12706 - MIFARE SAM AV3 - for MIFARE Plus
Hi @KonstantinStarikov ,
Are you using SAM AV2 instead of AV3? or is it just a typo error? Please kindly clarify.
Have a great day,
Kan
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
I am using Mifare SAM AV2.
Hi @KonstantinStarikov ,
Please kindly check the following from your side:
First and foremost the key entry that is used. This example does not show the Change Key command for SAM, so if you have not set the correct key in SAM first, it will not work
You need an AES128 key, version 01. The key value is depending on what you personalized the card.
Most likely, this is the cause for your issue.
Hope that helps,
Have a great day,
Kan
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------