libsigrokdecode.git
7 years agoAdd intial CAN protocol decoder.
Uwe Hermann [Wed, 28 Nov 2012 18:06:17 +0000 (19:06 +0100)]
Add intial CAN protocol decoder.

7 years agoconfigure.ac: Also check for python3.3-config.
Uwe Hermann [Wed, 12 Dec 2012 18:45:52 +0000 (19:45 +0100)]
configure.ac: Also check for python3.3-config.

7 years agomlx90614: "Kelvin", not "degrees Kelvin".
Uwe Hermann [Wed, 21 Nov 2012 21:56:01 +0000 (22:56 +0100)]
mlx90614: "Kelvin", not "degrees Kelvin".

7 years agoFix bugs in "Invalid state" printing/exceptions.
Uwe Hermann [Wed, 21 Nov 2012 21:51:31 +0000 (22:51 +0100)]
Fix bugs in "Invalid state" printing/exceptions.

7 years agoAll PDs: Name the files pd.py consistently.
Uwe Hermann [Wed, 21 Nov 2012 21:43:02 +0000 (22:43 +0100)]
All PDs: Name the files pd.py consistently.

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.

7 years agoconfigure.ac/Makefile.am: Alphabetical order.
Uwe Hermann [Wed, 21 Nov 2012 21:29:43 +0000 (22:29 +0100)]
configure.ac/Makefile.am: Alphabetical order.

7 years agotlc5620: Refactoring, add initial LOAD support.
Uwe Hermann [Wed, 21 Nov 2012 21:27:13 +0000 (22:27 +0100)]
tlc5620: Refactoring, add initial LOAD support.

7 years agoInitial TI TLC5620 (8-bit quad DAC) protocol decoder.
Uwe Hermann [Tue, 20 Nov 2012 15:32:02 +0000 (16:32 +0100)]
Initial TI TLC5620 (8-bit quad DAC) protocol decoder.

7 years agoRe-add HACKING file after repo split.
Uwe Hermann [Tue, 16 Oct 2012 12:44:15 +0000 (14:44 +0200)]
Re-add HACKING file after repo split.

7 years agoSmall update for the pkg-config files and Windows.
Uwe Hermann [Sat, 13 Oct 2012 13:49:09 +0000 (15:49 +0200)]
Small update for the pkg-config files and Windows.

On Windows, cmake-using projects seem to have problems with the
"-I/c/Python32/include" syntax we have in the libsigrokdecode .pc file.

However, "-Ic:/Python32/include" works fine. So we just add both to
support everything.

7 years agoREADME: Update repo URL.
Uwe Hermann [Wed, 10 Oct 2012 22:38:38 +0000 (00:38 +0200)]
README: Update repo URL.

7 years ago.gitignore: Add missing entries.
Uwe Hermann [Wed, 10 Oct 2012 22:34:27 +0000 (00:34 +0200)]
.gitignore: Add missing entries.

7 years agoREADME: Add status, update URL, small fixes.
Uwe Hermann [Wed, 10 Oct 2012 21:37:19 +0000 (23:37 +0200)]
README: Add status, update URL, small fixes.

7 years agosrd: uart: Fix regression.
Uwe Hermann [Fri, 31 Aug 2012 09:34:46 +0000 (11:34 +0200)]
srd: uart: Fix regression.

Thanks Iztok Jeras <iztok.jeras@gmail.com> for the report.

7 years agoAdd initial SD card (SPI mode) decoder.
Uwe Hermann [Tue, 31 Jul 2012 21:48:13 +0000 (23:48 +0200)]
Add initial SD card (SPI mode) decoder.

This is work in progress, but it already works partially, and can be used
for actual decodes of some commands.

This PD stacks on top of the SPI protocol decoder.

8 years agosrd: lm75: s/degrees Kelvin/Kelvin/.
Uwe Hermann [Sat, 28 Jul 2012 16:14:21 +0000 (18:14 +0200)]
srd: lm75: s/degrees Kelvin/Kelvin/.

The temperature unit is nowadays called just "Kelvin", not
"degrees Kelvin" (even though this was not always the case).

8 years agosrd: avr_isp: Improve Chip Erase handling.
Uwe Hermann [Sat, 28 Jul 2012 15:39:38 +0000 (17:39 +0200)]
srd: avr_isp: Improve Chip Erase handling.

8 years agosrd: avr_isp: Factor out part numbers/names to part.py.
Uwe Hermann [Sat, 28 Jul 2012 08:51:32 +0000 (10:51 +0200)]
srd: avr_isp: Factor out part numbers/names to part.py.

8 years agosrd: Initial decoder for AVR ISP protocol.
Uwe Hermann [Thu, 26 Jul 2012 16:55:02 +0000 (18:55 +0200)]
srd: Initial decoder for AVR ISP protocol.

8 years agosrd: onewire_link: Annotations shouldn't be ALLCAPS.
Uwe Hermann [Sat, 21 Jul 2012 19:58:20 +0000 (21:58 +0200)]
srd: onewire_link: Annotations shouldn't be ALLCAPS.

While states in the PD should be ALLCAPS per guidelines (for
consistency), the annotations that a PD outputs (and are shown in a
console via sigrok-cli or in a GUI) should be "normal" human-readable
text/formatting usually, i.e. not ALLCAPS.

8 years agosrd: maxim_ds28ea00: Factor out putx(), small fixes.
Uwe Hermann [Sat, 21 Jul 2012 19:31:04 +0000 (21:31 +0200)]
srd: maxim_ds28ea00: Factor out putx(), small fixes.

8 years agosrd: maxim_ds28ea00: Cosmetics, cleanups.
Uwe Hermann [Sat, 21 Jul 2012 19:21:51 +0000 (21:21 +0200)]
srd: maxim_ds28ea00: Cosmetics, cleanups.

8 years agosrd: maxim_ds28ea00: Fix to only handle DS28EA00.
Uwe Hermann [Sat, 21 Jul 2012 19:04:20 +0000 (21:04 +0200)]
srd: maxim_ds28ea00: Fix to only handle DS28EA00.

8 years agosrd: Rename onewire_transport to maxim_ds28ea00.
Uwe Hermann [Sat, 21 Jul 2012 18:37:41 +0000 (20:37 +0200)]
srd: Rename onewire_transport to maxim_ds28ea00.

It doesn't make sense to have one "generic" onewire_transport PD, as
this layer is very much device-specific and such a generic PD would
have to contain an accumulation of all possible features and commands
and handling code of all existing (now and in the future) 1-Wire
devices, which is neither possible nor useful nor elegant.

There are (for example) 1-Wire thermometers, RTCs, EEPROMs,
special-purpose security chips with passwords/keys, battery monitoring
chips, and many many others. They all have a different set of features,
commands and command codes, RAM areas/sizes/partitioning/contents,
protocols, and so on.

Thus, the layering for 1-Wire PD stacks should look like this:

 onewire_link -> onewire_network -> <specificdevice>

Examples:

 onewire_link -> onewire_network -> maxim_ds28ea00 (special thermometer)
 onewire_link -> onewire_network -> maxim_ds2431 (1kbit EEPROM)
 onewire_link -> onewire_network -> maxim_ds2417 (RTC)
 onewire_link -> onewire_network -> maxim_ds2762 (battery monitor)
 onewire_link -> onewire_network -> maxim_ds1961s (SHA-1 eCash iButton)
 and so on...

So, renaming onewire_transport to maxim_ds28ea00. The non-DS28EA00
specific code will be dropped and/or moved to other PDs on top of
onewire_network later.

8 years agosrd: onewire_network: Fix typo, command is 0x69.
Uwe Hermann [Sat, 21 Jul 2012 18:36:07 +0000 (20:36 +0200)]
srd: onewire_network: Fix typo, command is 0x69.

The 'Overdrive match ROM' command is 0x69, not 0x6d. Verified in various
datasheets and the original 1-Wire/iButton spec.

8 years agosrd: onewire_link/network: Fix annotations, small cleanups.
Uwe Hermann [Sat, 21 Jul 2012 17:16:16 +0000 (19:16 +0200)]
srd: onewire_link/network: Fix annotations, small cleanups.

The annotation types are 'Text' and 'Warnings', not 'Link' etc. as the
annotations of the onewire_link PD (for example) are already clearly
from the link layer. The annotation types should be different things/formats
of a specific PD's annotation output instead (like "Celsius" / "Kelvin"
for some temperature sensor, for example).

8 years agosrd: onewire_link/network: Reduce nesting level.
Uwe Hermann [Thu, 19 Jul 2012 19:40:40 +0000 (21:40 +0200)]
srd: onewire_link/network: Reduce nesting level.

Also, some additional cleanups.

8 years agosrd: onewire_network: Cosmetics, simplifications, doc fixes.
Uwe Hermann [Thu, 19 Jul 2012 19:26:50 +0000 (21:26 +0200)]
srd: onewire_network: Cosmetics, simplifications, doc fixes.

8 years agosrd: onewire_link: Cosmetics, simplifications, doc fixes.
Uwe Hermann [Wed, 18 Jul 2012 20:16:19 +0000 (22:16 +0200)]
srd: onewire_link: Cosmetics, simplifications, doc fixes.

8 years agoonewire: fixed an issue caused by renaming a transport layer command
Iztok Jeras [Tue, 17 Jul 2012 19:50:08 +0000 (21:50 +0200)]
onewire: fixed an issue caused by renaming a transport layer command

8 years agoonewire: added new transport layer commands
Iztok Jeras [Tue, 17 Jul 2012 19:42:53 +0000 (21:42 +0200)]
onewire: added new transport layer commands

8 years agoonewire: updated documentation
Iztok Jeras [Tue, 17 Jul 2012 17:33:44 +0000 (19:33 +0200)]
onewire: updated documentation

8 years agoonewire: added transport layer decoder, it does not do much for now
Iztok Jeras [Sun, 15 Jul 2012 15:46:20 +0000 (17:46 +0200)]
onewire: added transport layer decoder, it does not do much for now

8 years agoonewire: updates to link layer timing
Iztok Jeras [Fri, 13 Jul 2012 21:55:44 +0000 (23:55 +0200)]
onewire: updates to link layer timing

8 years agoonewire: combined reset and presence detect events, avoid unneeded overdrive exit...
Iztok Jeras [Fri, 13 Jul 2012 20:59:12 +0000 (22:59 +0200)]
onewire: combined reset and presence detect events, avoid unneeded overdrive exit message

8 years agoonewire: the split of the protocol into layers works now
Iztok Jeras [Tue, 10 Jul 2012 21:14:35 +0000 (23:14 +0200)]
onewire: the split of the protocol into layers works now

8 years agoonewire: placing protocol layers into separate directories
Iztok Jeras [Tue, 10 Jul 2012 20:06:58 +0000 (22:06 +0200)]
onewire: placing protocol layers into separate directories

8 years agoonewire: preparations for protocol separation between link and network layers
Iztok Jeras [Mon, 9 Jul 2012 21:29:34 +0000 (23:29 +0200)]
onewire: preparations for protocol separation between link and network layers

8 years agosrd: Drop 'usb' PD, replaced by two others.
Uwe Hermann [Wed, 11 Jul 2012 20:27:07 +0000 (22:27 +0200)]
srd: Drop 'usb' PD, replaced by two others.

The new 'usb_signalling' and the 'usb_protocol' PD which stacks on top
of it, replace the old 'usb' decoder.

8 years agosrd: Performance improvements for various PDs.
Uwe Hermann [Wed, 11 Jul 2012 20:19:31 +0000 (22:19 +0200)]
srd: Performance improvements for various PDs.

Ignore/skip identical samples in most (low-level) PDs, as we're usually
(but not necessarily always) only interested in pin changes.

This yields a significant performance improvement for the PDs.

The mechanism was already used in the 'i2s', 'jtag', and 'lpc' PDs, but not
yet in all supported low-level decoders. The following PDs now also use
this mechanism: 'dcf77', 'i2c', 'spi', 'uart', and 'usb_signalling'.

Thanks Lars-Peter Clausen <lars@metafoo.de> for bringing this to our
attention.

8 years agosrd: lm75: Output min/max/avg temperature in report().
Uwe Hermann [Wed, 4 Jul 2012 20:03:34 +0000 (22:03 +0200)]
srd: lm75: Output min/max/avg temperature in report().

This is just a preparation for later, the report() is not hooked up
anywhere, yet.

8 years agosrd: lm75: Warn about temperature reg. being read-only.
Uwe Hermann [Wed, 4 Jul 2012 17:52:29 +0000 (19:52 +0200)]
srd: lm75: Warn about temperature reg. being read-only.

8 years agosrd: lm75: Generic handling of register reads/writes.
Uwe Hermann [Wed, 4 Jul 2012 17:35:59 +0000 (19:35 +0200)]
srd: lm75: Generic handling of register reads/writes.

8 years agosrd: onewire: Fix copyright line, and PD name/description.
Uwe Hermann [Tue, 3 Jul 2012 23:58:46 +0000 (01:58 +0200)]
srd: onewire: Fix copyright line, and PD name/description.

8 years agosome white space changes, changed handling of normal/overdrive timing, annotations...
Iztok Jeras [Mon, 2 Jul 2012 21:54:52 +0000 (23:54 +0200)]
some white space changes, changed handling of normal/overdrive timing, annotations now show duration

8 years agoadded some ducumentation, shortened the ROM command decoder code
Iztok Jeras [Sun, 1 Jul 2012 16:35:43 +0000 (18:35 +0200)]
added some ducumentation, shortened the ROM command decoder code

8 years agoadded some untested overdrive functionality, added some comments, modified timing...
Iztok Jeras [Sat, 30 Jun 2012 20:09:47 +0000 (22:09 +0200)]
added some untested overdrive functionality, added some comments, modified timing values in annotations

8 years agocommented out most of the TRANSPORT layer code, added some code for an improved timin...
Iztok Jeras [Thu, 28 Jun 2012 21:07:16 +0000 (23:07 +0200)]
commented out most of the TRANSPORT layer code, added some code for an improved timing calculation

8 years agodecoder onewire: added conditional network commands, some fixex to the transport...
Iztok Jeras [Mon, 25 Jun 2012 22:42:03 +0000 (00:42 +0200)]
decoder onewire: added conditional network commands, some fixex to the transport layer

8 years agodecoder onewire: separated transport layer code from network layer
Iztok Jeras [Mon, 25 Jun 2012 20:03:37 +0000 (22:03 +0200)]
decoder onewire: separated transport layer code from network layer

8 years agodecoder onewire: some annotation cleanup
Iztok Jeras [Mon, 25 Jun 2012 19:27:02 +0000 (21:27 +0200)]
decoder onewire: some annotation cleanup

8 years agoonewire decoder: removed some debug code, preparations for the next protocol layer
Iztok Jeras [Sat, 23 Jun 2012 20:06:47 +0000 (22:06 +0200)]
onewire decoder: removed some debug code, preparations for the next protocol layer

8 years agoonewire decoder: added search support
Iztok Jeras [Sat, 23 Jun 2012 19:29:03 +0000 (21:29 +0200)]
onewire decoder: added search support

8 years agoonewire decoder: added some byte related code
Iztok Jeras [Sat, 23 Jun 2012 16:06:09 +0000 (18:06 +0200)]
onewire decoder: added some byte related code

8 years agosome fixex to the link layer, not final
Iztok Jeras [Sat, 2 Jun 2012 18:06:45 +0000 (20:06 +0200)]
some fixex to the link layer, not final

8 years agounfinished update to onewire protocol decoder
Uwe Hermann [Tue, 3 Jul 2012 23:19:35 +0000 (01:19 +0200)]
unfinished update to onewire protocol decoder

8 years agosrd: i2cfilter: Output actual I2C packets.
Uwe Hermann [Thu, 28 Jun 2012 19:43:12 +0000 (21:43 +0200)]
srd: i2cfilter: Output actual I2C packets.

Change this PD from an I2C->databytes converter/filter to an actual
pure I2C filter in the sense that both input and output is a valid I2C
protocol stream.

Also, change the EDID decoder accordingly, to use the new i2cfilter
output.

8 years agosrd: Add National LM75 protocol decoder.
Uwe Hermann [Wed, 27 Jun 2012 18:02:25 +0000 (20:02 +0200)]
srd: Add National LM75 protocol decoder.

This shall support the original National LM75 I2C-based temperature sensor,
as well as various compatible devices of other vendors, such as the
Fairchild FM75, Dallas DS75, and so on.

Currently only 9bit resolution is supported, and not all commands are
decoded, yet. The register contents and temperatures are decoded
correctly though, and can be output in both Celsius and Kelvin.

8 years agosr/srd/cli: require glib version >= 2.28
Bert Vermeulen [Fri, 22 Jun 2012 23:17:36 +0000 (01:17 +0200)]
sr/srd/cli: require glib version >= 2.28

Needed for g_get_monotonic_time(). Thanks to Tomaž Šolc.

8 years agosrd: Split USB decoder in two PDs (which stack).
Uwe Hermann [Tue, 19 Jun 2012 15:29:18 +0000 (17:29 +0200)]
srd: Split USB decoder in two PDs (which stack).

The 'usb_signalling' decoder just decodes symbols from D+/D- levels,
handles bit stuffing and outputs the symbols and (potential) packets.

The 'usb_protocol' decoder takes that output and tried to parse USB
packets from it (SOF, SETUP, IN, OUT, DATA0, and so on).
This is the base decoder on top of which various others will stack
later on.

The two new PDs are work in progress, so we still keep the old 'usb' PD
around for a little while, until the two new ones are fully working and
well-tested.

8 years agosrd: usb: Add long description of the PIDs.
Uwe Hermann [Fri, 15 Jun 2012 13:21:06 +0000 (15:21 +0200)]
srd: usb: Add long description of the PIDs.

Also, add missing ones which are mentioned in the USB spec. However, not
all may be relevant for LS/FS signalling. But they're still useful to
have in the table, so we can output warnings like

  "Warning: HS PID encountered, but device is FS???"

8 years agosrd: usb: Preliminary USB low-speed support.
Uwe Hermann [Thu, 14 Jun 2012 20:46:52 +0000 (22:46 +0200)]
srd: usb: Preliminary USB low-speed support.

Some of the differences of USB low-speed (compared to full-speed) are:

 - 1.5Mb/s datarate, not 12MBit/s.
 - The J and K states are swapped/inverted.

Note: This is work in progress, further changes may still be needed.

Add a 'signalling' option, which allows the user to select whether the
PD should decode using the low-speed or full-speed signalling protocol.
If unspecified, the default is full-speed.

8 years agosrd: uart_dump: Small simplification.
Uwe Hermann [Thu, 14 Jun 2012 00:06:36 +0000 (02:06 +0200)]
srd: uart_dump: Small simplification.

8 years agosrd: uart_dump: Fix file output (flush).
Uwe Hermann [Thu, 14 Jun 2012 00:02:42 +0000 (02:02 +0200)]
srd: uart_dump: Fix file output (flush).

We need to flush the file output buffer(s), lacking a stop() call in
PDs at the moment, which could do the flush (or file close()) only once
at the end of the PD "session".

8 years agosrd: Add experimental uart_dump decoder.
Uwe Hermann [Wed, 13 Jun 2012 23:14:10 +0000 (01:14 +0200)]
srd: Add experimental uart_dump decoder.

This PD stacks on top of the UART protocol decoder, and ouputs the
decoded UART data in the "canonical" format, one byte after the other
without any metadata (start bits, stop bits, parity bits, errors) and
without any sample-numbers and such. This is basically what you would
see in a terminal program, such as minicom.

Per default it outputs to stdout, but using the 'filename' option
and/or the 'filename_rx'/'filename_tx' options it can also output to
files.

Using the 'tx' and 'rx' options you can also select whether both, or
only one of the data direction's data should be output.

Example:

  sigrok-cli -i foo.sr \
             -a uart:rx=0:tx=1,uart_dump:rx=no:tx=yes:filename=foo.txt \
             -s uart,uart_dump

This PD is just an experiment for now, it's possible that it will be
replaced / reimplemented via a different sigrok facility later on.

8 years agosrd: pan1321: Add 'Text' (short) annotation format.
Uwe Hermann [Wed, 13 Jun 2012 17:34:11 +0000 (19:34 +0200)]
srd: pan1321: Add 'Text' (short) annotation format.

Rename the old 'Text' format to 'Text (verbose)'.

8 years agosrd: pan1321: Output correct start/end sample values.
Uwe Hermann [Wed, 13 Jun 2012 17:26:02 +0000 (19:26 +0200)]
srd: pan1321: Output correct start/end sample values.

8 years agosrd: Fix non-working PAN1321 decoder.
Uwe Hermann [Wed, 13 Jun 2012 17:09:05 +0000 (19:09 +0200)]
srd: Fix non-working PAN1321 decoder.

8 years agosrd: Cosmetics.
Uwe Hermann [Tue, 12 Jun 2012 18:38:08 +0000 (20:38 +0200)]
srd: Cosmetics.

8 years agosrd: jtag: Document current (WIP) protocol output format.
Uwe Hermann [Sat, 9 Jun 2012 16:34:24 +0000 (18:34 +0200)]
srd: jtag: Document current (WIP) protocol output format.

8 years agosrd: usb: Fix bugs in the USB decoder.
Uwe Hermann [Sat, 9 Jun 2012 15:57:30 +0000 (17:57 +0200)]
srd: usb: Fix bugs in the USB decoder.

The samplenum/scount handling was broken recently (mea culpa), and the
DP/DM probes were swapped.

8 years agosrd: dcf77: Initial PON handling.
Uwe Hermann [Fri, 8 Jun 2012 19:39:09 +0000 (21:39 +0200)]
srd: dcf77: Initial PON handling.

8 years agosrd: dcf77: Bugfix, PD was broken.
Uwe Hermann [Fri, 8 Jun 2012 19:06:59 +0000 (21:06 +0200)]
srd: dcf77: Bugfix, PD was broken.

8 years agosrd: mx25lxx05d: 'Verbose decode' & 'Warnings' annotations.
Uwe Hermann [Fri, 8 Jun 2012 17:44:44 +0000 (19:44 +0200)]
srd: mx25lxx05d: 'Verbose decode' & 'Warnings' annotations.

8 years agosrd: mx25lxx05d: Add empty handlers for TODO cmds.
Uwe Hermann [Fri, 8 Jun 2012 14:14:31 +0000 (16:14 +0200)]
srd: mx25lxx05d: Add empty handlers for TODO cmds.

8 years agosrd: mx25lxx05d: Further fixes/simplifications.
Uwe Hermann [Fri, 8 Jun 2012 14:07:02 +0000 (16:07 +0200)]
srd: mx25lxx05d: Further fixes/simplifications.

Also handle (not yet implemented) special-case command names such as
'RDP/RES' and 'FAST/READ' correctly.

8 years agosrd: mx25lxx05d: Simplify/generify cmd handling.
Uwe Hermann [Fri, 8 Jun 2012 12:58:47 +0000 (14:58 +0200)]
srd: mx25lxx05d: Simplify/generify cmd handling.

8 years agosrd: mlx90614: Small bugfix.
Uwe Hermann [Wed, 30 May 2012 23:15:55 +0000 (01:15 +0200)]
srd: mlx90614: Small bugfix.

8 years agosrd: nunchuk: Enable PD now, it works fine.
Uwe Hermann [Wed, 30 May 2012 23:03:54 +0000 (01:03 +0200)]
srd: nunchuk: Enable PD now, it works fine.

8 years agosrd: nunchuk: Support for the Nunchuk init sequence.
Uwe Hermann [Mon, 28 May 2012 12:57:51 +0000 (14:57 +0200)]
srd: nunchuk: Support for the Nunchuk init sequence.

8 years agosrd: nunchuk: Add verbose summary annotation.
Uwe Hermann [Mon, 28 May 2012 12:17:55 +0000 (14:17 +0200)]
srd: nunchuk: Add verbose summary annotation.

8 years agosrd: nunchuk: Only output summary annotation if possible.
Uwe Hermann [Sun, 27 May 2012 14:22:59 +0000 (16:22 +0200)]
srd: nunchuk: Only output summary annotation if possible.

8 years agosrd: nunchuk: Fix most annotation samplenumbers.
Uwe Hermann [Sun, 27 May 2012 14:15:06 +0000 (16:15 +0200)]
srd: nunchuk: Fix most annotation samplenumbers.

Also, add a self.putx() helper method, as most annotations we have right
now are exactly one I2C packet long (there will also be others later, though).

8 years agosrd: Wii Nunchuk: Complete rewrite, PD works now.
Uwe Hermann [Sun, 27 May 2012 14:05:34 +0000 (16:05 +0200)]
srd: Wii Nunchuk: Complete rewrite, PD works now.

The Nintendo Wii Nunchuk protocol decoder, while it was in the repo for
a while, didn't really work yet (among other things, due to lack of
dumps for testing the code).

This is fixed now, the rewritten decoder works fine with most dump
files in the sigrok-dumps repo. A few minor issues remain to be
added/fixed, though.

8 years agosrd: Cosmetics.
Uwe Hermann [Tue, 29 May 2012 23:04:48 +0000 (01:04 +0200)]
srd: Cosmetics.

8 years agosrd: Disable 'onewire' PD for now, until it's working.
Uwe Hermann [Tue, 29 May 2012 23:04:29 +0000 (01:04 +0200)]
srd: Disable 'onewire' PD for now, until it's working.

8 years agosr/srd/cli/gtk: ChangeLog -> MAINTAINERCLEANFILES.
Uwe Hermann [Tue, 29 May 2012 18:30:15 +0000 (20:30 +0200)]
sr/srd/cli/gtk: ChangeLog -> MAINTAINERCLEANFILES.

If the (generated) ChangeLog file is marked for DISTCLEANFILES, it'll be
removed whenever "make distclean" is called (and is then gone forever if
you use the tarballs, for example).

8 years agosrd: onewire: Fix incorrect format for annotation output.
Uwe Hermann [Tue, 22 May 2012 23:12:11 +0000 (01:12 +0200)]
srd: onewire: Fix incorrect format for annotation output.

Should be a list containing:

 - Annotation format number (e.g. 0, or ANN_DEC, etc).

 - A list of strings (the annotation). If more than one string is
   supplied, the other ones should be short versions of the string.
   Example: [ANN_DEC, ["Foobarbaz", "Foo", "F"]]

   This is optional, and mostly useful for GUIs.

8 years agosrd: onewire: Fix %d and %s mismatch.
Uwe Hermann [Tue, 22 May 2012 23:09:49 +0000 (01:09 +0200)]
srd: onewire: Fix %d and %s mismatch.

8 years agosrd: onewire: Get optional 'pwr' probe value, too.
Uwe Hermann [Tue, 22 May 2012 23:01:03 +0000 (01:01 +0200)]
srd: onewire: Get optional 'pwr' probe value, too.

8 years agosrd: onewire: Drop UART leftover comments.
Uwe Hermann [Tue, 22 May 2012 22:59:50 +0000 (00:59 +0200)]
srd: onewire: Drop UART leftover comments.

8 years agoremoved some code copied from UART decoder, fixed some Python syntax issues
Iztok Jeras [Tue, 22 May 2012 20:27:25 +0000 (22:27 +0200)]
removed some code copied from UART decoder, fixed some Python syntax issues

8 years agounfinished update to onewire protocol decoder
Iztok Jeras [Wed, 16 May 2012 20:01:32 +0000 (22:01 +0200)]
unfinished update to onewire protocol decoder

8 years agocommiting new unfinished 1-wire decoder
Iztok Jeras [Tue, 15 May 2012 21:15:26 +0000 (23:15 +0200)]
commiting new unfinished 1-wire decoder

8 years agosrd: MX25Lxx05D: Fix inverted SRWD bit handling.
Uwe Hermann [Fri, 18 May 2012 19:42:29 +0000 (21:42 +0200)]
srd: MX25Lxx05D: Fix inverted SRWD bit handling.

8 years agosrd: MX25Lxx05D: Decode status register bits.
Uwe Hermann [Fri, 18 May 2012 17:58:58 +0000 (19:58 +0200)]
srd: MX25Lxx05D: Decode status register bits.

8 years agosrd: MX25Lxx05D: Fix SE command.
Uwe Hermann [Fri, 18 May 2012 13:28:52 +0000 (15:28 +0200)]
srd: MX25Lxx05D: Fix SE command.

8 years agosrd: MX25Lxx05D: Implement READ command.
Uwe Hermann [Fri, 18 May 2012 13:05:03 +0000 (15:05 +0200)]
srd: MX25Lxx05D: Implement READ command.

8 years agosrd: MX25Lxx05D: Implement RDSR and PP commands.
Uwe Hermann [Wed, 16 May 2012 21:06:21 +0000 (23:06 +0200)]
srd: MX25Lxx05D: Implement RDSR and PP commands.

Also, some small fixes and additional debug code/output.

8 years agosrd: spi: Document output protocol, send CS# changes.
Uwe Hermann [Wed, 16 May 2012 20:48:47 +0000 (22:48 +0200)]
srd: spi: Document output protocol, send CS# changes.

As per guidelines in HACKING, the protocol "commands"/items should be ALLCAPS,
thus change 'data' to 'DATA'. Also, fix MX25Lxx05D protocol decoder
accordingly, currently the only one we have which stacks on top of SPI.

Add a new 'CS-CHANGE' output protocol item, which is sent upon every
change of the CS# pin value (either 0->1, or vice versa). This is needed
by various higher-level PDs.