Specifications
Smart Cards Lab COMPGA12 University College London
13.7 Writing One Block
We use the following command:
MIFARE CLASSIC WRITE
CLA INS P1 P2 Lc Data
FF D6 00 10
Where Data= must be exactly 16
bytes.
The answer should be:
13.8 Reading The Block Again
We can verify if writing was done correctly:
MIFARE CLASSIC READ
CLA INS P1 P2 Le
FF B0 00 10
Write the answer obtained here:
and compare to the data written:
13.9 Writing Again to Restore Previous Value
We do again:
UPDATE
CLA INS P1 P2 Lc Data
FF D6 00 10
The answer should be:
13.10 Reading The Block Again
We can verify if writing was done correctly:
MIFARE CLASSIC READ
CLA INS P1 P2 Le
FF B0 00 10
Write the answer obtained here:
c
Nicolas T. Courtois 2009-10










