summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-06-23sr/srd/cli: require glib version >= 2.28Bert Vermeulen
Needed for g_get_monotonic_time(). Thanks to Tomaž Šolc.
2012-06-21srd: Split USB decoder in two PDs (which stack).Uwe Hermann
The 'usb_signalling' decoder just decodes symbols from D+/D- levels, handles bit stuffing and outputs the symbols and (potential) packets. The 'usb_protocol' decoder takes that output and tried to parse USB packets from it (SOF, SETUP, IN, OUT, DATA0, and so on). This is the base decoder on top of which various others will stack later on. The two new PDs are work in progress, so we still keep the old 'usb' PD around for a little while, until the two new ones are fully working and well-tested.
2012-06-21srd: usb: Add long description of the PIDs.Uwe Hermann
Also, add missing ones which are mentioned in the USB spec. However, not all may be relevant for LS/FS signalling. But they're still useful to have in the table, so we can output warnings like "Warning: HS PID encountered, but device is FS???"
2012-06-14srd: usb: Preliminary USB low-speed support.Uwe Hermann
Some of the differences of USB low-speed (compared to full-speed) are: - 1.5Mb/s datarate, not 12MBit/s. - The J and K states are swapped/inverted. Note: This is work in progress, further changes may still be needed. Add a 'signalling' option, which allows the user to select whether the PD should decode using the low-speed or full-speed signalling protocol. If unspecified, the default is full-speed.
2012-06-14srd: uart_dump: Small simplification.Uwe Hermann
2012-06-14srd: uart_dump: Fix file output (flush).Uwe Hermann
We need to flush the file output buffer(s), lacking a stop() call in PDs at the moment, which could do the flush (or file close()) only once at the end of the PD "session".
2012-06-14srd: Add experimental uart_dump decoder.Uwe Hermann
This PD stacks on top of the UART protocol decoder, and ouputs the decoded UART data in the "canonical" format, one byte after the other without any metadata (start bits, stop bits, parity bits, errors) and without any sample-numbers and such. This is basically what you would see in a terminal program, such as minicom. Per default it outputs to stdout, but using the 'filename' option and/or the 'filename_rx'/'filename_tx' options it can also output to files. Using the 'tx' and 'rx' options you can also select whether both, or only one of the data direction's data should be output. Example: sigrok-cli -i foo.sr \ -a uart:rx=0:tx=1,uart_dump:rx=no:tx=yes:filename=foo.txt \ -s uart,uart_dump This PD is just an experiment for now, it's possible that it will be replaced / reimplemented via a different sigrok facility later on.
2012-06-14srd: pan1321: Add 'Text' (short) annotation format.Uwe Hermann
Rename the old 'Text' format to 'Text (verbose)'.
2012-06-14srd: pan1321: Output correct start/end sample values.Uwe Hermann
2012-06-14srd: Fix non-working PAN1321 decoder.Uwe Hermann
2012-06-12srd: Cosmetics.Uwe Hermann
2012-06-12srd: jtag: Document current (WIP) protocol output format.Uwe Hermann
2012-06-12srd: usb: Fix bugs in the USB decoder.Uwe Hermann
The samplenum/scount handling was broken recently (mea culpa), and the DP/DM probes were swapped.
2012-06-08srd: dcf77: Initial PON handling.Uwe Hermann
2012-06-08srd: dcf77: Bugfix, PD was broken.Uwe Hermann
2012-06-08srd: mx25lxx05d: 'Verbose decode' & 'Warnings' annotations.Uwe Hermann
2012-06-08srd: mx25lxx05d: Add empty handlers for TODO cmds.Uwe Hermann
2012-06-08srd: mx25lxx05d: Further fixes/simplifications.Uwe Hermann
Also handle (not yet implemented) special-case command names such as 'RDP/RES' and 'FAST/READ' correctly.
2012-06-08srd: mx25lxx05d: Simplify/generify cmd handling.Uwe Hermann
2012-05-31srd: mlx90614: Small bugfix.Uwe Hermann
2012-05-31srd: nunchuk: Enable PD now, it works fine.Uwe Hermann
2012-05-31srd: nunchuk: Support for the Nunchuk init sequence.Uwe Hermann
2012-05-31srd: nunchuk: Add verbose summary annotation.Uwe Hermann
2012-05-31srd: nunchuk: Only output summary annotation if possible.Uwe Hermann
2012-05-31srd: nunchuk: Fix most annotation samplenumbers.Uwe Hermann
Also, add a self.putx() helper method, as most annotations we have right now are exactly one I2C packet long (there will also be others later, though).
2012-05-31srd: Wii Nunchuk: Complete rewrite, PD works now.Uwe Hermann
The Nintendo Wii Nunchuk protocol decoder, while it was in the repo for a while, didn't really work yet (among other things, due to lack of dumps for testing the code). This is fixed now, the rewritten decoder works fine with most dump files in the sigrok-dumps repo. A few minor issues remain to be added/fixed, though.
2012-05-30srd: Cosmetics.Uwe Hermann
2012-05-30srd: Disable 'onewire' PD for now, until it's working.Uwe Hermann
2012-05-29sr/srd/cli/gtk: ChangeLog -> MAINTAINERCLEANFILES.Uwe Hermann
If the (generated) ChangeLog file is marked for DISTCLEANFILES, it'll be removed whenever "make distclean" is called (and is then gone forever if you use the tarballs, for example).
2012-05-23srd: onewire: Fix incorrect format for annotation output.Uwe Hermann
Should be a list containing: - Annotation format number (e.g. 0, or ANN_DEC, etc). - A list of strings (the annotation). If more than one string is supplied, the other ones should be short versions of the string. Example: [ANN_DEC, ["Foobarbaz", "Foo", "F"]] This is optional, and mostly useful for GUIs.
2012-05-23srd: onewire: Fix %d and %s mismatch.Uwe Hermann
2012-05-23srd: onewire: Get optional 'pwr' probe value, too.Uwe Hermann
2012-05-23srd: onewire: Drop UART leftover comments.Uwe Hermann
2012-05-23removed some code copied from UART decoder, fixed some Python syntax issuesIztok Jeras
2012-05-23unfinished update to onewire protocol decoderIztok Jeras
2012-05-23commiting new unfinished 1-wire decoderIztok Jeras
2012-05-18srd: MX25Lxx05D: Fix inverted SRWD bit handling.Uwe Hermann
2012-05-18srd: MX25Lxx05D: Decode status register bits.Uwe Hermann
2012-05-18srd: MX25Lxx05D: Fix SE command.Uwe Hermann
2012-05-18srd: MX25Lxx05D: Implement READ command.Uwe Hermann
2012-05-17srd: MX25Lxx05D: Implement RDSR and PP commands.Uwe Hermann
Also, some small fixes and additional debug code/output.
2012-05-17srd: spi: Document output protocol, send CS# changes.Uwe Hermann
As per guidelines in HACKING, the protocol "commands"/items should be ALLCAPS, thus change 'data' to 'DATA'. Also, fix MX25Lxx05D protocol decoder accordingly, currently the only one we have which stacks on top of SPI. Add a new 'CS-CHANGE' output protocol item, which is sent upon every change of the CS# pin value (either 0->1, or vice versa). This is needed by various higher-level PDs.
2012-05-15sr/srd/cli: Fix compiling with Homebrew.Pekka Nikander
Add ACLOCAL_DIR setting and AM_PROG_AR macro for compiling with Homebrew under Mac OS X. Applies essentially the same change to {libsigrok,libsigrokdecode,sigrok-cli}/{autogen.sh,configure.ac} It may be that the same fix is needed for the other autogen.sh and/or configure.ac files, but that hasn't been tested and therefore not in this commit.
2012-05-10srd: JTAG: Enavble and get/use optional probes.Uwe Hermann
2012-05-10srd: Support for one or more optional probes.Uwe Hermann
In the protocol decoder you always get all required probes, then _all_ optional probes in the list of probes in the decode() call. Example: (r1, r2, r3, o1, o2, o3, o4) = pins In this case r1-r3 are required probes, o1-o4 are optional probes. However, the value of valid/used/specified probes will be 0 or 1, whereas the value of probes that were not specified/assigned by the user will be (at the moment) 42. The PD can check for a valid probe like this: if p in (0, 1): ... Or check for an invalid probe: if (p > 1): ... The value of 42 could change to be -1 or None later.
2012-05-09srd: Fix a few Doxygen errors.Uwe Hermann
2012-05-09srd: Add usable one-liner descriptions for all PDs.Uwe Hermann
2012-05-08srd: Remove TODOs from annotation format names.Uwe Hermann
Also, fix minor consistency issues, cosmetics, typos.
2012-05-05srd: JTAG/SMT32: Some more improvements.Uwe Hermann
Add APB-AP register offsets/names, refactor and fix some code, handle in/out APACC/DPACC better.
2012-05-04Fix bracket placingThomas Jarosch
Make it consistent with the rest of the code Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>