'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',
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, \