Commit Graph

1885 Commits

Author SHA1 Message Date
Matt Ranostay b1de040700 ols: fixed channel limit check
For demux mode we half the channels. Previous check method broke
the OLS randomly and but it in a bad state.

Signed-off-by: Matt Ranostay <mranostay@gmail.com>
2013-08-30 13:58:36 +02:00
Bert Vermeulen da970d24ec rigol-ds1xx2: newer Linux kernels have USBTMC in /sys/class/usbmisc 2013-08-30 13:57:45 +02:00
Matt Ranostay f51acd69d7 ols: combine demux samples
demux mode allows DDR sampling which disables group 2 & 3
and thus samples group 0 & 1 to sample on rising and falling of
the clock.

Signed-off-by: Matt Ranostay <mranostay@gmail.com>
2013-08-28 10:21:59 +02:00
Matt Ranostay 7b0a57fd1c ols: add swap channels feature
Allow channel groups to be swapped. This is useful
for demux at 200mhz with the unbuffered channels.

Signed-off-by: Matt Ranostay <mranostay@gmail.com>
2013-08-28 10:21:59 +02:00
Matt Ranostay de52409982 ols: Display noise filter flag
Show if noise filter is on. This is important to be
sure is off for demux mode.

Signed-off-by: Matt Ranostay <mranostay@gmail.com>
2013-08-28 10:21:59 +02:00
Bert Vermeulen 00d04d3b0e ols: Fix RLE count handling
The high bit of the sample, denoting this is a count, was not getting
properly cleared. This resulted in an inevitably negative count, and
corruption of the sample buffer before it was transferred to the
frontend.
2013-08-27 00:33:20 +02:00
Bert Vermeulen abb39e6b8c ols: Properly initialize entire single-sample buffer before start
The single sample buffer, up to 4 bytes long, was not getting initialized
on (every) acquisition start, only after the first full sample was in.
This caused the first sample to potentially hold garbage.
2013-08-26 23:42:09 +02:00
Matt Ranostay eb1b610b12 ols: add external clock support
Add external clock support that allows you to use the tracing
targets bus clock line for sampling.

Signed-off-by: Matt Ranostay <mranostay@gmail.com>
2013-08-26 10:28:45 +02:00
Matt Ranostay 967760a893 ols: add test mode support
ols allows both external and internal test patterns at ~20khz
which are helpful for unit tests and demos.

pattern=internal -> route pattern internally to all 32 pins
                      (input otherwise disabled)

pattern=external -> generates pattern on unbuffered pins 16:31
                      (which can be looped back to the buffered pins 0:15)

Signed-off-by: Matt Ranostay <mranostay@gmail.com>
2013-08-26 09:52:24 +02:00
Matt Ranostay 503133bb5f ols: fixed parallel stage triggers
Stage count was always getting incremented one more than
actual stages, and this caused a extra stage with zero'ed data
probe lines to have the start bit field.

Signed-off-by: Matt Ranostay <mranostay@gmail.com>
2013-08-26 09:48:41 +02:00
Uwe Hermann d0107565c1 saleae-logic16: Drop unneeded NUM_PROBES. 2013-08-21 11:41:21 +02:00
Uwe Hermann 87b537ced0 saleae-logic16: Shorten dev_list() implementation. 2013-08-21 11:37:40 +02:00
Uwe Hermann 96484e22b4 saleae-logic16: Whitespace fixes, cosmetics. 2013-08-21 11:33:37 +02:00
Marcus Comstedt 186dde8d72 saleae-logic16: Cleanup the prime_fpga function
The driver should now work on any Logic16.
2013-08-20 19:55:57 +02:00
Marcus Comstedt fec7aa6a44 saleae-logic16: Update copyright blurbs.
Copied copyright lines from fx2lafw driver, since much of the code is
taken from there.
2013-08-20 19:55:57 +02:00
Marcus Comstedt db11d7d2d0 saleae-logic16: Add voltage threshold conf. 2013-08-20 19:55:57 +02:00
Marcus Comstedt b117363ad7 saleae-logic16: Declare confs. 2013-08-20 19:55:57 +02:00
Marcus Comstedt 7b5daad45c saleae-logic16: Implemented acquisition. 2013-08-20 19:55:57 +02:00
Marcus Comstedt 15abcf0f58 saleae-logic16: Initialize the FPGA.
The map_eeprom_data function is currently unknown.  The map entries
provided were observed via bus-snooping of the vendor software on my
device.  Other devices may need additional values.
2013-08-20 19:55:57 +02:00
Marcus Comstedt 5eea4305ad saleae-logic16: Reworked scan/open to handle FW upload.
The new code is based on code from the fx2lafw driver.
2013-08-20 19:55:57 +02:00
Marcus Comstedt f6a21fa50c saleae-logic16: Detect the hardware. 2013-08-20 19:55:57 +02:00
Marcus Comstedt 6383365795 configure.ac: Fix build when libusb-1.0 not available.
The Saleae Logic16 needs libusb-1.0, thus disable this driver when
libusb-1.0 cannot be found.
2013-08-20 19:55:57 +02:00
Marcus Comstedt c463dcf06c saleae-logic16: Initial driver skeleton. 2013-08-20 19:55:22 +02:00
Bert Vermeulen 56e76981bc uni-t-dmm: Require conn parameter for scan
Since the uni-t-ut32x series handles devices with the same USB VID.PID,
which is linked to the WCH CH9325 USB/HID-UART interface chip, this
driver can no longer assume it can handle anything with this VID.PID.
2013-08-11 10:52:43 +02:00
Bert Vermeulen d6ff054ae5 uni-t-ut32x: Full acquisition support 2013-08-11 10:46:36 +02:00
Bert Vermeulen 6513f97fbe uni-t-ut32x: Flesh out driver 2013-08-11 10:46:36 +02:00
Bert Vermeulen 3877dde43a uni-t-ut32x: Initial driver skeleton. 2013-08-11 10:46:36 +02:00
Uwe Hermann 4a8bbed76d center-3xx: Initial Center 309 / Voltcraft K204 support. 2013-08-08 19:59:49 +02:00
Uwe Hermann 4433145f48 center-3xx: Initial driver skeleton. 2013-08-08 19:58:48 +02:00
Uwe Hermann fc1bb735e4 Doxyfile: Set version to "unreleased development snapshot". 2013-08-08 19:39:50 +02:00
Uwe Hermann f6b5969014 Bump package version to 0.2.1, libtool version to 1:1:0.
The last release (0.2.0) had the libtool version (current:revision:age)
set to 1:0:0. Since this release doesn't add/change/remove any
interfaces, only 'revision' is increased, resulting in 1:1:0.

http://www.gnu.org/software/libtool/manual/libtool.html#Updating-version-info

Frontends using libsigrok don't need to be recompiled or relinked.
2013-08-07 16:21:58 +02:00
Uwe Hermann b11df97ad5 Doxyfile: Change version to 0.2.1. 2013-08-07 16:21:58 +02:00
Uwe Hermann f93c89b214 NEWS: Add entries for the upcoming 0.2.1 release. 2013-08-07 16:21:58 +02:00
Uwe Hermann 6cda4600c1 README.devices: Minor documentation updates. 2013-08-07 16:21:57 +02:00
Uwe Hermann 1861be0baf Make sr_session_iteration() static.
This function is not used outside of session.c at the moment, so make
it static for now.
2013-08-07 16:21:57 +02:00
Uwe Hermann cdc30138c5 udev rules: Add missing IKALOGIC ScanaPLUS entry. 2013-08-07 16:21:57 +02:00
Uwe Hermann ce95428cca Consistent use of "IKALOGIC" spelling.
The company name is written all-caps pretty consistently on the
vendor website and docs, so use that spelling everywhere.
2013-08-07 16:21:57 +02:00
Uwe Hermann b07b42f319 Cosmetics, typos. 2013-08-07 16:21:57 +02:00
Uwe Hermann 059f36325e unittests: Comment out a testcase.
The boundary test-case with SR_GHZ(18446744073ULL) currently fails, but
that is not practically relevant so comment it out for now, until we add
a proper fix.
2013-08-07 16:21:57 +02:00
Peter Stuge 094e6b8159 Format decimals correctly in sr_si_string_u64()
The function previously formatted 1004 as 1.4 k and 1004000 as 1.4 M.
The function now formats 1004 as 1.004 k, 1004000 as 1.004 M and
1004000000 as 1.004 G.

Fixes #73.
2013-08-07 16:21:57 +02:00
Paul Sokolovsky ba253f2bb9 Fix sr_si_string_u64() test cases.
The function shall format 1004 as 1.004 k, 1004000 as 1.004 M and
1004000000 as 1.004 G.

References #73.
2013-08-07 16:21:57 +02:00
Uwe Hermann e11a1ebacc alsa: Fix double-free issue.
This fixes bug #129.
2013-08-07 16:21:56 +02:00
Uwe Hermann 4d7ddff75b uni-t-dmm: Fix UT61E bug related to the UNI-T UD-D04 cable.
This fixes bug #136.
2013-08-06 23:36:16 +02:00
Uwe Hermann ee2cc2d4dc ikalogic-scanaplus: Don't build if libftdi was not found. 2013-08-05 14:52:44 +02:00
Uwe Hermann 37d80736ab kecheng-kc-330b: Don't build if libusb-1.0 was not found. 2013-08-05 13:34:10 +02:00
Uwe Hermann 1a0c338220 .gitignore: Add some files from the testsuite. 2013-08-05 13:19:21 +02:00
Uwe Hermann 59142ae177 Disable mso-19 per default, mark experimental.
This driver is not yet in a really usable or working state, it'll be
re-enabled by default when we're sure it works properly.
2013-08-05 13:16:31 +02:00
Uwe Hermann c51bbdec34 Drop nexus-osciprime skeleton for now.
This is mostly just a skeleton driver framework at the moment, we'll
bring it back when the driver is fully implemented.
2013-08-05 12:59:23 +02:00
Uwe Hermann c93ebace30 uni-t-dmm: Drop DMM table (comment).
This info is in the wiki already, no need to duplicate in the code.
2013-08-02 01:02:03 +02:00
Bert Vermeulen faf720246a ols: Workaround for mac os X stray events 2013-08-01 19:48:07 +02:00