## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-# Macronix MX25Lxx05D SPI (NOR) flash chip protocol decoder
-
-# Note: Works for MX25L1605D/MX25L3205D/MX25L6405D.
-
import sigrokdecode as srd
# Dict which maps command IDs to their names and descriptions.
outputs = ['mx25lxx05d']
probes = []
optional_probes = [
- {'id': 'hold', 'name': 'HOLD#', 'desc': 'TODO.'},
- {'id': 'wp_acc', 'name': 'WP#/ACC', 'desc': 'TODO.'},
+ {'id': 'hold', 'name': 'HOLD#', 'desc': 'Pause device w/o deselecting it'},
+ {'id': 'wp_acc', 'name': 'WP#/ACC', 'desc': 'Write protect'},
]
options = {}
annotations = [
- ['Text', 'Human-readable text'],
- ['Verbose decode', 'Decoded register bits, read/write data'],
- ['Warnings', 'Human-readable warnings'],
+ ['text', 'Human-readable text'],
+ ['verbose-decode', 'Decoded register bits, read/write data'],
+ ['warnings', 'Human-readable warnings'],
]
def __init__(self, **kwargs):
self.data = []
def start(self):
- # self.out_proto = self.register(srd.OUTPUT_PYTHON)
+ # self.out_python = self.register(srd.OUTPUT_PYTHON)
self.out_ann = self.register(srd.OUTPUT_ANN)
def putx(self, data):