diff options
Diffstat (limited to 'decoders')
-rw-r--r-- | decoders/spiflash/lists.py | 23 | ||||
-rw-r--r-- | decoders/spiflash/pd.py | 2 |
2 files changed, 24 insertions, 1 deletions
diff --git a/decoders/spiflash/lists.py b/decoders/spiflash/lists.py index 5c366be..4bdc6dd 100644 --- a/decoders/spiflash/lists.py +++ b/decoders/spiflash/lists.py @@ -83,6 +83,29 @@ chips = { 'sector_size': 128 * 1024, 'block_size': 4 * 1024, }, + # Atmel + 'atmel_at25128': { + 'vendor': 'Atmel', + 'model': 'AT25128', + 'res_id': 0xff, # The chip doesn't emit an ID. + '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, + }, + 'atmel_at25256': { + 'vendor': 'Atmel', + 'model': 'AT25256', + 'res_id': 0xff, # The chip doesn't emit an ID. + '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, + }, # FIDELIX 'fidelix_fm25q32': { 'vendor': 'FIDELIX', diff --git a/decoders/spiflash/pd.py b/decoders/spiflash/pd.py index ad92023..33fe229 100644 --- a/decoders/spiflash/pd.py +++ b/decoders/spiflash/pd.py @@ -22,7 +22,7 @@ from .lists import * L = len(cmds) -# Don't forget to keep this in sync with 'cmds' is lists.py. +# Don't forget to keep this in sync with 'cmds' in lists.py. class Ann: WRSR, PP, READ, WRDI, RDSR, WREN, FAST_READ, SE, RDSCUR, WRSCUR, \ RDSR2, CE, ESRY, DSRY, WRITE1, WRITE2, REMS, RDID, RDP_RES, CP, ENSO, DP, \ |