summaryrefslogtreecommitdiff
path: root/decoders
AgeCommit message (Collapse)Author
2015-08-21nunchuk: Fix inverted button press logic.Uwe Hermann
The buttons are pressed if the respective bit is 0.
2015-08-18mrf24j40: Fix a register address typo.Uwe Hermann
2015-08-17tlc5620: Add options for per-DAC Vref, show voltages.Uwe Hermann
Instead of showing raw values in the annotations, calculate the actual voltage (based on raw value, gain, and Vref) and use that.
2015-08-17tlc5620: Handle the case of less than 11 bits in a command.Uwe Hermann
2015-08-17tlc5620: Properly handle LOAD and LDAC based operations.Uwe Hermann
- If LOAD goes low *and* LDAC is already low, the voltage is set immediately. - If LOAD goes low but LDAC is high, the value is only written into an internal register, but the voltage is not changed (yet). - If LDAC goes low, all four DAC voltages (DAC A/B/C/D) are set according to the respective register values at the same time.
2015-08-17tlc5620: Only decode the last 11 bits, ignore the rest.Uwe Hermann
2015-08-17tlc5620: Fix incorrect DAC selection decode, add more annotations.Uwe Hermann
2015-08-14usb_packet: Handle invalid packets more gracefully.Uwe Hermann
Previously the PD was blindly trying to decode any packet, no matter whether it was too short (and/or bogus) or not, causing issues like this: srd: Calling usb_packet decode(): IndexError: list index out of range Such cases of invalid input are now handled better by emitting "UNKNOWN" and "Invalid packet" annotations. This fixes bug #186.
2015-08-14usb_packet: Fix incorrect DATA*/MDATA handling.Uwe Hermann
Thanks to Pavel Sukortsev for the bug report and fix. This fixes bug #623.
2015-08-06Add initial SD card (SD mode) decoder.Uwe Hermann
In the current state the decoder can decode the following commands: CMD0, CMD2, CMD3, CMD6, CMD7, CMD8, CMD9, CMD10, CMD13, CMD16, CMD55, ACMD6, ACMD13, ACMD41, ACMD51. Other commands (and more details for existing commands) will be added later.
2015-07-18Add protocol decoder for Modbus RTU.Bart de Waal
2015-07-10qi: Add Qi charger protocol decoderJosef Gajdusek
2015-07-09Add an MDIO/SMI decoder.Aurelien Jacobs
2015-07-01adns5020: Minor tweak to annotation format.Uwe Hermann
2015-07-01mrf24j40: Factor out register lists to lists.py.Uwe Hermann
2015-07-01Add a Microchip MRF24J40 802.15.4 2.4GHz RF tranceiver decoder.Karl Palsson
No interpretation of register bits, nor attempting to decode packet contents, but all shifted register addresses and long register memory regions are decoded. Signed-off-by: Karl Palsson <karlp@tweak.net.au>
2015-06-22adns5020: Add manufacturer name to description.Uwe Hermann
2015-06-19Add Avago ADNS-5020 optical mouse sensor decoder.Karl Palsson
Decodes reads/writes of registers. Understands resetting on chip select if provided. Does not understand burst mode. Signed-off-by: Karl Palsson <karlp@tweak.net.au>
2015-06-16am23xx: explicitly mention RHTxx devices.Karl Palsson
Include their compatibility in the dropdown options too.
2015-04-26timing: Shorten annotations (time units).Uwe Hermann
2015-04-26Add a decoder that calculates timings between transitions.Baruch Even
2015-04-07spiflash: Add lists.py and a 'chips' PD option.Uwe Hermann
2015-04-07Rename the 'mx25lxx05d' PD to 'spiflash'.Uwe Hermann
This is in preparation of making the PD more generic so it can support a lot more xx25 series SPI (NOR) flash chips.
2015-04-07Fix a bunch of typos.Uwe Hermann
2015-04-03onewire_link: Fix a bug when the samplerate is too low for the PD.Uwe Hermann
The code was trying to emit annotations before self.register(srd.OUTPUT_ANN) was run. This fixes bug #357.
2015-04-03spi: Don't decode data lines if CS isn't assertedAndreas Sandberg
Avoid decoding and outputting data from the SPI bus if the CS pin hasn't been asserted. This avoids confusing both users and stacked decoders which otherwise end up seeing traffic intended for other chips (or just noise). Note: The old behavior of decoding all traffic is still in place if no CS pin has been wired up to the decoder. This fixes bug #559.
2015-04-02Slightly shorten a few PD descriptions.Uwe Hermann
2015-04-02Add a decoder for stepper motor direction/speed signals.Petteri Aimonen
2015-04-02Fix a few decoding bugs with arm_etmv3.Petteri Aimonen
Fixed: - wrong address decoding for some branches - error in annotation lists for exception entry/exit - exception was being thrown for 0E0N p-header packets - fixes to objdump output parsing, better function name & source code matching New features: - added decoding of IRQ names for branch exception info - added support for -C option to objdump to decode C++ symbol names - put branches on the "Exceptions" annotation row when they contain exception info.
2015-04-02pwm: add period annotationMatt Porter
2015-03-25mx25lxx05d: Implement FAST READ command.Uwe Hermann
2015-03-02Fix typo in swd decoderPetteri Aimonen
2015-03-02Add ARM TPIU/ITM/ETMv3 decodersPetteri Aimonen
2015-02-24nrf24l01: Change 'xn297_extensions' option to 'chip'.Uwe Hermann
This allows for easily extending the PD to support other clones or compatibles of the nRF24L01(+) chip as well.
2015-02-24nrf24l01: Add option to support the XN297's extra registersMike
2015-02-17Improve uart decoder sample positions at high data rates.Petteri Aimonen
At 3 samples per bit, the uart decoder took the value at the last sample instead of the middle one. Improve calculations so that sampling is more accurate at odd number of samples per bit.
2014-12-28Add 24xx I2C EEPROM protocol decoder.Uwe Hermann
2014-12-28spi: Add binary output facilities for MISO/MOSI.Uwe Hermann
This fixes bug #424.
2014-12-16edid: Add annotation rows.Bert Vermeulen
2014-12-16eded: Add all sections.Bert Vermeulen
2014-11-23jitter: Simplify ascii-float binary out.Uwe Hermann
This also outputs one item of OUT_BINARY per jitter value (not one item per ASCII character in the ASCII floating point number).
2014-11-23jitter: Rename "jitter" binary out to "ascii-float".Uwe Hermann
2014-11-23jitter: add a binary output to report the raw jitter value.Sebastien Bourdelin
Signed-off-by: Sebastien Bourdelin <sebastien.bourdelin@savoirfairelinux.com>
2014-11-23jitter: fixes an error when a miss clock/signal is detectedSebastien Bourdelin
Signed-off-by: Sebastien Bourdelin <sebastien.bourdelin@savoirfairelinux.com>
2014-11-09jitter: Factor out handle_clk() and handle_sig().Uwe Hermann
2014-11-09Add a timing jitter decoder.Sebastien Bourdelin
Signed-off-by: Sebastien Bourdelin <sebastien.bourdelin@savoirfairelinux.com>
2014-11-02pwm: Fix and reworkSebastien Bourdelin
Reworked in the algorithm: - Fixed the polarity setting - Taken in consideration the first transition - Using the 'None' state instead of -1 and 0 value - Simplify the algorithm and remove useless branches and variables - Avoid re-calculating the same thing more than once - Renamed a few variables for a better understanding - Duty cycle precision changed to floating value Otherwise: - Added a meta OUTPUT for the duty cycle average - Renamed the polarity option: 'polarity', 'active low/high' are well-understood terms. - Added comments Signed-off-by: Sebastien Bourdelin <sebastien.bourdelin@savoirfairelinux.com>
2014-10-19spi: Use 'None' to signal the missing CS# pin.Jens Steinhauser
2014-10-19nrf24l01: Don't decode incomplete commands.Jens Steinhauser
Wait for the CS# line to be inactive before decoding the commands.
2014-10-19nrf24l01: Check for CS# pin and only throw exceptions once.Jens Steinhauser