summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-07-21srd: maxim_ds28ea00: Fix to only handle DS28EA00.Uwe Hermann
2012-07-21srd: Rename onewire_transport to maxim_ds28ea00.Uwe Hermann
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.
2012-07-21srd: onewire_network: Fix typo, command is 0x69.Uwe Hermann
The 'Overdrive match ROM' command is 0x69, not 0x6d. Verified in various datasheets and the original 1-Wire/iButton spec.
2012-07-21srd: onewire_link/network: Fix annotations, small cleanups.Uwe Hermann
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).
2012-07-21srd: onewire_link/network: Reduce nesting level.Uwe Hermann
Also, some additional cleanups.
2012-07-21srd: onewire_network: Cosmetics, simplifications, doc fixes.Uwe Hermann
2012-07-21srd: onewire_link: Cosmetics, simplifications, doc fixes.Uwe Hermann
2012-07-17onewire: fixed an issue caused by renaming a transport layer commandIztok Jeras
2012-07-17onewire: added new transport layer commandsIztok Jeras
2012-07-17onewire: updated documentationIztok Jeras
2012-07-15onewire: added transport layer decoder, it does not do much for nowIztok Jeras
2012-07-15onewire: updates to link layer timingIztok Jeras
2012-07-15onewire: combined reset and presence detect events, avoid unneeded overdrive ↵Iztok Jeras
exit message
2012-07-15onewire: the split of the protocol into layers works nowIztok Jeras
2012-07-15onewire: placing protocol layers into separate directoriesIztok Jeras
2012-07-15onewire: preparations for protocol separation between link and network layersIztok Jeras
2012-07-11srd: Drop 'usb' PD, replaced by two others.Uwe Hermann
The new 'usb_signalling' and the 'usb_protocol' PD which stacks on top of it, replace the old 'usb' decoder.
2012-07-11srd: Performance improvements for various PDs.Uwe Hermann
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.
2012-07-06srd: lm75: Output min/max/avg temperature in report().Uwe Hermann
This is just a preparation for later, the report() is not hooked up anywhere, yet.
2012-07-06srd: lm75: Warn about temperature reg. being read-only.Uwe Hermann
2012-07-06srd: lm75: Generic handling of register reads/writes.Uwe Hermann
2012-07-04srd: onewire: Fix copyright line, and PD name/description.Uwe Hermann
2012-07-04some white space changes, changed handling of normal/overdrive timing, ↵Iztok Jeras
annotations now show duration
2012-07-04added some ducumentation, shortened the ROM command decoder codeIztok Jeras
2012-07-04added some untested overdrive functionality, added some comments, modified ↵Iztok Jeras
timing values in annotations
2012-07-04commented out most of the TRANSPORT layer code, added some code for an ↵Iztok Jeras
improved timing calculation
2012-07-04decoder onewire: added conditional network commands, some fixex to the ↵Iztok Jeras
transport layer
2012-07-04decoder onewire: separated transport layer code from network layerIztok Jeras
2012-07-04decoder onewire: some annotation cleanupIztok Jeras
2012-07-04onewire decoder: removed some debug code, preparations for the next protocol ↵Iztok Jeras
layer
2012-07-04onewire decoder: added search supportIztok Jeras
2012-07-04onewire decoder: added some byte related codeIztok Jeras
2012-07-04some fixex to the link layer, not finalIztok Jeras
2012-07-04unfinished update to onewire protocol decoderUwe Hermann
2012-07-04srd: i2cfilter: Output actual I2C packets.Uwe Hermann
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.
2012-06-28srd: Add National LM75 protocol decoder.Uwe Hermann
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.
2012-06-23sr/srd/cli: require glib version >= 2.28Bert Vermeulen
Needed for g_get_monotonic_time(). Thanks to Tomaž Šolc.
2012-06-21srd: Split USB decoder in two PDs (which stack).Uwe Hermann
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.
2012-06-21srd: usb: Add long description of the PIDs.Uwe Hermann
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???"
2012-06-14srd: usb: Preliminary USB low-speed support.Uwe Hermann
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.
2012-06-14srd: uart_dump: Small simplification.Uwe Hermann
2012-06-14srd: uart_dump: Fix file output (flush).Uwe Hermann
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".
2012-06-14srd: Add experimental uart_dump decoder.Uwe Hermann
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.
2012-06-14srd: pan1321: Add 'Text' (short) annotation format.Uwe Hermann
Rename the old 'Text' format to 'Text (verbose)'.
2012-06-14srd: pan1321: Output correct start/end sample values.Uwe Hermann
2012-06-14srd: Fix non-working PAN1321 decoder.Uwe Hermann
2012-06-12srd: Cosmetics.Uwe Hermann
2012-06-12srd: jtag: Document current (WIP) protocol output format.Uwe Hermann
2012-06-12srd: usb: Fix bugs in the USB decoder.Uwe Hermann
The samplenum/scount handling was broken recently (mea culpa), and the DP/DM probes were swapped.
2012-06-08srd: dcf77: Initial PON handling.Uwe Hermann