Extend storage allocated for Mifare keys to 4095 keys. Update documentation on the feature and memory map
This commit is contained in:
1 parent
eb12dd78a1
commit
565f3f1feb
3 files changed
+6
-5
No files matched your search
+3
-3
@@ -28,7 +28,7 @@
|
||||
// 0x3E000 - 1 4kb sector = settings
|
||||
// 0x3D000 - 1 4kb sector = default T55XX keys dictionary
|
||||
// 0x3B000 - 1 4kb sector = default ICLASS keys dictionary
|
||||
// 0x38000 - 3 4kb sectors = default MFC keys dictionary
|
||||
// 0x35000 - 6 4kb sectors = default MFC keys dictionary
|
||||
//
|
||||
#ifndef FLASH_MEM_BLOCK_SIZE
|
||||
# define FLASH_MEM_BLOCK_SIZE 256
|
||||
@@ -95,9 +95,9 @@
|
||||
# define DEFAULT_ICLASS_KEYS_OFFSET_P(p64k) (DEFAULT_T55XX_KEYS_OFFSET_P(p64k) - DEFAULT_ICLASS_KEYS_LEN)
|
||||
#endif
|
||||
|
||||
// Reserved space for MIFARE Keys = 12 kb
|
||||
// Reserved space for MIFARE Keys = 24 kb
|
||||
#ifndef DEFAULT_MF_KEYS_OFFSET
|
||||
# define DEFAULT_MF_KEYS_LEN (0x3000)
|
||||
# define DEFAULT_MF_KEYS_LEN (0x6000)
|
||||
# define DEFAULT_MF_KEYS_OFFSET (DEFAULT_ICLASS_KEYS_OFFSET - DEFAULT_MF_KEYS_LEN)
|
||||
# define DEFAULT_MF_KEYS_MAX ((DEFAULT_MF_KEYS_LEN - 2) / 6)
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user