]> sigrok.org Git - libsigrok.git/log
libsigrok.git
13 years agoconsistent debug msgs, rename sump to ols
Bert Vermeulen [Tue, 28 Dec 2010 23:02:30 +0000 (00:02 +0100)]
consistent debug msgs, rename sump to ols

13 years agofix corner cases/memory management (cli->text out)
Bert Vermeulen [Tue, 28 Dec 2010 20:59:07 +0000 (21:59 +0100)]
fix corner cases/memory management (cli->text out)

13 years agodon't turn on/off libusb debugging
Bert Vermeulen [Mon, 27 Dec 2010 22:44:50 +0000 (23:44 +0100)]
don't turn on/off libusb debugging

13 years agooops, fix serial_flush()
Bert Vermeulen [Thu, 12 Aug 2010 04:04:44 +0000 (06:04 +0200)]
oops, fix serial_flush()

13 years agoadd serial_flush()
Bert Vermeulen [Thu, 12 Aug 2010 04:02:25 +0000 (06:02 +0200)]
add serial_flush()

13 years agoincrease length of datafeed packets to uint64_t
Bert Vermeulen [Thu, 12 Aug 2010 03:49:00 +0000 (05:49 +0200)]
increase length of datafeed packets to uint64_t

13 years agodon't push configuration to device until acq time
Bert Vermeulen [Thu, 12 Aug 2010 02:57:09 +0000 (04:57 +0200)]
don't push configuration to device until acq time

13 years agoOLS: fix multi-channel capture
Bert Vermeulen [Wed, 11 Aug 2010 16:37:09 +0000 (18:37 +0200)]
OLS: fix multi-channel capture

13 years agoadd debug logging (set SIGROK_DEBUG=2 to see)
Bert Vermeulen [Wed, 11 Aug 2010 02:04:20 +0000 (04:04 +0200)]
add debug logging (set SIGROK_DEBUG=2 to see)

13 years agoOLS: fix triggers, sample order, capture ratio
Bert Vermeulen [Thu, 5 Aug 2010 01:54:33 +0000 (03:54 +0200)]
OLS: fix triggers, sample order, capture ratio

13 years agodefine pre/post-trigger capture ratio option
Bert Vermeulen [Thu, 5 Aug 2010 01:52:32 +0000 (03:52 +0200)]
define pre/post-trigger capture ratio option

13 years agosaleae logic: fix triggers after style changes
Bert Vermeulen [Sun, 18 Jul 2010 19:57:27 +0000 (21:57 +0200)]
saleae logic: fix triggers after style changes

13 years agohwplugin.c: Add missing config.h #include.
Uwe Hermann [Wed, 14 Jul 2010 20:09:21 +0000 (22:09 +0200)]
hwplugin.c: Add missing config.h #include.

This fixes a bug where no LA would be found or displayed in lists such
as 'sigrok-cli -H' or 'sigrok-cli -D'.

Thanks Forrest Voight for spotting the bug.

13 years agoOnly build hardware plugins if requested by user.
Uwe Hermann [Thu, 24 Jun 2010 23:11:11 +0000 (01:11 +0200)]
Only build hardware plugins if requested by user.

Per default all plugins will be built, though. The user can override
this via the --disable-la-xxxx options.

13 years agoAdd per-LA --enable-XXXX configure options.
Uwe Hermann [Mon, 31 May 2010 09:34:10 +0000 (11:34 +0200)]
Add per-LA --enable-XXXX configure options.

13 years agoUse 'kHz' (not 'KHz') consistently.
Uwe Hermann [Wed, 26 May 2010 23:51:55 +0000 (01:51 +0200)]
Use 'kHz' (not 'KHz') consistently.

14 years agoSimplifications and small fixes.
Uwe Hermann [Tue, 18 May 2010 22:38:14 +0000 (00:38 +0200)]
Simplifications and small fixes.

14 years agoskeleton.c: Update to latest prototypes.
Uwe Hermann [Tue, 18 May 2010 22:23:27 +0000 (00:23 +0200)]
skeleton.c: Update to latest prototypes.

14 years agouse flexible sample limit specification (k/m/g)
Bert Vermeulen [Sat, 15 May 2010 21:30:17 +0000 (23:30 +0200)]
use flexible sample limit specification (k/m/g)

HWCAP_LIMIT_SAMPLES is now passed to the driver as *uint64

14 years agoCosmetics: Reduce nesting level a bit.
Uwe Hermann [Mon, 17 May 2010 21:59:56 +0000 (23:59 +0200)]
Cosmetics: Reduce nesting level a bit.

14 years agoFactor out opendev2/opendev3.
Uwe Hermann [Fri, 14 May 2010 12:24:05 +0000 (14:24 +0200)]
Factor out opendev2/opendev3.

14 years agoopendev2/opendev3: Don't depend on global vars.
Uwe Hermann [Fri, 14 May 2010 11:12:06 +0000 (13:12 +0200)]
opendev2/opendev3: Don't depend on global vars.

14 years agoCosmetics.
Uwe Hermann [Fri, 14 May 2010 11:07:03 +0000 (13:07 +0200)]
Cosmetics.

14 years agopkg-config: Add (semi-generated) libsigrok.pc.
Uwe Hermann [Tue, 11 May 2010 16:07:54 +0000 (18:07 +0200)]
pkg-config: Add (semi-generated) libsigrok.pc.

14 years agoDrop unused and obsolete gmodule stuff.
Uwe Hermann [Tue, 11 May 2010 15:13:35 +0000 (17:13 +0200)]
Drop unused and obsolete gmodule stuff.

14 years agosump/ols: Wait 10ms for hw response to make pl2303 reliable
Peter Stuge [Sun, 9 May 2010 21:11:08 +0000 (23:11 +0200)]
sump/ols: Wait 10ms for hw response to make pl2303 reliable

14 years agoserial: Remove unneccesary nesting
Peter Stuge [Sun, 9 May 2010 21:04:24 +0000 (23:04 +0200)]
serial: Remove unneccesary nesting

14 years agoVCD: Optimizations and fixes.
Uwe Hermann [Sun, 9 May 2010 19:05:15 +0000 (21:05 +0200)]
VCD: Optimizations and fixes.

14 years agoVCD/Gnuplot: Fix incorrect sample counter.
Uwe Hermann [Sun, 9 May 2010 18:52:36 +0000 (20:52 +0200)]
VCD/Gnuplot: Fix incorrect sample counter.

14 years agoGnuplot: Nicer output formatting.
Uwe Hermann [Sun, 9 May 2010 18:27:11 +0000 (20:27 +0200)]
Gnuplot: Nicer output formatting.

14 years agofilter.c: Error handling, code simplification.
Uwe Hermann [Sun, 9 May 2010 17:36:43 +0000 (19:36 +0200)]
filter.c: Error handling, code simplification.

14 years agoGnuplot: Improve column/probe name display.
Uwe Hermann [Sun, 9 May 2010 13:52:56 +0000 (15:52 +0200)]
Gnuplot: Improve column/probe name display.

This fixes incorrect probe name display if the user explicitly named
probes via '-p 1=CLK' etc.

14 years agooutput_text: More error handling.
Uwe Hermann [Sun, 9 May 2010 13:38:33 +0000 (15:38 +0200)]
output_text: More error handling.

14 years agooutput_gnuplot: Simplify event().
Uwe Hermann [Sun, 9 May 2010 13:12:10 +0000 (15:12 +0200)]
output_gnuplot: Simplify event().

14 years agooutput_binary: Code simplifications.
Uwe Hermann [Sun, 9 May 2010 13:11:47 +0000 (15:11 +0200)]
output_binary: Code simplifications.

14 years agoGnuplot quickfix: Increase malloc()'ed size.
Uwe Hermann [Sun, 9 May 2010 13:02:17 +0000 (15:02 +0200)]
Gnuplot quickfix: Increase malloc()'ed size.

14 years agoVCD/Gnuplot: Store time/date in output.
Uwe Hermann [Sun, 9 May 2010 12:54:16 +0000 (14:54 +0200)]
VCD/Gnuplot: Store time/date in output.

14 years agoVCD/Gnuplot: Cosmetics, code simplifications.
Uwe Hermann [Sun, 9 May 2010 12:42:46 +0000 (14:42 +0200)]
VCD/Gnuplot: Cosmetics, code simplifications.

14 years agoGnuplot output: More error handling.
Uwe Hermann [Sun, 9 May 2010 12:35:02 +0000 (14:35 +0200)]
Gnuplot output: More error handling.

14 years agodatastore_new(): Use int as return value.
Uwe Hermann [Sun, 9 May 2010 11:32:58 +0000 (13:32 +0200)]
datastore_new(): Use int as return value.

14 years agoDatastore: More error checking.
Uwe Hermann [Sun, 9 May 2010 11:25:03 +0000 (13:25 +0200)]
Datastore: More error checking.

14 years agoVCD: Improve error handling/checking.
Uwe Hermann [Sat, 8 May 2010 14:09:25 +0000 (16:09 +0200)]
VCD: Improve error handling/checking.

Check malloc()/calloc() return values and so on. Also, add missing
free() calls and some TODOs. Simplify some code.

14 years agooutput_text: always print sigrok version
Bert Vermeulen [Thu, 6 May 2010 05:06:38 +0000 (22:06 -0700)]
output_text: always print sigrok version

14 years agooutput_binary: rm TODO item
Bert Vermeulen [Thu, 6 May 2010 04:43:25 +0000 (21:43 -0700)]
output_binary: rm TODO item

Yes, disabled probes are stripped by the filter before the
output module even gets data.

14 years agooutput: if device has no plugin, don't report samplerate
Bert Vermeulen [Thu, 6 May 2010 02:56:48 +0000 (19:56 -0700)]
output: if device has no plugin, don't report samplerate

14 years agoinput: use dummy device when loading from file
Bert Vermeulen [Thu, 6 May 2010 02:55:58 +0000 (19:55 -0700)]
input: use dummy device when loading from file

14 years agoallow devices without a plugin
Bert Vermeulen [Thu, 6 May 2010 02:54:19 +0000 (19:54 -0700)]
allow devices without a plugin

this is needed to support file loading: we want a device struct
so we can enumerate probes from the file, but there is no plugin
since the data come in from a device.

14 years agoOutput: Fix invalid pointer dereferencing in vcd and gnuplot.
Håvard Espeland [Tue, 4 May 2010 17:44:39 +0000 (19:44 +0200)]
Output: Fix invalid pointer dereferencing in vcd and gnuplot.

14 years agoSigma: Small cleanups.
Håvard Espeland [Mon, 3 May 2010 19:35:02 +0000 (21:35 +0200)]
Sigma: Small cleanups.

14 years agoSigma: Use software trigger to pinpoint exact sample.
Håvard Espeland [Mon, 3 May 2010 19:30:37 +0000 (21:30 +0200)]
Sigma: Use software trigger to pinpoint exact sample.

14 years agoSigma: Add state machine for tracking Sigma status.
Håvard Espeland [Mon, 3 May 2010 17:04:10 +0000 (19:04 +0200)]
Sigma: Add state machine for tracking Sigma status.

14 years agoSigma: Merge storage of rise/fall triggers.
Håvard Espeland [Mon, 3 May 2010 13:06:43 +0000 (15:06 +0200)]
Sigma: Merge storage of rise/fall triggers.

14 years agoSigma: Minor cleanups.
Håvard Espeland [Sun, 2 May 2010 17:21:05 +0000 (19:21 +0200)]
Sigma: Minor cleanups.

14 years agoSigma: Set capture ratio correctly.
Håvard Espeland [Sun, 2 May 2010 17:12:36 +0000 (19:12 +0200)]
Sigma: Set capture ratio correctly.

14 years agoSigma: 50 MHZ falling/rising edge trigger support.
Håvard Espeland [Sun, 2 May 2010 12:58:59 +0000 (14:58 +0200)]
Sigma: 50 MHZ falling/rising edge trigger support.

Falling/rising edge and value/mask triggers can be combined, e.g.:
  --triggers 1=0,2=r,3=1,4=1

14 years agoSigma: Fix simple trigger LUT calculation.
Håvard Espeland [Sun, 2 May 2010 10:59:33 +0000 (12:59 +0200)]
Sigma: Fix simple trigger LUT calculation.

14 years agoSigma: Value/mask trigger support in 50 MHz mode.
Håvard Espeland [Sat, 1 May 2010 20:38:43 +0000 (22:38 +0200)]
Sigma: Value/mask trigger support in 50 MHz mode.

14 years agoSigma: Small cleanups.
Håvard Espeland [Sat, 1 May 2010 12:22:22 +0000 (14:22 +0200)]
Sigma: Small cleanups.

14 years agoSaleae: Rename firmware file to saleae-logic.fw.
Uwe Hermann [Sat, 1 May 2010 00:41:37 +0000 (02:41 +0200)]
Saleae: Rename firmware file to saleae-logic.fw.

This is done for consistency with the ASIX SIGMA firmware file names,
and also for brevity.

14 years agoinout module infrastructure + binary input module
Bert Vermeulen [Fri, 30 Apr 2010 22:54:39 +0000 (15:54 -0700)]
inout module infrastructure + binary input module

14 years agocli: Show trigger event in bits plugin.
Håvard Espeland [Fri, 30 Apr 2010 20:18:55 +0000 (22:18 +0200)]
cli: Show trigger event in bits plugin.

14 years agoSigma: Add triggers support for 100 and 200 MHz.
Håvard Espeland [Fri, 30 Apr 2010 20:18:10 +0000 (22:18 +0200)]
Sigma: Add triggers support for 100 and 200 MHz.

14 years agoSigma: Minor cleanup and add more samplesrates.
Håvard Espeland [Fri, 30 Apr 2010 21:51:57 +0000 (23:51 +0200)]
Sigma: Minor cleanup and add more samplesrates.

14 years agoSigma: Small cosmetic fixes.
Uwe Hermann [Wed, 28 Apr 2010 22:32:44 +0000 (00:32 +0200)]
Sigma: Small cosmetic fixes.

14 years agoSigma: Support for low samplerates
Håvard Espeland [Wed, 28 Apr 2010 20:45:13 +0000 (22:45 +0200)]
Sigma: Support for low samplerates

Lowest samplerate supported in driver is 250 KHz

14 years agoSigma: Support 50 and 200 MHz modes
Håvard Espeland [Wed, 28 Apr 2010 19:21:19 +0000 (21:21 +0200)]
Sigma: Support 50 and 200 MHz modes

14 years agoSigma: Rename firmware files
Håvard Espeland [Wed, 28 Apr 2010 19:20:27 +0000 (21:20 +0200)]
Sigma: Rename firmware files

14 years agoSigma: Upload 50, 100 or 200 MHz firmware
Håvard Espeland [Wed, 28 Apr 2010 18:01:15 +0000 (20:01 +0200)]
Sigma: Upload 50, 100 or 200 MHz firmware

14 years agoSigma: Move upload firmware into a function
Håvard Espeland [Wed, 28 Apr 2010 17:48:59 +0000 (19:48 +0200)]
Sigma: Move upload firmware into a function

14 years agoASIX SIGMA: Coding style fixes (via indent mostly).
Uwe Hermann [Tue, 27 Apr 2010 22:17:28 +0000 (00:17 +0200)]
ASIX SIGMA: Coding style fixes (via indent mostly).

Also, end all/most comments with full stop and avoid variable/array
definitions in the middle of functions.

14 years agoasix-sigma.h: Add missing license header.
Uwe Hermann [Tue, 27 Apr 2010 20:46:59 +0000 (22:46 +0200)]
asix-sigma.h: Add missing license header.

14 years agoASIX Sigma: Use common license header format.
Uwe Hermann [Tue, 27 Apr 2010 20:44:15 +0000 (22:44 +0200)]
ASIX Sigma: Use common license header format.

14 years agoThis commit adds initial support for the Asix Sigma Logic Analyzer. Currently, only...
Håvard Espeland [Tue, 27 Apr 2010 19:43:24 +0000 (21:43 +0200)]
This commit adds initial support for the Asix Sigma Logic Analyzer. Currently, only 200 MHz is supported, and only with software trigger. Firmware for the device will be distributed separately, with permission from the vendor.

Signed-off-by: Håvard Espeland <redacted>
14 years agoWin: Fix compile, serial port code (unfinished).
Uwe Hermann [Thu, 22 Apr 2010 01:39:02 +0000 (03:39 +0200)]
Win: Fix compile, serial port code (unfinished).

14 years agosimplify code for unused features
Bert Vermeulen [Sun, 18 Apr 2010 17:57:13 +0000 (10:57 -0700)]
simplify code for unused features

14 years agofix broken samplerate calculation
Bert Vermeulen [Sun, 18 Apr 2010 06:07:00 +0000 (23:07 -0700)]
fix broken samplerate calculation

14 years agofix double DF_END and libusb timeout
Bert Vermeulen [Sun, 18 Apr 2010 05:09:33 +0000 (22:09 -0700)]
fix double DF_END and libusb timeout

14 years agoOops, bugfixes.
Uwe Hermann [Thu, 15 Apr 2010 21:24:44 +0000 (23:24 +0200)]
Oops, bugfixes.

14 years agoRefactoring and code simplifications.
Uwe Hermann [Thu, 15 Apr 2010 21:21:30 +0000 (23:21 +0200)]
Refactoring and code simplifications.

14 years agoSaleae/Zeroplus: Coding style fixes.
Uwe Hermann [Thu, 15 Apr 2010 20:59:43 +0000 (22:59 +0200)]
Saleae/Zeroplus: Coding style fixes.

14 years agoOLS: Coding style fixes.
Uwe Hermann [Thu, 15 Apr 2010 20:16:35 +0000 (22:16 +0200)]
OLS: Coding style fixes.

14 years agohardware/common: Coding style fixes.
Uwe Hermann [Thu, 15 Apr 2010 18:55:57 +0000 (20:55 +0200)]
hardware/common: Coding style fixes.

14 years agooutput: Coding style fixes.
Uwe Hermann [Thu, 15 Apr 2010 18:36:04 +0000 (20:36 +0200)]
output: Coding style fixes.

14 years agolibsigrok: More coding style fixes.
Uwe Hermann [Thu, 15 Apr 2010 18:16:53 +0000 (20:16 +0200)]
libsigrok: More coding style fixes.

14 years agolibsigrok: Coding style fixes.
Uwe Hermann [Thu, 15 Apr 2010 18:07:16 +0000 (20:07 +0200)]
libsigrok: Coding style fixes.

14 years agoFix insufficient braces in KHZ() et al.
Uwe Hermann [Thu, 15 Apr 2010 17:49:14 +0000 (19:49 +0200)]
Fix insufficient braces in KHZ() et al.

14 years agoAdd ARRAY_SIZE helper.
Uwe Hermann [Mon, 12 Apr 2010 22:34:20 +0000 (00:34 +0200)]
Add ARRAY_SIZE helper.

14 years agoRename "bin" output module to "bits" everywhere.
Uwe Hermann [Mon, 12 Apr 2010 21:21:12 +0000 (23:21 +0200)]
Rename "bin" output module to "bits" everywhere.

14 years agoAdd raw binary output format.
Uwe Hermann [Mon, 12 Apr 2010 19:22:58 +0000 (21:22 +0200)]
Add raw binary output format.

Also, rename the "bin" format to "bits" for now to avoid confusion.

14 years agoFix all warnings and re-enable -Wextra.
Uwe Hermann [Fri, 9 Apr 2010 20:18:46 +0000 (22:18 +0200)]
Fix all warnings and re-enable -Wextra.

14 years agozeroplus: Fix compiler warnings.
Uwe Hermann [Fri, 9 Apr 2010 19:20:22 +0000 (21:20 +0200)]
zeroplus: Fix compiler warnings.

14 years agoFactor out trigger_helper() to reduce nesting.
Uwe Hermann [Fri, 9 Apr 2010 19:16:11 +0000 (21:16 +0200)]
Factor out trigger_helper() to reduce nesting.

14 years agoFactor out common ezusb_upload_firmware().
Uwe Hermann [Fri, 9 Apr 2010 18:44:51 +0000 (20:44 +0200)]
Factor out common ezusb_upload_firmware().

14 years agoezusb.c: Coding style fixes.
Uwe Hermann [Fri, 9 Apr 2010 18:36:29 +0000 (20:36 +0200)]
ezusb.c: Coding style fixes.

14 years agosl_open_device(): Refactoring to reduce nesting.
Uwe Hermann [Fri, 9 Apr 2010 18:31:43 +0000 (20:31 +0200)]
sl_open_device(): Refactoring to reduce nesting.

14 years agoSimplify code by reducing nesting level.
Uwe Hermann [Fri, 9 Apr 2010 17:25:29 +0000 (19:25 +0200)]
Simplify code by reducing nesting level.

14 years agoCoding style fixes, aided by 'indent'.
Uwe Hermann [Fri, 9 Apr 2010 17:04:36 +0000 (19:04 +0200)]
Coding style fixes, aided by 'indent'.

The following shell alias can be used:

  alias INDENT='indent -npro -kr -i8 -ts8 -sob -l80 -ss -ncs'

14 years agomove posix-specific serial port comms to serial.c
Bert Vermeulen [Fri, 9 Apr 2010 03:15:27 +0000 (05:15 +0200)]
move posix-specific serial port comms to serial.c

14 years agoswitch to SIGROK_ERR
Bert Vermeulen [Thu, 8 Apr 2010 14:58:07 +0000 (16:58 +0200)]
switch to SIGROK_ERR

14 years agovarious fixes, basic acquisition works
Bert Vermeulen [Thu, 8 Apr 2010 14:49:39 +0000 (16:49 +0200)]
various fixes, basic acquisition works