]> sigrok.org Git - libsigrokdecode.git/commitdiff
spiflash: Minor fixes for Atmel AT25 chips.
authorUwe Hermann <redacted>
Sat, 23 Nov 2019 15:11:27 +0000 (16:11 +0100)
committerUwe Hermann <redacted>
Sat, 23 Nov 2019 15:11:27 +0000 (16:11 +0100)
decoders/spiflash/lists.py

index 4bdc6dd7986877db62c88227a732bfd478730681..a25e784364f42ad45d7f3e49fae5b69a560e3e92 100644 (file)
@@ -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': {