| Ligne 189 : |
Ligne 189 : |
| | Bloc 63: 00 00 00 00 00 00 FF 07 80 69 FF FF FF FF FF FF ......ÿ.?iÿÿÿÿÿÿ | | Bloc 63: 00 00 00 00 00 00 FF 07 80 69 FF FF FF FF FF FF ......ÿ.?iÿÿÿÿÿÿ |
| | [---------------------------Fin du dump mémoire--------------------------]</nowiki> | | [---------------------------Fin du dump mémoire--------------------------]</nowiki> |
| | + | |
| | + | == Cartes MiFare Ultralight == |
| | + | MiFare Ultralight cards typically contain 512 bits (64 bytes) of memory, including 4 bytes (32-bits) of OTP (One Time Programmable) memory where the individual bits can be written but not erased. |
| | + | |
| | + | * [http://www.nxp.com/documents/data_sheet/MF0ICU1.pdf MF0ICU1 MiFare Ultralight Functional Specification] (''pdf, NXP'') |
| | + | |
| | + | MiFare Ultralight cards have a 7-byte UID that uniquely identifies the card. |
| | + | |
| | + | === Mémoire EEPROM === |
| | + | MiFare Ultralight cards have 512 bits (64 bytes) of EEPROM memory, including 4 byte (32 bits) of OTP memory. Unlike Mifare Classic cards, there is no authentication on a per block level, although the blocks can be set to "read-only" mode using Lock Bytes (described below). |
| | + | |
| | + | EEPROM memory is organised into 16 pages of four bytes eachs, in the following order: |
| | + | |
| | + | <nowiki> Page Description |
| | + | ---- ------------ |
| | + | 0 Serial Number (4 bytes) |
| | + | 1 Serial Number (4 bytes) |
| | + | 2 Byte 0: Serial Number |
| | + | Byte 1: Internal Memory |
| | + | Byte 2..3: lock bytes |
| | + | 3 One-time programmable memory (4 bytes) |
| | + | 4..15 User memory (4 bytes)</nowiki> |
| | + | |
| | + | Here are the pages and blocks arranged in table format: |
| | + | |
| | + | <nowiki> Page Block 0 Block 1 Block 2 Block 3 |
| | + | ----- --------------------------------------- |
| | + | 0 [ Serial Number ] |
| | + | 1 [ Serial Number ] |
| | + | 2 [Serial] - [Intern] - [ Lock Bytes ] |
| | + | 3 [ One Time Programmable Memory ] |
| | + | 4 [ User Data ] |
| | + | 5 [ User Data ] |
| | + | 6 [ User Data ] |
| | + | 7 [ User Data ] |
| | + | 8 [ User Data ] |
| | + | 9 [ User Data ] |
| | + | 10 [ User Data ] |
| | + | 11 [ User Data ] |
| | + | 12 [ User Data ] |
| | + | 13 [ User Data ] |
| | + | 14 [ User Data ] |
| | + | 15 [ User Data ]</nowiki> |
| | | | |
| | {{PN532-RFID-NFC-TRAILER}} | | {{PN532-RFID-NFC-TRAILER}} |