mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
Merge pull request #2570 from virtyvoid/32mbit
32mbit flash identification
This commit is contained in:
commit
62080b2b34
3 changed files with 11 additions and 0 deletions
|
@ -41,6 +41,13 @@ spi = {
|
|||
"sizeB": "512KB",
|
||||
},
|
||||
},
|
||||
0x40: {
|
||||
0x16: {
|
||||
"part": "W25Q32BVSSIG",
|
||||
"size": "32mbits",
|
||||
"sizeB": "4MB",
|
||||
},
|
||||
},
|
||||
0x70: {
|
||||
0x22: {
|
||||
"part": "W25Q02JV-IM",
|
||||
|
|
|
@ -362,6 +362,9 @@ void Flashmem_print_status(void) {
|
|||
} else {
|
||||
if (device_type.manufacturer_id == WINBOND_MANID) {
|
||||
switch (device_type.device_id) {
|
||||
case WINBOND_32MB_DEVID:
|
||||
DbpString(" Memory size............. " _YELLOW_("32 mbits / 4 MB"));
|
||||
break;
|
||||
case WINBOND_16MB_DEVID:
|
||||
DbpString(" Memory size............. " _YELLOW_("16 mbits / 2 MB"));
|
||||
break;
|
||||
|
|
|
@ -55,6 +55,7 @@
|
|||
#define BUSY_TIMEOUT 200000L
|
||||
|
||||
#define WINBOND_MANID 0xEF
|
||||
#define WINBOND_32MB_DEVID 0x15
|
||||
#define WINBOND_16MB_DEVID 0x14
|
||||
#define WINBOND_8MB_DEVID 0x13
|
||||
#define WINBOND_4MB_DEVID 0x12
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue