From 4ed2129f32db35032aed0ce7675babdbb91eeea9 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sat, 23 Nov 2019 16:11:27 +0100 Subject: spiflash: Minor fixes for Atmel AT25 chips. --- decoders/spiflash/lists.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'decoders/spiflash/lists.py') 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': { -- cgit v1.2.3-70-g09d2