mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-11-15 14:20:51 +08:00
spi_flash_decode.py: add 0x4013
This commit is contained in:
parent
e661df960f
commit
a488d9c1f3
1 changed files with 8 additions and 2 deletions
|
@ -43,11 +43,17 @@ spi = {
|
||||||
},
|
},
|
||||||
0x40: {
|
0x40: {
|
||||||
0x16: {
|
0x16: {
|
||||||
"part": "W25Q32BVSSIG",
|
"part": "W25Q32BV",
|
||||||
"size": "32mbits",
|
"size": "32mbits",
|
||||||
"sizeB": "4MB",
|
"sizeB": "4MB",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
0x13: {
|
||||||
|
"part": "W25Q40BV",
|
||||||
|
"size": "4mbits",
|
||||||
|
"sizeB": "512KB",
|
||||||
|
},
|
||||||
|
},
|
||||||
0x70: {
|
0x70: {
|
||||||
0x22: {
|
0x22: {
|
||||||
"part": "W25Q02JV-IM",
|
"part": "W25Q02JV-IM",
|
||||||
|
@ -62,7 +68,7 @@ p = pm3.pm3()
|
||||||
|
|
||||||
p.console("hw status")
|
p.console("hw status")
|
||||||
|
|
||||||
rex = re.compile("...\s([0-9a-fA-F]{2})\s/\s([0-9a-fA-F]{4})")
|
rex = re.compile("...\\s([0-9a-fA-F]{2})\\s/\\s([0-9a-fA-F]{4})")
|
||||||
for line in p.grabbed_output.split('\n'):
|
for line in p.grabbed_output.split('\n'):
|
||||||
# [#] JEDEC Mfr ID / Dev ID... 85 / 6015
|
# [#] JEDEC Mfr ID / Dev ID... 85 / 6015
|
||||||
if " JEDEC " not in line:
|
if " JEDEC " not in line:
|
||||||
|
|
Loading…
Reference in a new issue