spi_flash_decode.py: add 0x4013

This commit is contained in:
Philippe Teuwen 2024-10-14 09:31:01 +02:00
parent e661df960f
commit a488d9c1f3

View file

@ -43,11 +43,17 @@ spi = {
},
0x40: {
0x16: {
"part": "W25Q32BVSSIG",
"part": "W25Q32BV",
"size": "32mbits",
"sizeB": "4MB",
},
},
0x13: {
"part": "W25Q40BV",
"size": "4mbits",
"sizeB": "512KB",
},
},
0x70: {
0x22: {
"part": "W25Q02JV-IM",
@ -62,7 +68,7 @@ p = pm3.pm3()
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'):
# [#] JEDEC Mfr ID / Dev ID... 85 / 6015
if " JEDEC " not in line: