Forum / MIFARE general topics and applications / Authentication Key change for MIFARE Classic 1K
Tagged: Authentication Key change
-
Hi,
I'm using PN532-C NFC reader and Mifare classic 1k NFC cards. Can I get the guidance or the reference document to know the procedure to change the authentication keys of particular sector from the default authentication 0xff,0xff,0xff,0xff,0xff,0xff.
Thanks in advance.
Ankita Kulkarni
+ 0 | - 0
Hi Ankita,
You must separate the procedure of authenticate and reading/writing to a MIFARE Classic from the procedure of communicate to the PN532-C NFC reader.
If you want to read or write to a block of the MIFARE Classic you must authenticate to the sector (use any block number of the target sector) before you can read or write. Of course, you can also write to the sector trailer which contains the keys A and B. Be careful here, if you write invalid bits to the access condition bytes, you can make the entire sector inaccessible!
MIFARE Classic datasheet:
https://www.nxp.com/docs/en/data-sheet/MF1S70YYX_V1.pdf
The PN532C contains an 80C51 microcontroller. But this is transparent for you. You are connected via SPI or I2C bus and communicate with the reader. I recommend reading the user manual of the PN532.
Datasheet:
https://www.nxp.com/docs/en/nxp/data-sheets/PN532_C1.pdf
PN532 Application Note:
https://www.nxp.com/docs/en/nxp/application-notes/AN133910.pdf
PN532 User Manual:
https://www.nxp.com/docs/en/user-guide/141520.pdf
The TapLinx team
+ 0 | - 0
wow good post
free gift cards generator and free gift codes generator and free gift card generator and dailymotion video downloader
+ 0 | - 0
-
AuthorPosts
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.