Hello,
I read the uid of the MIFARE Classic 1kB with mfrc630 reader. But I can't read or write the Mifare's eeprom because Mifare can't authenticate the mfrc630 reader.
I used these stages taken from datasheets:
1. Load Protocol (14443A for Rx and Tx)
2. RF on
3. ReqA
4. Read 4 byte Uid
(Until here process ok)
5. Write to FIFO the Auth Key A: (FF, FF, FF, FF, FF, FF)
6. Load Key (0x02)
7. Write to FIFO the Auth Parameters: 0x60(Key A), 0x03(Block Adr), UID1, UID2, UID3, UID4
8. MFAuthent (0x03)
9. Reading Command (0x30)
10. Block adress for reading
11. Transcieve Command (0x07)
I attached the my different functions. First function is using uart interrupt with timer. Second function is a example function from open source library. I read uid but can't read eeprom with both of them.
Hello, my name is Fabian, I've been assigned to support your case.
Thank you for using our products.
Have you followed the example from our NFC Reader Library? There is an example of the implementation of a MIFARE Classic Example.
From what I saw in your example, you are trying to authenticate in block 0, you won't have access to any subsequent blocks, please try to follow the MIFARE Classic Example.
Unfortunately, the support for a register-based implementation is out of our scope.