Tagged: Authentication Key change
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.
+ 0 | - 0
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:
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.
PN532 Application Note:
PN532 User Manual:
The TapLinx team
+ 0 | - 0
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.