From: Uwe Hermann Date: Sat, 23 Nov 2019 15:11:27 +0000 (+0100) Subject: spiflash: Minor fixes for Atmel AT25 chips. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=4ed2129f32db35032aed0ce7675babdbb91eeea9;p=libsigrokdecode.git spiflash: Minor fixes for Atmel AT25 chips. --- 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': {