summaryrefslogtreecommitdiff
path: root/decoders
AgeCommit message (Collapse)Author
2019-11-30flexray: Use bit/s instead of Mbit/s for bitrate.Uwe Hermann
This avoids floating point number option values, which makes things a bit easier/clearer on the command-line and also matches what other decoders do. Also, use numbers instead of strings for the option values.
2019-11-30flexray: add basic decoderStephan Thiele
2019-11-30nes_gamepad: implement and add decoderStephan Thiele
2019-11-30uart: Drop question mark from two option names.Uwe Hermann
2019-11-30uart: Shorten various decoder option names.Uwe Hermann
This makes the decoder a lot nicer to use from the command-line. * num_data_bits -> data_bits * parity_type -> parity * num_stop_bits -> stop_bits * rx_packet_delimiter -> rx_packet_delim * tx_packet_delimiter -> tx_packet_delim
2019-11-29uart: rephrase check for required input signals, reword error messageGerhard Sittig
Rephrase the test for the availability of at least one of several optional input signals, and reword the corresponding error message.
2019-11-29uart: support 'ignore' parity type, remove unsupported 'check_parity' optionGerhard Sittig
The previous UART decoder implementation announced a 'check_parity' option which took no effect (support code was missing). Remove it. Add another 'ignore' parity choice instead, which consumes the parity bit's position yet always passes the check.
2019-11-29Remove left-over FSF postal address from boiler plate license text.Uwe Hermann
2019-11-29decoders: Use a slightly more consistent/logical annotation row setup.Uwe Hermann
Generally show "bits" and other smaller annotations in rows that come before "larger" annotations (in later rows).
2019-11-29ir_nec: fix #1243, multiple capture frames.Philipp Marek
2019-11-29ws281x: Check for "None" before subtracting.Philipp Marek
2019-11-29can: more robust sample point position for low sample ratesGerhard Sittig
Do more of the calculation with floating point, only trim precision and enforce integers at the end of the determination of the next sample point. This shall increase robustness at low capture sample rates.
2019-11-29can: implement bit rate switch support for CAN-FD framesStephan Thiele
2019-11-29can: annotate classic CAN CRC as CRC-15Stephan Thiele
2019-11-29lin: calculate checksum on two consecutive UART idle framesStephan Thiele
2019-11-29modbus: Ignore unknown/unsupported types.Uwe Hermann
Without this, e.g. the recently added 'IDLE' ptype of the UART decoder would cause issues.
2019-11-29uart: Document the new 'IDLE' ptype for OUTPUT_PYTHON output.Uwe Hermann
2019-11-29uart: communicate periods of idle frames to stacked decodersGerhard Sittig
Detect periods of a frame's length with idle level, and communicate these time spans to stacked decoders by means of PYTHON output. Do *not* display these idle frames in regular annotations, for backwards compat.
2019-11-28signature: Fix license metadata field to match pd.py license header.Uwe Hermann
2019-11-28signature: Use more human-readable option values.Uwe Hermann
2019-11-28signature: Minor consistency fixes.Uwe Hermann
2019-11-28signature: Add self.reset().Uwe Hermann
2019-11-28Add decoder: signature analysissharow
2019-11-24gpib: drop obscure "total number of samples" optionGerhard Sittig
The gpib decoder tried to "flush" input data at a user specified sample number when the input data lacked the respective edge which triggers the processing during regular operation. This is rather obscure a feature, not seen in any other decoder, perhaps a workaround for bug #292, rather unaccessible to users (units of sample numbers not times nor automatic detection of the EOF condition), highly confusing according to user reports, and not covered by existing tests. The mere presence of this option caused severe issues in application code (see bug #1444). While there is no apparent fix that won't affect other decoders. So let's drop this questionable feature. Valid and complete captures should contain all relevent edges and thus decode properly.
2019-11-24tdm_audio: Place each channel on its own annotation row.Uwe Hermann
2019-11-24tdm_audio: Add initial decoderBen Dooks
2019-11-24amulet_ascii: Drop unneeded rxtx_channels.Uwe Hermann
2019-11-24amulet_ascii: Drop a few unneeded parenthesis.Uwe Hermann
2019-11-24Initial Amulet LCD ASCII PDVesa-Pekka Palmu
This is a protocol decoder for the 'ASCII' protocol used by Amulet Technologies LCDs. Currently some commands are not implemented yet. I also lack capture data from a display that will use replies other than ACK and NACK. Reads are untested as I have no suitable captures. The PD copes with bus errors (there is an actual bug in the device I'm reverse engineering) and most of the commands are implemented. The unimplemented commands should generally consume the correct number of bytes from the bus, the exception to this are the drawing commands, because there are actually at least two revisions of them with different payloads, that are really hard to detect in greedy algorithm.
2019-11-23spiflash: lists.py: Use None for unsupported features.Uwe Hermann
2019-11-23spiflash: Minor fixes for Atmel AT25 chips.Uwe Hermann
2019-11-20spiflash: Add support for Atmel AT25xxxSoeren Apel
2019-11-12uart: Add [rx|tx]_packet_len options.Uwe Hermann
Similar to the recently added [rx|tx]_packet_delimiter options, these emit summary annotations ("packets") when a certain number of data values have been decoded. This is a convenience feature which can be useful when a user wants to view data which doesn't have a specified delimiter value (as last data value in the "packet"), but rather fixed-length "packets". This is just an (intentionally very simple) helper/convenience improvement and is NOT meant to replace "proper" stacked decoders for UART-based protocols.
2019-11-12uart: Add [rx|tx]_packet_delimiter options.Uwe Hermann
This is a convenience feature that emits summary annotations ("packets") that comprise all data values that were decoded until a specified delimiter value is seen (as last data value of the "packet"). Example use-cases include ASCII data where it can be convenient to "packetize" whenever a 10/0x0A value (newline) is seen, or some protocols which have a fixed "marker" value (e.g. 0x55) as last value in the "packet". The annotations are affected by the selected 'format' option, i.e. the user can get summaries in ASCII or hex or other formats. This is just an (intentionally very simple) helper/convenience improvement and is NOT meant to replace "proper" stacked decoders for UART-based protocols.
2019-11-09eeprom93xx: Use fixed-width hex output.Uwe Hermann
This improves readability a bit in most cases.
2019-11-09eeprom93xx: Add OUTPUT_BINARY support.Uwe Hermann
2019-11-06seven_segment: Simplify two code snippets.Uwe Hermann
2019-11-06seven_segment: Initial commit.Benedikt Otto
2019-11-05spiflash: Add "EEPROM" to descriptions.Uwe Hermann
There are various different names that these types of memories are being referred to in the wild: SPI flash, flash chip, flash, flash EEPROM, SPI EEPROM, serial flash, serial memory, flash memory, and various others. In order to make UI decoder selection more useful to the user, we add the "EEPROM" string to some of the decoder metadata fields, so the decoder will (for example) show up in PulseView's list of decoders when the user types "eeprom" to narrow down the listed decoders.
2019-11-05can: Mention CAN-FD support in the description.Uwe Hermann
2019-10-06can: Factor out dlc2len().Uwe Hermann
2019-10-06can: Random whitespace and cosmetic fixes.Uwe Hermann
2019-10-06can: introduce fast bitrateStephan Thiele
2019-10-06can: proper annotation on CAN-FD extended framesstephan.thiele
2019-10-06can: add basic CAN-FD handling of non BRS extended framesstephan.thiele
2019-10-06can: make PD temporary compatible to existing testsStephan Thiele
2019-10-06can: correct decoding of CRC-21Stephan Thiele
2019-09-13can: decode CAN-FD DLCStephan Thiele
2019-09-13can: display CRC type + correct decoding of CRC-17Stephan Thiele
2019-09-13can: implement decoding of CAN-FD header when FDF bit is setStephan Thiele