updated type identifications. Will need a better way to detect size of those 15693 ones

This commit is contained in:
iceman1001 2024-04-23 08:43:55 +02:00
parent 3ef3e3a63d
commit 2d36efe821
2 changed files with 17 additions and 0 deletions

View file

@ -122,6 +122,14 @@ static const productName_t uidmapping[] = {
{ 0xE002080000000000LL, 24, "ST Microelectronics; LRI2K [IC id = 08]"}, { 0xE002080000000000LL, 24, "ST Microelectronics; LRI2K [IC id = 08]"},
{ 0xE0020A0000000000LL, 24, "ST Microelectronics; LRIS2K [IC id = 10]"}, { 0xE0020A0000000000LL, 24, "ST Microelectronics; LRIS2K [IC id = 10]"},
{ 0xE002440000000000LL, 24, "ST Microelectronics; LRIS64K [IC id = 68]"}, { 0xE002440000000000LL, 24, "ST Microelectronics; LRIS64K [IC id = 68]"},
{ 0xe002230000000000LL, 24, "ST Microelectronics; ST25TV02K"},
{ 0xe002230000000000LL, 24, "ST Microelectronics; ST25TV512"},
{ 0xe002080000000000LL, 24, "ST Microelectronics; ST25TV02KC"},
{ 0xe002080000000000LL, 24, "ST Microelectronics; ST25TV512C"},
{ 0xe002350000000000LL, 24, "ST Microelectronics; ST25TV04K-P"},
{ 0xe002480000000000LL, 24, "ST Microelectronics; ST25TV16K"},
{ 0xe002480000000000LL, 24, "ST Microelectronics; ST25TV64K"},
{ 0xE003000000000000LL, 16, "Hitachi, Ltd Japan" }, { 0xE003000000000000LL, 16, "Hitachi, Ltd Japan" },

View file

@ -23,6 +23,7 @@
#define TIMEOUT 2000 #define TIMEOUT 2000
// get ST Microelectronics chip model (from UID) // get ST Microelectronics chip model (from UID)
const char *get_st_chip_model(uint8_t pc) { const char *get_st_chip_model(uint8_t pc) {
switch (pc) { switch (pc) {
case 0x0: case 0x0:
@ -41,12 +42,18 @@ const char *get_st_chip_model(uint8_t pc) {
return "SRT512"; return "SRT512";
case 0xC4: case 0xC4:
return "ST25TA64K"; return "ST25TA64K";
case 0xC5:
return "ST25TA16K";
case 0xE2: case 0xE2:
return "ST25??? IKEA Rothult"; return "ST25??? IKEA Rothult";
case 0xE3: case 0xE3:
return "ST25TA02KB"; return "ST25TA02KB";
case 0xE4: case 0xE4:
return "ST25TA512B"; return "ST25TA512B";
case 0xE5:
return "ST25TA512";
case 0xA2:
return "ST25TA02K-P";
case 0xA3: case 0xA3:
return "ST25TA02KB-P"; return "ST25TA02KB-P";
case 0xF3: case 0xF3:
@ -55,6 +62,8 @@ const char *get_st_chip_model(uint8_t pc) {
return "Unknown"; return "Unknown";
} }
} }
/* /*
// print UID info from SRx chips (ST Microelectronics) // print UID info from SRx chips (ST Microelectronics)
void print_st_general_info(uint8_t *data, uint8_t len) { void print_st_general_info(uint8_t *data, uint8_t len) {