summaryrefslogtreecommitdiff
path: root/decoders/spiflash/lists.py
diff options
context:
space:
mode:
authorAleksander Alekseev <afiskon@gmail.com>2018-05-03 14:04:47 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2018-05-03 15:15:09 +0200
commit8a73c6c7b727363ad959598ca87310fad72f7e62 (patch)
tree91c0710932317cba64bcafd09b5e7b6e0f1e3f90 /decoders/spiflash/lists.py
parentcb67584195ed543adf090c9299d28e9f7f89f861 (diff)
downloadlibsigrokdecode-8a73c6c7b727363ad959598ca87310fad72f7e62.tar.gz
libsigrokdecode-8a73c6c7b727363ad959598ca87310fad72f7e62.zip
spiflash: Add basic Adesto AT45DBxx support (WRITE1/2, STATUS).
Diffstat (limited to 'decoders/spiflash/lists.py')
-rw-r--r--decoders/spiflash/lists.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/decoders/spiflash/lists.py b/decoders/spiflash/lists.py
index 9aa6bd4..1785333 100644
--- a/decoders/spiflash/lists.py
+++ b/decoders/spiflash/lists.py
@@ -37,6 +37,8 @@ cmds = OrderedDict([
(0x60, ('CE', 'Chip erase')),
(0x70, ('ESRY', 'Enable SO to output RY/BY#')),
(0x80, ('DSRY', 'Disable SO to output RY/BY#')),
+ (0x82, ('WRITE1', 'Main memory page program through buffer 1 with built-in erase')),
+ (0x85, ('WRITE2', 'Main memory page program through buffer 2 with built-in erase')),
(0x90, ('REMS', 'Read electronic manufacturer & device ID')),
(0x9f, ('RDID', 'Read identification')),
(0xab, ('RDP/RES', 'Release from deep powerdown / Read electronic ID')),
@@ -46,6 +48,7 @@ cmds = OrderedDict([
(0xbb, ('2READ', '2x I/O read')), # a.k.a. "Fast read dual I/O".
(0xc1, ('EXSO', 'Exit secured OTP')),
(0xc7, ('CE2', 'Chip erase')), # Alternative command ID
+ (0xd7, ('STATUS', 'Status register read')),
(0xd8, ('BE', 'Block erase')),
(0xef, ('REMS2', 'Read ID for 2x I/O mode')),
])