hi,
I m using mfrc522 rfid. I can read the card UID number. But I want to write into RFID tag I am unable to write and authenticate RFID card. In authentication process STATUS2Reg of RFID not set to 0x08 because of that authentication of card fail and If I go to read or write block of RFID it also fails. Can I get solution to this problem?
Thanks In advance.
Please share the rc522 register read / write sequence for card reading. Greetings and thanks
Hello,
Could you please provide more information (e.g., Tag type, authentication procedure) ?
Regards,
Ivan.
Hi,
Thanks for the reply.
Tag type is 1K
Authentication Procedure I am using :-
• Authentication command code (60h)
• Block address
• Sector key byte 0 (0xFF)
• Sector key byte 1 (0xFF)
• Sector key byte 2 (0xFF)
• Sector key byte 3 (0xFF)
• Sector key byte 4 (0xFF)
• Sector key byte 5 (0xFF)
• Card serial number byte 0
• Card serial number byte 1
• Card serial number byte 2
• Card serial number byte 3
In total 12 bytes are written to the FIFO for authentication.
Please find the below link of library file that I am using
https://docs.google.com/document/d/14vAZp5xIeqQWhcBgMoZ81V2IJg6YkOURwGDnDm0YeIo/edit
Waiting for your reply.
Thanks