# PCD\_Authenticate() failed: Timeout  when using NDEF formated Mifare Classic

**URL:** <https://forum.arduino.cc/t/pcd_authenticate-failed-timeout-when-using-ndef-formated-mifare-classic/658968>\
**Category:** Networking, Protocols, and Devices\
**Created:** [June 5, 2020, 3:08pm UTC](https://forum.arduino.cc/t/pcd_authenticate-failed-timeout-when-using-ndef-formated-mifare-classic/658968 "2020-06-05T15:08:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sietschie](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/sietschie/32/529726_2.png) [@sietschie](https://forum.arduino.cc/u/sietschie)\
**Post date:** [June 5, 2020, 3:08pm UTC](https://forum.arduino.cc/t/pcd_authenticate-failed-timeout-when-using-ndef-formated-mifare-classic/658968/1 "2020-06-05T15:08:40Z")

</div>

Hello,  
I have a setup where I read from NDEF formated RFID Chips with an MFRC522 board. (My project can be found [here](https://tonella.goering.dev), the relevant code is [here](https://github.com/sietschie/tonella/blob/master/src/tonella/nfc.cpp).)

So far I have used Mifare Ultralights without issues.  
Now I wanted to use Mifare Classic Cards and ran into an issue when I added the necessary authentication call:

Authentication works when I use the blank cards. After I wrote NDEF records to them with the NFC Tools Android app I get the following error:

```cpp
PCD_Authenticate() failed: Timeout in communication.

```

My suspicion is that the NFC Tools app changes the key when writing NDEF records to it. But I have no idea why it would do that or how to confirm that.

Does anyone now what the NFC Tools app does to the cards and how I can read or at least reset them?

Best regards,  
Chris

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [May 6, 2021, 11:20am UTC](https://forum.arduino.cc/t/pcd_authenticate-failed-timeout-when-using-ndef-formated-mifare-classic/658968/2 "2021-05-06T11:20:36Z")

</div>

Closed on May 6, 2021, 11:20am UTC


