summaryrefslogtreecommitdiff
path: root/decoders/ieee488
AgeCommit message (Collapse)Author
2020-01-01All PDs: Consistently use singular/plural for annotation classes/rows.Uwe Hermann
2019-12-07ieee488: flush upper layer payload data when IFC assertsGerhard Sittig
Also flush previously accumulated payload data when the IFC signal asserts (interface clear, a controller requests ownership of the bus). This is in line with EOI (end of message) and ATN (start of a command, including change of "connected" peers or direction of communication).
2019-12-07ieee488: introduce 'delim' option for improved text outputGerhard Sittig
When a capture contains output from a talking device, but neither contains EOI (end of transmission) nor ATN (new commands, including changes in the set of communicating peers or communication direction), then lower layer data bytes would be shown but accumulated runs of upper layer payload data would not. The hp53131a-ton.sr capture demonstrates this behaviour. Add transparent support for the typical case of communicating SCPI over GPIB. Do emit upper layer payload data annotations when termination sequences for text lines were seen. Allow users to disable this feature when it's not appropriate for binary content. It's an internal implementation detail that accumulated data gets flushed. Communicate the user visible option as "payload data separation", which should most appropriately reflect the resulting behaviour. The specific implementation of this feature can also support different kinds of payload chunk separation.
2019-12-06ieee488: Mention more relevant keywords in longname.Uwe Hermann
This can be used by frontends for decoder search features.
2019-12-06ieee488: Simplify _get_raw_byte() a bit.Uwe Hermann
2019-12-06ieee488: introduce unified IEEE-488 decoder (supports GPIB and IEC)Gerhard Sittig
Introduce an 'ieee488' protocol decoder which handles both the 16 lines parallel GPIB variant as well as the serial IEC bus variant. Which kind of supersedes the 'gpib' and 'iec' decoders. This implementation increases maintainability because only the extraction of raw bytes from the parallel or serial bus is separate, and all GPIB related command/address/data interpretation is shared. This decoder extends the feature set of the previous versions: Visual annotations are more fine grained (more classes, additional rows, various text lengths to maintain usability during zoom). There is binary output for communicated data, as well as Python output for stacked decoders. Consecutive runs of talker data gets accumulated, and is made available in binary form as well as text (with escapes for non-printables). The terse single-letter format (character codes '0' to 'O' for addresses) is kept for compatibility for those users who are accustomed to it. The implemented logic also copes with captures of low samplerate, where edges happen to fall onto the same sample number which at higher samplerates shall be perceived as distant and should get processed in their respective order of appearance. This implementation tracks the most recent configuration of "peers" (the set of talkers and listeners). A future implementation might support the isolation of a single conversation out of a busy chat on the bus. Some optional support for Commodore peripherals is included (currently limited to disk channels), while it's recommended to move this logic to a stacked decoder if it grows more complex.