summaryrefslogtreecommitdiff
path: root/decoders/jtag
AgeCommit message (Collapse)Author
2020-06-23jtag: Use list.append instead of insertKonrad Beckmann
Improve processing time by appending bits instead of inserting them to the lists.
2020-01-10jtag: Use SrdStrEnum for the state machine.Uwe Hermann
2020-01-01All PDs: Consistently use singular/plural for annotation classes/rows.Uwe Hermann
2019-03-15decoders: Add/update tags for each PD.Uwe Hermann
2019-03-13Add PD tags handling and some tagsSoeren Apel
2018-05-03jtag: Fix shifting of registersGeorge Hopkins
This fixes bug #1066.
2017-12-22all decoders: introduce a reset() methodGerhard Sittig
Move initialization code of protocol decoders from the constructor to a new reset() helper method. The libsigrokdecode backend could run this method several times to clear the decoder's internal state, before new data from another acquisition gets fed to decode() calls.
2017-01-07license: remove FSF postal address from boiler plate license textGerhard Sittig
Remove the FSF postal address as it might change (it did in the past). Reference the gnu.org website instead which is more stable.
2016-12-07jtag: Convert to PD API version 3.Uwe Hermann
2016-05-15Use consistent __init__() format across all PDs.Uwe Hermann
The previous **kwargs some PDs had is not actually ever used, so drop it.
2015-09-03jtag: Submit bit samplenumbers together with the bits.Uwe Hermann
2015-09-03jtag: Add more annotations, fix a SHIFT-IR/-DR issue.Uwe Hermann
The code was previously not decoding a bit for the first state change to SHIFT-IR/-DR, which was incorrect.
2015-09-03jtag: Fix/enable OUT_PYTHON output.Uwe Hermann
2014-10-13All PDs: Only import the 'Decoder' object.Uwe Hermann
Anything else in the pd.py files doesn't have to be imported/exposed.
2014-07-15All PDs: Minor whitespace and consistency fixes.Uwe Hermann
- No newlines at the end of files. - No trailing ';' characters. - Comparison with None: Use 'is None' or 'is not None'. - Comparison with True/False: Use 'if cond:' or 'if not cond:'. - Various minor whitespace fixes.
2014-07-09All PDs: Drop unneeded exceptions.Uwe Hermann
In all current PDs it is not necessary to raise an exception upon invalid states (of the PD's state machine), since we can guarantee that no such invalid state can ever be reached in these PDs.
2014-04-15All PDs: More consistent OUTPUT_PYTHON format docs.Uwe Hermann
2014-04-15All PDs: Bump api_version to 2.Uwe Hermann
Older libsigrokdecode versions are no longer able to use the current versions of the PDs (various changes in syntax etc).
2014-04-13Rename 'probe' to 'channel' everywhere.Uwe Hermann
Variables of type 'struct srd_channel *' are consistently named 'pdch' to make them easily distinguishable from libsigrok's 'struct sr_channel *' variables that are consistently named 'ch'.
2014-03-10Probes, optional probes and annotations now take a tuple.Bert Vermeulen
Annotation entries also consist of a tuple, not a list.
2014-03-10Remove unused probes and optionsBert Vermeulen
2014-02-23jtag: Use list comprehensions.Uwe Hermann
2014-01-30s/out_proto/out_python/.Uwe Hermann
The output type is now called OUTPUT_PYTHON, adapt all PDs to that.
2014-01-28All PDs: Drop unneeded comments.Uwe Hermann
The single comment re-stating the PD's name / description / purpose in each pd.py file is not really needed, that info is available in the Decoder class' attributes already.
2014-01-28All PDs: Improve/fix descriptions.Uwe Hermann
2013-12-28jtag: Use proper annotation classes, fix GUI usage.Uwe Hermann
This closes bug #156.
2013-12-28jtag: Refactor and simplify some code.Uwe Hermann
2013-11-27Automate protocol decoder installation.Bert Vermeulen
This automatically figures out the files to install for each protocol decoder, without involving autotools. All python files (filenames ending in .py) are always installed. If a protocol decoder requires installation of a non-python file, a small file called 'config' can be created in that protocol decoder's directory, with the following content: # comments are ok extra-install vendorlist.txt commands.txt
2013-11-15Drop obsolete report() method.Bert Vermeulen
2013-11-15Use the new Decoder.register() APIBert Vermeulen
2013-11-07Rename inter-PD output type to SRD_OUTPUT_PYTHONBert Vermeulen
This better reflects what it is: a python object generated and processed by python code.
2013-10-30The start() method no longer takes a metadata parameterBert Vermeulen
2013-04-23GPL headers: Use correct project name.Uwe Hermann
2012-11-24All PDs: Name the files pd.py consistently.Uwe Hermann
The Python module name is determined by the directory name (e.g. dcf77), the *.py file names in that directory don't matter and can be kept consistent.
2012-06-12srd: Cosmetics.Uwe Hermann
2012-06-12srd: jtag: Document current (WIP) protocol output format.Uwe Hermann
2012-05-30srd: Cosmetics.Uwe Hermann
2012-05-10srd: JTAG: Enavble and get/use optional probes.Uwe Hermann
2012-05-08srd: Remove TODOs from annotation format names.Uwe Hermann
Also, fix minor consistency issues, cosmetics, typos.
2012-05-03srd: JTAG: Also show the bitstrings in hex (for now).Uwe Hermann
2012-04-29srd: JTAG: Add some more docs.Uwe Hermann
2012-04-29srd: JTAG: The TRST# (and SRST#) signals are optional.Uwe Hermann
Don't handle them for now, will do this later.
2012-04-29srd: jtag: Various bugfixes.Uwe Hermann
Most importantly, both TDI and TDO are sampled at the rising TCK edge, and only upon transitions from SHIFT-DR to SHIFT-DR and SHIFT-IR to SHIFT-IR are we to save the TDI/TDO values (if I understood this correcly). Also, start out in RUN-TEST/IDLE state for now. This is useful if you have JTAG dumps which start "in the middle" somewhere, not in the TEST-LOGIC-RESET state. For full dumps, the JTAG software usually issues five TMS=1 cycles to force the JTAG state machine into TEST-LOGIC-RESET anyway, so this works fine too.
2012-04-26srd: Add initial JTAG protocol decoder.Uwe Hermann
This is unfinished, needs some more work.