PN5180 I cannot authenticate with mifare classic

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

PN5180 I cannot authenticate with mifare classic

ソリューションへジャンプ
1,843件の閲覧回数
cesarP
Contributor II

Hi,

I am writing my own driver to read and write blocks in sectors on a card Mifare Classic, using a Nordic MCU and the PNEV5180B board, I can do the steps in the examples as follows:
1. REQA....ok
2. Anticollision CL1.....ok
3. Select ......ok
4. Authenticate.... error

when I send the authentication command I get 0x02 (Timeout waiting for card response (card not present).) but the card is present, I have tried to compare it with the example as proposed here https://community.nxp.com/t5/Other-NXP-Products/pn5180-mifare-authentication-key-timeout/m-p/1202221 but I can't find the problem.
Question 1: is there any documentation on how to do the authentication with diagrams or easy to understand examples, similar to the other commands?
Question 2: I must authenticate to read the sectors? I have tried to read them without authenticating but it doesn't work either.
thanks

0 件の賞賛
返信
1 解決策
1,807件の閲覧回数
KellyLi
NXP TechSupport
NXP TechSupport

Hello @cesarP 

NDA doc for PN518 is SW666815, if you've had a valid NDA, then you can download from: https://www.docstore.nxp.com/

For doc store account issue, please contact support.docstore@nxp.com for further support.

Best Regards,

kelly

 

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
1,822件の閲覧回数
KellyLi
NXP TechSupport
NXP TechSupport

Hello @cesarP 

for your question my answers are the following:

1. Yes, you're right. There is an example for how to authenticate MIFARE CLASSIC by PN5180, but this is a secure document, so you need to sign an NDA. In case you need to sign an NDA, please let me know.

2. Read sector 0 could not be authentication, the other sectors all need to be authenticated and then can be read or written. For more the details, please check the dedicated datasheet.

Best Regard,

kelly

0 件の賞賛
返信
1,819件の閲覧回数
cesarP
Contributor II

thank you for your response:

I have already sent the NDA and I am supposed to have full access to the documents but I can't find the authentication example you mention, could you tell me where I can find it?

0 件の賞賛
返信
1,808件の閲覧回数
KellyLi
NXP TechSupport
NXP TechSupport

Hello @cesarP 

NDA doc for PN518 is SW666815, if you've had a valid NDA, then you can download from: https://www.docstore.nxp.com/

For doc store account issue, please contact support.docstore@nxp.com for further support.

Best Regards,

kelly

 

0 件の賞賛
返信
865件の閲覧回数
jekim0109
Contributor II

I got through NDA,  I couldn't find SW666815.

0 件の賞賛
返信