Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-03-14 | uart: Improve robustness of query API result processing | Gerhard Sittig | |
Since either of the UART signals (RX, TX) is optional, and in the absence of Decoder.wait() conditions that "will never match", we cannot construct a constant layout. Instead we need to explicitly keep track of which item in the list of wait conditions corresponds to which signal. Once the index in the list of wait conditions is known, inspection of samples can depend on the Decoder.matched[] attribute. Before this change, redundant reached_bit() checks kept us from processing samples that should not have been inspected. Tests pass before and after this very commit. | |||
2017-03-14 | uart: Reduce redundancy in sample inspection (state machine) | Gerhard Sittig | |
Factor out the logic which inspects samples that were provided by the PD version 3 query API, and dispatches their processing depending on the progress of UART frame inspection. "Unroll" a loop over the RX and TX signals. This commit replaces some complicated variable assignments by easier to verify invocations. | |||
2017-03-14 | uart: Convert to PD API version 3 | Gerhard Sittig | |
Adjust the UART protocol decoder, to make use of the query based API. Have edges detected and unrelated samples skipped by common code. This implementation keeps some redundancy in place (like checking for having reached specific sample numbers, while the backend managed that for us). This approach reduces the diff and shall simplify review. Only some common checks in decode() were moved to the start of the routine, outside of the sample inspection loop. | |||
2017-03-14 | uart: Minor readability nit (position of start bit in calculation) | Gerhard Sittig | |
Rephrase the bit slot index calculation for UART frames such that it becomes more apparent whether a start bit is involved or whether an array index needs adjustment due to Python range semantics. This shall improve readability, and reduce the probability of off-by-one errors during maintenance. | |||
2017-03-14 | uart: Immediately skip reception of parity bits when not applicable | Gerhard Sittig | |
When the UART frame does not contain a parity bit, then immediately advance to reception of stop bits after all data bits were received. This eliminates the necessity to run the parity check routine when parity does not apply in the first place. Without this change, some "dummy" sample needs to get inspected for correct operation of the state machine. | |||
2017-03-14 | uart: Remove an obsolete unused routine | Gerhard Sittig | |
2017-03-04 | rgb_led_ws281x: Use self.samplenum. | Uwe Hermann | |
This is currently just a cosmetic change, but will make the conversion to the PDv3 API slightly easier and more readable. | |||
2017-03-03 | Drop obsolete workarounds in PDs. | Uwe Hermann | |
Some PDs were using a temporary workaround for (as it turned out) a refcounting issue that was fixed in 066fbafdc3ba734a73b5f7fcfa1dbae67ddebf8a. | |||
2017-02-25 | Add an initial serial GPIB (IEC) decoder. | Marcus Comstedt | |
2017-02-14 | Added intial ADF4350/1 decoder | Joel Holdsworth | |
2017-01-18 | z80: Convert to PD API version 3 (brute force) | Gerhard Sittig | |
This implementation technically uses v3 API calls, but has yet to come up with appropriate wait() conditions, to spend less time in the decoder and have more tedious work done in the backend. | |||
2017-01-18 | t55xx: Convert to PD API version 3 | Gerhard Sittig | |
2017-01-18 | sdcard_sd: Convert to PD API version 3 | Gerhard Sittig | |
2017-01-18 | qi: Convert to PD API version 3 | Gerhard Sittig | |
2017-01-18 | ps2: Convert to PD API version 3 | Gerhard Sittig | |
2017-01-18 | mdio: Convert to PD API version 3 | Gerhard Sittig | |
2017-01-18 | em4305: Convert to PD API version 3 | Gerhard Sittig | |
2017-01-15 | em4100: Convert to PD API version 3 | Gerhard Sittig | |
2017-01-07 | license: remove FSF postal address from boiler plate license text | Gerhard Sittig | |
Remove the FSF postal address as it might change (it did in the past). Reference the gnu.org website instead which is more stable. | |||
2016-12-26 | avr_pdi: Don't pass self.samplenum (use it), simplify code. | Uwe Hermann | |
2016-12-26 | avr_pdi: Convert to PD API version 3. | Gerhard Sittig | |
Switch to the v3 decoder API: The decode() methods takes no arguments, instead it calls wait() and has common code find edges on input signals. | |||
2016-12-26 | avr_pdi: introduce decoder for Atmel Program and Debug Interface | Gerhard Sittig | |
Introduce a decoder for Atmel's proprietary programming and debugging interface which got introduced with ATxmega chips. This implementation supports the UART style physical (two wires PDI_CLK and PDI_DATA). | |||
2016-12-07 | usb_power_delivery: Convert to PD API version 3. | Uwe Hermann | |
2016-12-07 | tlc5620: Convert to PD API version 3. | Uwe Hermann | |
2016-12-07 | timing: Convert to PD API version 3. | Uwe Hermann | |
2016-12-07 | swd: Convert to PD API version 3. | Uwe Hermann | |
2016-12-07 | stepper_motor: Convert to PD API version 3. | Uwe Hermann | |
2016-12-07 | spdif: Convert to PD API version 3. | Uwe Hermann | |
2016-12-07 | parallel: Convert to PD API version 3. | Uwe Hermann | |
2016-12-07 | onewire_link: Convert to PD API version 3. | Uwe Hermann | |
2016-12-07 | jtag: Convert to PD API version 3. | Uwe Hermann | |
2016-12-07 | jitter: Convert to PD API version 3. | Uwe Hermann | |
2016-12-07 | ir_nec: Convert to PD API version 3. | Uwe Hermann | |
2016-12-07 | i2s: Convert to PD API version 3. | Uwe Hermann | |
2016-12-07 | i2c: Convert to PD API version 3. | Uwe Hermann | |
2016-12-07 | guess_bitrate: Convert to PD API version 3. | Uwe Hermann | |
2016-12-07 | dcf77: Convert to PD API version 3. | Uwe Hermann | |
2016-12-07 | aud: Convert to PD API version 3. | Uwe Hermann | |
2016-12-07 | am230x: Convert to PD API version 3. | Uwe Hermann | |
2016-11-07 | spiflash: Major refactoring and annotation improvements. | Uwe Hermann | |
2016-11-07 | spiflash: Use OrderedDict for cmds, more readable annotation indices. | Uwe Hermann | |
2016-11-07 | spiflash: Initial RDSR2 implementation (incomplete). | Uwe Hermann | |
This is not entirely correct yet, will be fixed later. | |||
2016-11-07 | spiflash: Implement WRSR command. | Uwe Hermann | |
2016-11-07 | spiflash: Add FIDELIX FM25Q32 metadata. | Uwe Hermann | |
2016-11-06 | spiflash: Remove hardcoded Macronix references. | Uwe Hermann | |
2016-11-06 | spiflash: Implement Release Power-down / Device ID (0xAB) command. | Uwe Hermann | |
This fixes bug #845. | |||
2016-11-04 | ps2: Add more detailed per-bit annotations. | Uwe Hermann | |
2016-11-04 | ps2: Neither the clock nor the data pin is optional. | Uwe Hermann | |
2016-11-04 | Add initial version of PS/2 decoder | Daniel Schulte | |
2016-10-23 | spi: Fix binary output for wordsizes > 8. | Uwe Hermann | |
For wordsizes > 8, multiple bytes are used (big-endian). This fixes bug #686. |