summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2019-11-23 16:11:27 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2019-11-23 16:11:27 +0100
commit4ed2129f32db35032aed0ce7675babdbb91eeea9 (patch)
treea8112d9f237196cb136e671e2d3075e36ebb1e9d
parent358844606b27eeae721e18dbf254451bbfd4e7b1 (diff)
downloadlibsigrokdecode-4ed2129f32db35032aed0ce7675babdbb91eeea9.tar.gz
libsigrokdecode-4ed2129f32db35032aed0ce7675babdbb91eeea9.zip
spiflash: Minor fixes for Atmel AT25 chips.
-rw-r--r--decoders/spiflash/lists.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/decoders/spiflash/lists.py b/decoders/spiflash/lists.py
index 4bdc6dd..a25e784 100644
--- a/decoders/spiflash/lists.py
+++ b/decoders/spiflash/lists.py
@@ -87,24 +87,24 @@ chips = {
'atmel_at25128': {
'vendor': 'Atmel',
'model': 'AT25128',
- 'res_id': 0xff, # The chip doesn't emit an ID.
+ 'res_id': 0xff, # Not supported by the chip.
'rems_id': 0xffff, # Not supported by the chip.
'rems2_id': 0xffff, # Not supported by the chip.
'rdid_id': 0xffffff, # Not supported by the chip.
'page_size': 64,
- 'sector_size': 16 * 1024,
- 'block_size': 1,
+ 'sector_size': None, # The chip doesn't have sectors.
+ 'block_size': None, # The chip doesn't have blocks.
},
'atmel_at25256': {
'vendor': 'Atmel',
'model': 'AT25256',
- 'res_id': 0xff, # The chip doesn't emit an ID.
+ 'res_id': 0xff, # Not supported by the chip.
'rems_id': 0xffff, # Not supported by the chip.
'rems2_id': 0xffff, # Not supported by the chip.
'rdid_id': 0xffffff, # Not supported by the chip.
'page_size': 64,
- 'sector_size': 32 * 1024,
- 'block_size': 1,
+ 'sector_size': None, # The chip doesn't have sectors.
+ 'block_size': None, # The chip doesn't have blocks.
},
# FIDELIX
'fidelix_fm25q32': {