diff options
author | Soeren Apel <soeren@apelpie.net> | 2019-11-20 19:56:27 +0100 |
---|---|---|
committer | Soeren Apel <soeren@apelpie.net> | 2019-11-20 19:57:05 +0100 |
commit | 358844606b27eeae721e18dbf254451bbfd4e7b1 (patch) | |
tree | 17eb3abaaa28daad1819241b383be502286ca9ba /decoders/spiflash/lists.py | |
parent | e2768fbcdeba97d10c2beaea709412e6fb8b047d (diff) | |
download | libsigrokdecode-358844606b27eeae721e18dbf254451bbfd4e7b1.tar.gz libsigrokdecode-358844606b27eeae721e18dbf254451bbfd4e7b1.zip |
spiflash: Add support for Atmel AT25xxx
Diffstat (limited to 'decoders/spiflash/lists.py')
-rw-r--r-- | decoders/spiflash/lists.py | 23 |
1 files changed, 23 insertions, 0 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', |