]>
sigrok.org Git - libsigrok.git/log
Matt Ranostay [Wed, 28 Aug 2013 04:19:56 +0000 (21:19 -0700)]
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 <redacted>
Matt Ranostay [Wed, 28 Aug 2013 04:19:55 +0000 (21:19 -0700)]
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 <redacted>
Bert Vermeulen [Mon, 26 Aug 2013 22:33:20 +0000 (00:33 +0200)]
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.
Bert Vermeulen [Mon, 26 Aug 2013 21:42:09 +0000 (23:42 +0200)]
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.
Matt Ranostay [Sun, 25 Aug 2013 05:01:15 +0000 (22:01 -0700)]
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 <redacted>
Matt Ranostay [Sun, 25 Aug 2013 05:00:52 +0000 (22:00 -0700)]
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 <redacted>
Matt Ranostay [Sat, 24 Aug 2013 04:42:51 +0000 (21:42 -0700)]
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 <redacted>
Uwe Hermann [Wed, 21 Aug 2013 09:41:21 +0000 (11:41 +0200)]
saleae-logic16: Drop unneeded NUM_PROBES.
Uwe Hermann [Wed, 21 Aug 2013 09:37:40 +0000 (11:37 +0200)]
saleae-logic16: Shorten dev_list() implementation.
Uwe Hermann [Wed, 21 Aug 2013 00:02:41 +0000 (02:02 +0200)]
saleae-logic16: Whitespace fixes, cosmetics.
Marcus Comstedt [Mon, 5 Aug 2013 16:34:47 +0000 (18:34 +0200)]
saleae-logic16: Cleanup the prime_fpga function
The driver should now work on any Logic16.
Marcus Comstedt [Mon, 5 Aug 2013 10:05:40 +0000 (12:05 +0200)]
saleae-logic16: Update copyright blurbs.
Copied copyright lines from fx2lafw driver, since much of the code is
taken from there.
Marcus Comstedt [Sun, 4 Aug 2013 14:20:07 +0000 (16:20 +0200)]
saleae-logic16: Add voltage threshold conf.
Marcus Comstedt [Sun, 4 Aug 2013 12:28:04 +0000 (14:28 +0200)]
saleae-logic16: Declare confs.
Marcus Comstedt [Sun, 4 Aug 2013 11:46:35 +0000 (13:46 +0200)]
saleae-logic16: Implemented acquisition.
Marcus Comstedt [Fri, 2 Aug 2013 22:35:44 +0000 (00:35 +0200)]
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.
Marcus Comstedt [Fri, 2 Aug 2013 19:02:00 +0000 (21:02 +0200)]
saleae-logic16: Reworked scan/open to handle FW upload.
The new code is based on code from the fx2lafw driver.
Marcus Comstedt [Wed, 31 Jul 2013 14:53:35 +0000 (16:53 +0200)]
saleae-logic16: Detect the hardware.
Marcus Comstedt [Wed, 31 Jul 2013 09:44:57 +0000 (11:44 +0200)]
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.
Marcus Comstedt [Sun, 21 Jul 2013 10:30:32 +0000 (12:30 +0200)]
saleae-logic16: Initial driver skeleton.
Bert Vermeulen [Sun, 11 Aug 2013 08:52:43 +0000 (10:52 +0200)]
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.
Bert Vermeulen [Sun, 11 Aug 2013 08:44:03 +0000 (10:44 +0200)]
uni-t-ut32x: Full acquisition support
Bert Vermeulen [Fri, 9 Aug 2013 20:39:15 +0000 (22:39 +0200)]
uni-t-ut32x: Flesh out driver
Bert Vermeulen [Thu, 8 Aug 2013 22:29:04 +0000 (00:29 +0200)]
uni-t-ut32x: Initial driver skeleton.
Uwe Hermann [Mon, 22 Jul 2013 17:48:15 +0000 (19:48 +0200)]
center-3xx: Initial Center 309 / Voltcraft K204 support.
Uwe Hermann [Fri, 19 Jul 2013 07:35:48 +0000 (09:35 +0200)]
center-3xx: Initial driver skeleton.
Uwe Hermann [Thu, 8 Aug 2013 17:39:50 +0000 (19:39 +0200)]
Doxyfile: Set version to "unreleased development snapshot".
Uwe Hermann [Tue, 6 Aug 2013 23:08:37 +0000 (01:08 +0200)]
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.
Uwe Hermann [Tue, 6 Aug 2013 20:32:46 +0000 (22:32 +0200)]
Doxyfile: Change version to 0.2.1.
Uwe Hermann [Tue, 6 Aug 2013 20:31:18 +0000 (22:31 +0200)]
NEWS: Add entries for the upcoming 0.2.1 release.
Uwe Hermann [Tue, 6 Aug 2013 22:40:51 +0000 (00:40 +0200)]
README.devices: Minor documentation updates.
Uwe Hermann [Tue, 6 Aug 2013 22:34:06 +0000 (00:34 +0200)]
Make sr_session_iteration() static.
This function is not used outside of session.c at the moment, so make
it static for now.
Uwe Hermann [Tue, 6 Aug 2013 22:28:40 +0000 (00:28 +0200)]
udev rules: Add missing IKALOGIC ScanaPLUS entry.
Uwe Hermann [Tue, 6 Aug 2013 22:22:14 +0000 (00:22 +0200)]
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.
Uwe Hermann [Tue, 6 Aug 2013 22:18:36 +0000 (00:18 +0200)]
Cosmetics, typos.
Uwe Hermann [Tue, 6 Aug 2013 22:03:14 +0000 (00:03 +0200)]
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.
Peter Stuge [Tue, 4 Jun 2013 00:20:57 +0000 (02:20 +0200)]
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.
Paul Sokolovsky [Mon, 3 Jun 2013 19:23:57 +0000 (22:23 +0300)]
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.
Uwe Hermann [Tue, 6 Aug 2013 19:45:27 +0000 (21:45 +0200)]
alsa: Fix double-free issue.
This fixes bug #129.
Uwe Hermann [Tue, 6 Aug 2013 21:25:18 +0000 (23:25 +0200)]
uni-t-dmm: Fix UT61E bug related to the UNI-T UD-D04 cable.
This fixes bug #136.
Uwe Hermann [Mon, 5 Aug 2013 12:52:44 +0000 (14:52 +0200)]
ikalogic-scanaplus: Don't build if libftdi was not found.
Uwe Hermann [Mon, 5 Aug 2013 11:34:10 +0000 (13:34 +0200)]
kecheng-kc-330b: Don't build if libusb-1.0 was not found.
Uwe Hermann [Mon, 5 Aug 2013 11:19:21 +0000 (13:19 +0200)]
.gitignore: Add some files from the testsuite.
Uwe Hermann [Mon, 5 Aug 2013 11:16:31 +0000 (13:16 +0200)]
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.
Uwe Hermann [Mon, 5 Aug 2013 10:59:23 +0000 (12:59 +0200)]
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.
Uwe Hermann [Thu, 1 Aug 2013 23:02:03 +0000 (01:02 +0200)]
uni-t-dmm: Drop DMM table (comment).
This info is in the wiki already, no need to duplicate in the code.
Bert Vermeulen [Thu, 1 Aug 2013 17:14:49 +0000 (19:14 +0200)]
ols: Workaround for mac os X stray events
Uwe Hermann [Wed, 31 Jul 2013 11:09:48 +0000 (13:09 +0200)]
Various cosmetics, whitespace, consistency fixes.
Uwe Hermann [Wed, 31 Jul 2013 10:31:47 +0000 (12:31 +0200)]
udev rules file: Only list supported devices.
The udev rules file should only list devices that are actually supported
by a driver in the current libsigrok version. Thus, drop all entries for
devices which will get support later on (at which point the respective udev
rule will be re-added again).
Also, add a few missing entries.
Uwe Hermann [Wed, 31 Jul 2013 10:22:06 +0000 (12:22 +0200)]
udev rules file: Drop URLs and lsusb.
The URLs to vendor webpages and the full lsusb are in the wiki
already, no need to duplicate them here.
Bert Vermeulen [Thu, 18 Jul 2013 13:06:06 +0000 (15:06 +0200)]
Make sr_session_iteration() private
Uwe Hermann [Wed, 17 Jul 2013 20:17:17 +0000 (22:17 +0200)]
serial-dmm/uni-t-dmm: Drop Tecpel DMM-8060.
The Tecpel DMM-8060 was added since we assumed it would be a rebadged
Voltcraft VC-820 (since we know the Tecpel DMM-8061 is a rebadged VC-840).
However, according to the vendor webpage it doesn't have PC connectivity
at all, so drop it for now (until someone can confirm that it does or does
not actually have RS232/USB connectivity).
Bert Vermeulen [Tue, 16 Jul 2013 15:18:20 +0000 (17:18 +0200)]
Fix build
Bert Vermeulen [Tue, 16 Jul 2013 15:17:54 +0000 (17:17 +0200)]
kecheng-kc-330b: Code cleanup
Bert Vermeulen [Tue, 16 Jul 2013 13:58:46 +0000 (15:58 +0200)]
lascar-el-usb: Don't close device after acquisition
Bert Vermeulen [Tue, 16 Jul 2013 13:58:11 +0000 (15:58 +0200)]
kecheng-kc-330b: Acquisition from stored logs
Bert Vermeulen [Mon, 15 Jul 2013 12:14:28 +0000 (14:14 +0200)]
Add sr_session_iteration() API function
Bert Vermeulen [Tue, 25 Jun 2013 20:00:29 +0000 (22:00 +0200)]
kecheng-kc-330b: Check device status before acquisition
Can't really count on it either way though, the device is just
too flaky to conclude whether it's going to work or not, regardless
of the status returned.
Bert Vermeulen [Tue, 25 Jun 2013 12:09:01 +0000 (14:09 +0200)]
kecheng-kc-330b: Live SPL acquisition
Bert Vermeulen [Mon, 24 Jun 2013 11:24:43 +0000 (13:24 +0200)]
kecheng-kc-330b: Implement all SR_CONF options
Bert Vermeulen [Fri, 21 Jun 2013 13:58:08 +0000 (15:58 +0200)]
Add Kecheng KC-330B
Bert Vermeulen [Fri, 21 Jun 2013 13:57:48 +0000 (15:57 +0200)]
kecheng-kc-330b: Flesh out driver, add scan functionality
Bert Vermeulen [Thu, 20 Jun 2013 19:31:31 +0000 (21:31 +0200)]
kecheng-kc-330b: Initial driver skeleton.
Uwe Hermann [Tue, 4 Jun 2013 13:32:20 +0000 (15:32 +0200)]
ikalogic-scanaplus: Initial driver implementation.
Uwe Hermann [Fri, 21 Jun 2013 15:15:10 +0000 (17:15 +0200)]
ikalogic-scanaplus: Initial driver skeleton.
Florian Knodt [Fri, 5 Jul 2013 12:02:50 +0000 (14:02 +0200)]
Support for UNI-T UT60A/E multimeters via RS232 or USB
Marc Schink [Tue, 2 Jul 2013 19:52:23 +0000 (21:52 +0200)]
Use GET_REPORT request for device to host transfer.
Uwe Hermann [Sat, 22 Jun 2013 15:12:38 +0000 (17:12 +0200)]
error.c: Simplify and shorten.
Uwe Hermann [Sat, 22 Jun 2013 15:05:57 +0000 (17:05 +0200)]
README.devices: Minor updates.
Uwe Hermann [Sat, 22 Jun 2013 14:53:13 +0000 (16:53 +0200)]
uni-t-dmm: Add support for the Voltcraft VC-830.
Uwe Hermann [Sat, 22 Jun 2013 14:48:00 +0000 (16:48 +0200)]
serial-dmm: Add support for the Voltcraft VC-830.
Uwe Hermann [Fri, 21 Jun 2013 13:18:33 +0000 (15:18 +0200)]
configure.ac: Move an AM_CONDITIONAL to the correct location.
Uwe Hermann [Fri, 21 Jun 2013 13:11:36 +0000 (15:11 +0200)]
configure.ac: Fix build when libusb-1.0 not available.
The IKALOGIC Scanalogic2 needs libusb-1.0, thus disable this driver when
libusb-1.0 cannot be found.
Bert Vermeulen [Thu, 20 Jun 2013 12:35:34 +0000 (14:35 +0200)]
cem-dt-885x: Support for retrieving stored samples
Bert Vermeulen [Wed, 19 Jun 2013 10:23:30 +0000 (12:23 +0200)]
cem-dt-885x: Support for SR_CONF_DATA_SOURCE
This device can do both live and memory-based acquisition.
Bert Vermeulen [Wed, 19 Jun 2013 10:18:00 +0000 (12:18 +0200)]
Add SR_CONF key for data source
Bert Vermeulen [Mon, 17 Jun 2013 13:46:14 +0000 (15:46 +0200)]
cem-dt-885x: Support for powering off the device
Bert Vermeulen [Mon, 17 Jun 2013 09:54:37 +0000 (11:54 +0200)]
Add SR_CONF key for powering off a device
Bert Vermeulen [Sun, 16 Jun 2013 23:26:25 +0000 (01:26 +0200)]
cem-dt-885x: Support for sound pressure level measurement range
Bert Vermeulen [Sun, 16 Jun 2013 23:25:41 +0000 (01:25 +0200)]
Add SR_CONF key for sound pressure level measurement range
Bert Vermeulen [Sun, 16 Jun 2013 11:23:58 +0000 (13:23 +0200)]
cem-dt-885x: Fix datalog on/off setting in max/min hold mode
As it turns out, the device randomly decides to send no logging state
info when max hold or min hold mode is enabled.
Bert Vermeulen [Sun, 16 Jun 2013 10:14:09 +0000 (12:14 +0200)]
cem-dt-885x: Support for max/min hold modes
Bert Vermeulen [Sun, 16 Jun 2013 10:12:20 +0000 (12:12 +0200)]
Add SR_CONF keys for max/min hold modes
Bert Vermeulen [Sat, 15 Jun 2013 11:00:41 +0000 (13:00 +0200)]
cem-dt-885x: Support for changing time weighting
Bert Vermeulen [Sat, 15 Jun 2013 10:17:55 +0000 (12:17 +0200)]
cem-dt-885x: Support for changing frequency weighting
Bert Vermeulen [Sat, 15 Jun 2013 10:09:31 +0000 (12:09 +0200)]
Add SR_CONF keys for sound pressure level time and frequency weighting
Bert Vermeulen [Thu, 13 Jun 2013 12:33:15 +0000 (14:33 +0200)]
cem-dt-885x: Support for turning data logging on/off
Bert Vermeulen [Thu, 13 Jun 2013 12:23:06 +0000 (14:23 +0200)]
Add SR_ERR_TIMEOUT
Florian Steinhardt [Tue, 11 Jun 2013 18:35:57 +0000 (20:35 +0200)]
added Voltcraft M-3650D Multimeter
Bert Vermeulen [Wed, 12 Jun 2013 14:04:23 +0000 (16:04 +0200)]
cem-dt-885x: Send last measurement at normal rate in hold mode
The device only sends the "hold" token otherwise, which clashes somewhat
with other devices. This makes the device more predictable for frontends.
Bert Vermeulen [Wed, 12 Jun 2013 13:45:37 +0000 (15:45 +0200)]
cem-dt-885x: Hold off measurements in max/min hold mode
Bert Vermeulen [Wed, 12 Jun 2013 11:10:56 +0000 (13:10 +0200)]
cem-dt-885x: Live SPL acquisition
Bert Vermeulen [Tue, 11 Jun 2013 21:33:25 +0000 (23:33 +0200)]
cem-dt-885x: Flesh out driver, add scan functionality
Bert Vermeulen [Fri, 7 Jun 2013 23:12:10 +0000 (01:12 +0200)]
cem-dt-885x: Initial driver skeleton.
Uwe Hermann [Tue, 11 Jun 2013 16:55:47 +0000 (18:55 +0200)]
scanalogic2: Only print actual state changes in the log.
Uwe Hermann [Tue, 11 Jun 2013 16:55:47 +0000 (18:55 +0200)]
scanalogic2: Replace %i with %s where needed.
Uwe Hermann [Tue, 11 Jun 2013 16:55:47 +0000 (18:55 +0200)]
scanalogic2: Shorten a few function name prefixes.
The driver-private helper functions in protocol.c can have a shorter
prefix to make the code look nicer.
Uwe Hermann [Tue, 11 Jun 2013 16:55:47 +0000 (18:55 +0200)]
scanalogic2: Cosmetics, whitespace, typos, etc.
Marc Schink [Mon, 10 Jun 2013 08:10:13 +0000 (10:10 +0200)]
Initial driver for IKALOGIC Scanalogic-2
Marc Schink [Fri, 7 Jun 2013 18:34:40 +0000 (20:34 +0200)]
ikalogic-scanalogic2: Initial driver skeleton.