My aim is to have only KEY A authentification and disable Key B (used space to store data).
I read these documentations:
- http://www.nxp.com/documents/data_sheet/MF1S503x.pdf
- http://dangerousthings.com/wp-content/uploads/2012/08/NFC-Access-Control-for-Mifare-S50.pdf
I understand how to calculate the hexadecimal values of these three bytes.
But I don't understand how to choose the good data block and access byte rules :
- Data Block rule
Here, I want to keep only key A (R & Write data) and deactivate Key B. I choosed the first rule: C1=0 C2= C3=0. Is this right?
- Access byte rule
I would like to use only key A, to be able to change key A value (Write) - Access bits: Read/Write Key A. So I choosed C1=0 C2=0 and C3=1. Is this correct?
The final results is Byte 6 = F8, byte 7 = 77 and Byte 8 = 80
When I write these values into a MIFARE card, it's not correct.
Could you help me to find the good value?