summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2018-10-21 17:32:57 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2018-10-21 17:37:04 +0200
commit0a1661caef534aeac73dbf2cf6d0e0778bb9865c (patch)
tree9f9978f58964733d5d3879d7ec91e5f44e48ab80
parent08cbe9221676f380c3890c99d2d17bfe24bee346 (diff)
downloadlibsigrokdecode-0a1661caef534aeac73dbf2cf6d0e0778bb9865c.tar.gz
libsigrokdecode-0a1661caef534aeac73dbf2cf6d0e0778bb9865c.zip
spiflash: Add Winbond W25Q80DV metadata.
-rw-r--r--decoders/spiflash/lists.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/decoders/spiflash/lists.py b/decoders/spiflash/lists.py
index b2092bf..5c366be 100644
--- a/decoders/spiflash/lists.py
+++ b/decoders/spiflash/lists.py
@@ -65,6 +65,9 @@ device_name = {
0x15: 'MX25L3205D',
0x16: 'MX25L6405D',
},
+ 'winbond': {
+ 0x13: 'W25Q80DV',
+ },
}
chips = {
@@ -126,4 +129,16 @@ chips = {
'sector_size': 4 * 1024,
'block_size': 64 * 1024,
},
+ # Winbond
+ 'winbond_w25q80dv': {
+ 'vendor': 'Winbond',
+ 'model': 'W25Q80DV',
+ 'res_id': 0x13,
+ 'rems_id': 0xef13,
+ 'rems2_id': 0xffff, # Not supported by the chip.
+ 'rdid_id': 0xef4014,
+ 'page_size': 256,
+ 'sector_size': 4 * 1024,
+ 'block_size': 64 * 1024, # Configurable, could also be 32 * 1024 bytes.
+ },
}