summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2019-09-13can: implement basic CAN-FD decoding (SRR and FDF bits)Stephan Thiele
2019-08-30eeprom93xx: Add ascii format supportSylvain Pelissier
2019-08-23mrf24j40: Add TX retries/fails and CCAFAIL support.Uwe Hermann
2019-08-06mrf24j40: Add RX/TX frame annotations.Uwe Hermann
2019-07-06pca9571: Shorten names a bit.Uwe Hermann
2019-07-05Add an NXP PCA9571 decoder.Mickael Bosch
2019-07-01modbus: Make the 'framegap' option an integer.Uwe Hermann
2019-06-30modbus: Make C->S and S->C configurable, add framegap option.Andrew Gregory
Change client->server and server->client to be separately configurable, allowing decoding at both the server (where client->server is RX and server->client is TX) and client (where client->server is TX and server->client is RX) ends of the link. It also allows monitoring of the bus on a single channel (where client->server and server->client are both RX (or TX)). When I tried to decode a bus capture, I found that when the transmitter was turned off it generated a false start bit, which in turn resulted in a false trailing byte from the UART decoder. This narrowed the inter-frame gap to the point where the Modbus decoder failed to recognise a new frame. The result was only the first frame of the capture decoded - all the rest of the frames failed to decode. I had to reduce the frame gap to allow subsequent frames to decode, and so made it a configurable option that defaults to the existing gap. Lastly, I fixed a call to puti() that incorrectly included the annotation prefix.
2019-06-30sdcard_spi: Add "Card is busy" annotations for CMD24.Pierre Poulain
This fixes bug #1376.
2019-06-30sdcard_spi: Fix incorrect handling of CMD17.Pierre Poulain
This fixes bug #1377.
2019-06-20usb_request: Allow configuration of BULK IN transfer displayStefan Brüns
From a protocol level, a BULK IN transfer starts when the host starts polling the respective endpoint. For analysis, it is sometimes useful to show when the devices starts to answer the requests. As both are useful for different use cases (the old, default one emphasizes the host behavior, the new one shows the endpoint/device behavior), make the display configurable.
2019-06-20usb_request: Use separate annotation rows for IN, OUT and CONTROLStefan Brüns
E.g. CONTROL and BULK IN transfers may overlap each other, and as a result only one of the two can be seen in pulseview. Partly solves bug #1046. In case a device has multiple IN/OUT endpoints, transfers would still overlap, but many simple devices have just one each.
2019-06-17usb_request: Fix some decoding errorsStefan Brüns
Append OUT data only if it has been ACKed. OUT transfers (BULK OUT or CONTROL transfer DATA stage) are typically NACKed to create backpressure. Always keep IN and OUT transfers separate. On the physical layer, the endpoint number only uses 4 bits, and IN and OUT use separate tokens. In case the transfer is an IN transfer, set the high bit as used in the endpoint descriptors (i.e. 0x81 is IN enpoint 1, 0x01 is OUT endpoint 1).
2019-05-15enc28j60: Rename self.ann to self.out_ann.Uwe Hermann
(for consistency with all other decoders)
2019-05-15enc28j60: Shorten various self.put*() calls.Uwe Hermann
2019-05-15enc28j60: Factor out self.putr().Uwe Hermann
2019-05-15enc28j60: Factor out self.putc().Uwe Hermann
2019-05-15enc28j60: Use the common ss/es abbreviations.Uwe Hermann
This makes it more consistent with the rest of the decoders.
2019-05-15enc28j60: Clear 'outputs' (no OUTPUT_PYTHON support).Uwe Hermann
2019-05-15enc28j60: Factor out command list to lists.py.Uwe Hermann
2019-05-15enc28j60: Shorten ANN_* list a bit.Uwe Hermann
2019-05-15enc28j60: Add 'tags' field.Uwe Hermann
2019-05-15enc28j60: Implements decoder for ENC28J60 SPI Ethernet chipJiahao Li
2019-04-30atsha204a: Mention other potentially supported devices.Uwe Hermann
2019-04-30atsha204a: Mention ATECC508A support in docs.Uwe Hermann
2019-04-30atsha204a: Minor indentation fixes.Uwe Hermann
2019-04-30atsha204a: Only call output_tx_bytes() when the bytes buffer is not emptyMichalis Pappas
2019-04-30atsha204a: Display OtherData parameter correctly when Verify command is ↵Michalis Pappas
executed in Validate mode.
2019-04-30atsha204a: Add support for ATECC508AMichalis Pappas
2019-04-24NEWS: Fix two typos.Uwe Hermann
2019-04-24spi: Fix annotation row ordering.Uwe Hermann
Use the same (more logical) order of having the "bits" annotation row being the first one, which is also what pretty much all other PDs do.
2019-04-24spi: Don't emit bogus "transfer" items.Uwe Hermann
2019-04-24spi: Add support for "transfer" annotations.Uwe Hermann
There is already an OUTPUT_PYTHON type named 'TRANSFER' that is being transmitted to stacked decoders. Make the same information available as annotations (additionally), which can be helpful in some situations.
2019-04-19cc1101: Use namedtuple to increase readability a bit.Uwe Hermann
2019-04-19cc1101: Remove 0x prefixes and unneeded quotation marks.Uwe Hermann
The format "0xAA BB CC ..." looks a bit strange, use "AA BB CC" instead, it's relatively obvious that the data is hex-encoded. The quotation marks around some names/values are unneeded and reduce readability a bit, so drop them.
2019-04-19cc1101: Shorten decode_register() to decode_reg().Uwe Hermann
2019-04-19cc1101: Simplify decode_command().Uwe Hermann
By using the annotation strings as command names directly, some parts of decode_command() can be simplified a bit.
2019-04-19cc1101: Simplify format_command().Uwe Hermann
2019-04-19cc1101: Factor out and simplify ANN_* names.Uwe Hermann
2019-04-19Add a TI CC1101 decoder.Marco
2019-04-15sdcard_spi: Fix duplicated 'End bit' annotation emission.Uwe Hermann
2019-04-15sdcard_spi: Fix incorrect annotation row indices.Uwe Hermann
This fixes the remaining parts of bug #1365.
2019-04-15sdcard_spi: handle_data_response(): Shorten a few lines.Uwe Hermann
2019-04-15sdcard_spi: handle_data_response(): Add comment, cosmetics.Uwe Hermann
2019-04-15sdcard_spi: Fix some abbreviations and names to match the spec.Uwe Hermann
The official abbreviation for CMD24 in the spec is "WRITE_BLOCK", as opposed to "WRITE_MULTIPLE_BLOCK" for CMD25 (chapter 4.7.4, "Detailed Command Description", table 4-24). The byte preceeding e.g. the CMD24 block data is called "Start Block" token (chapter 7.3.3.2, "Start Block Tokens and Stop Tran Token"). We don't include the "token" itself for consistency, since the decoder doesn't do that for any other tokens either.
2019-04-14sdcard_spi: touch up CMD24 handlingGerhard Sittig
Address some nits in the SDCard (SPI mode) protocol decoder. Rename identifiers to eliminate comments. Determine the default block size at the start of the write command instead of the iteration over payload data bytes. Remove a print() statement which would break regression tests. Allow re-use of the data handler for other commands, too. Use lower case hex digits for consistency across the source file, and slightly unobfuscate a bit pattern check while we are here. Improve robustness of response handlers and how internal state gets advanced. Replace constant lookups by direct method calls.
2019-04-14sdcard_spi: add support for CMD24 including payload dataPierre Poulain
The previous implementation advanced from the start of CMD24 to IDLE. This commit introduces support for the data phase and data response of CMD24. Which results in improved usability of the decoder output, and reduced probability of false positives (don't detect "commands" in the payload data). This commit addresses the missing CMD24 handling part of bug #1365.
2019-04-02srd_inst_stack(): Warn upon potentially incorrect stacking.Uwe Hermann
Currently there must be at least one match of inputs/outputs for decoders that are stacked. If not, we emit an informational warning (but this is not a hard error for the time being).