]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/spiflash/lists.py
spiflash: Add basic Adesto AT45DBxx support (WRITE1/2, STATUS).
[libsigrokdecode.git] / decoders / spiflash / lists.py
index f2d5bc675cfa073147cda44eff58d02304d6b9d3..178533366465270af3d086da6271974731c54dce 100644 (file)
@@ -14,8 +14,7 @@
 ## GNU General Public License for more details.
 ##
 ## You should have received a copy of the GNU General Public License
-## along with this program; if not, write to the Free Software
-## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+## along with this program; if not, see <http://www.gnu.org/licenses/>.
 ##
 
 from collections import OrderedDict
@@ -38,15 +37,18 @@ 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')),
     (0xad, ('CP', 'Continuously program mode')),
     (0xb1, ('ENSO', 'Enter secured OTP')),
     (0xb9, ('DP', 'Deep power down')),
-    (0xbb, ('2READ', '2x I/O read')),
+    (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')),
 ])