summaryrefslogtreecommitdiff
path: root/decoders
AgeCommit message (Collapse)Author
2016-05-25Move common/ directory into decoders/.Uwe Hermann
This simplifies cross-platform handling of the Python/decoder paths and module installation/dist a bit and also fixes bug #804.
2016-05-18Add decoder for em4305 RFID protocolBenjamin Larsson
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.
2016-05-11usb_request: Drop hardcoded samplerate.Uwe Hermann
The libsigrokdecode backend now passes metadata (e.g. samplerate) to all PDs, stacked and non-stacked (see bug #664), so this interim solution is no longer needed.
2016-05-11wiegand: Make bitwidth_ms option values integer (not string).Uwe Hermann
2016-05-11Add wiegand decoder.Sean Burford
2016-05-09Consistently use ' instead of " for strings in all PDs.Uwe Hermann
2016-05-09Factor out SD card lists into common/sdcard.Uwe Hermann
These are used by the sdcard_spi and sdcard_sd decoders.
2016-05-05Factor out bcd2int() into common/srdhelper.Uwe Hermann
2016-05-04Move constants out of xfp to common/plugtrx.Bert Vermeulen
2016-05-04mdio: Add 'TURNAROUND' long/full annotation.Uwe Hermann
(useful in GUIs for displaying more useful annotations at certain zoom levels)
2016-05-04mdio: Factor out self.putff().Uwe Hermann
2016-05-04Add an MDIO protocol decoder.Elias Oenal
This new implementation supports all the features of the old decoder, and additionally supports Clause 22 and 45.
2016-04-27Drop mdio decoder (to be replaced with another implementation).Uwe Hermann
2016-04-20pwm: Use self.{ss,es}_block for consistency across PDs.Uwe Hermann
2016-04-20timing: Use self.samplenum for consistency across PDs.Uwe Hermann
2016-03-20Add initial Renesas Advanced User Debugger (AUD) decoder.fenugrec
2016-03-04em4100/t55xx: Fix accidentally broken wording in license header.Uwe Hermann
The word "version" was accidentally replaced by "data" (sed).
2016-03-04Fix various incorrect PD license metadata fields.Uwe Hermann
Have the PD 'license' attribute match what the license header of the respective pd.py file actually says.
2016-03-04Add an rgb_led_ws281x decoder.Uwe Hermann
This decoder handles the WS2812B protocol (and possibly WS2811). Example dump already exists: led/ws281x/ws281x_4ch_5mhz.sr. Signed-off-by: Vladimir Ermakov <vooon341@gmail.com>
2016-03-03Add decoder for the t55xx RFID protocolBenjamin Larsson
2016-01-29uart: Optimize handling of samples when tx and rx are both idleDaniel Thompson
Re-enable the fast path for identical samples but only when both pins are waiting for the start bit. For sparse data sets (I tested UT61E capture log) the optimization results in a >4x decode improvement.
2016-01-29arm_itm: Use objdump instead of addr2line.Petteri Aimonen
This improves speed and fixes bug 564. Code is somewhat of a copypaste from the arm_etm counterpart, but there are enough differences that it is easier to keep separate copy of the objdump parsing in each.
2015-12-25usb_power_delivery: Raise SamplerateError instead of Exception.Uwe Hermann
(for consistency with the other PDs)
2015-12-24Use self.out_binary naming consistently across all PDs.Uwe Hermann
2015-12-24Use a Python list (not tuple) for OUT_BINARY.Uwe Hermann
This is more consistent with annotation syntax and looks slightly better in most cases.
2015-12-18em4100: Simplify the code a bit.Uwe Hermann
2015-12-18em4100: Use ss/es naming for consistency across PDs.Uwe Hermann
2015-12-18em4100: Eliminate some unnecessary int()s.Uwe Hermann
2015-12-18em4100: Change annotation setup a bit, decode more protocol details.Uwe Hermann
2015-12-18Add RFID EM4100 protocol decodingBenjamin Larsson
2015-12-16usb_power_delivery: Use "if not self.samplerate" form.Uwe Hermann
Use the "if not self.samplerate" form, which catches both the case where self.samplerate is None, as well as the case where it is 0. This is also consistent with all the other PDs.
2015-12-16usb_power_delivery: convert double quotes to single quotesVincent Palatin
For consistency with other decoders, convert all the double quotes around strings to single quotes. Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
2015-12-04usb*: Minor cosmetics.Uwe Hermann
2015-12-01usb_signalling: detect PREamble PIDStefan Brüns
PID decoding is normally done in the packet layer, but the signalling layer has to switch behaviour on detection of an PREamble PID.
2015-12-01usb_signalling: add signaling states needed after LS PREamble PIDStefan Brüns
2015-12-01usb_{packet,request}: handle PREamble transmissionsStefan Brüns
2015-11-30usb_signalling: fix SOP detection after an error conditionStefan Brüns
If the oldsym is not set to 'J' before entering IDLE state, the SOP detection will never trigger
2015-11-30usb_packet: handle errors from usb_signallingStefan Brüns
If a packet had any errors, the usb_signalling PD will not send an EOP but an ERR message. Wait for the next SOP in both cases.
2015-11-30usb_request: Handle transmission timeoutsStefan Brüns
If a device or host did not receive a handshake 18 bit times after the EOP, there was a transmission error and the host may repeat the transmission
2015-11-30usb_signalling: add option to automatically set signalling speedStefan Brüns
In automatic mode, the bus is assumed to be in IDLE state. After a RESET, the bus state is checked again.
2015-11-30usb_signalling: decode RESET and Keep-Alive signalling conditionsStefan Brüns
Resets are at least 10ms at the root hub downstream facing port and 2.5us at the device (root hub reset may be shortened by itermediate hubs). Keep-alive is a low-speed only signalling condition, as low-speed has no SOFs to inhibit devices to enter suspend
2015-11-30usb_signalling: use explicit positions for packet start/endStefan Brüns
Instead of centering the block around the sampleposition, which shows some visual glitches due to rounding, use the edge positions already known. Remove unused halfbit symbol.
2015-11-30usb_signalling: handle symbol errors in EOP stateStefan Brüns
Only SE0 and J are valid symbols during EOP
2015-11-30usb_signalling: remove unneeded syms arrayStefan Brüns
Do not call get_eop() from get_bit(), but directly issue the symbol. As get_eop() is only called during the GET EOP state, the SE0 is implicit and there is no need to save it into the syms array.
2015-11-30usb_signalling: remove unused ss_sop memberStefan Brüns
2015-11-30usb_signalling: detect bit stuffing errorsStefan Brüns
More than six consecutive 1's are an error
2015-11-30usb_signalling: consolidate symbol outputStefan Brüns
No need to replicate the symbol formatting in several places
2015-11-22spi: Add a 'TRANSFER' output type.Paul "LeoNerd" Evans
2015-11-22Fix documentation comment in SPI decoderPaul "LeoNerd" Evans