summaryrefslogtreecommitdiff
path: root/decoders/spiflash/__init__.py
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2015-04-04 19:41:44 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2015-04-07 02:52:51 +0200
commit3ca1f1b3530ff5fb2e93785516e088a58429191e (patch)
treed4aadf4dc55bb5261633997db1e071315fe71b6e /decoders/spiflash/__init__.py
parent868fd207a7506ae2ab48d6a8755350e452d60521 (diff)
downloadlibsigrokdecode-3ca1f1b3530ff5fb2e93785516e088a58429191e.tar.gz
libsigrokdecode-3ca1f1b3530ff5fb2e93785516e088a58429191e.zip
Rename the 'mx25lxx05d' PD to 'spiflash'.
This is in preparation of making the PD more generic so it can support a lot more xx25 series SPI (NOR) flash chips.
Diffstat (limited to 'decoders/spiflash/__init__.py')
-rw-r--r--decoders/spiflash/__init__.py31
1 files changed, 31 insertions, 0 deletions
diff --git a/decoders/spiflash/__init__.py b/decoders/spiflash/__init__.py
new file mode 100644
index 0000000..6ffb4da
--- /dev/null
+++ b/decoders/spiflash/__init__.py
@@ -0,0 +1,31 @@
+##
+## This file is part of the libsigrokdecode project.
+##
+## Copyright (C) 2012-2015 Uwe Hermann <uwe@hermann-uwe.de>
+##
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+## 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
+##
+
+'''
+This decoder stacks on top of the 'spi' PD and decodes the xx25 series
+SPI (NOR) flash chip protocol.
+
+It currently supports the MX25L1605D/MX25L3205D/MX25L6405D.
+
+Details:
+http://www.macronix.com/QuickPlace/hq/PageLibrary4825740B00298A3B.nsf/h_Index/3F21BAC2E121E17848257639003A3146/$File/MX25L1605D-3205D-6405D-1.5.pdf
+'''
+
+from .pd import Decoder