Bert Vermeulen
ebb781a69f
hantek-dso: support for SR_HWCAP_FILTER
2012-05-30 23:56:12 +02:00
Bert Vermeulen
a370ef1916
hantek-dso: support for setting all CMD_SET_TRIGGER_SAMPLERATE params
2012-05-30 23:56:12 +02:00
Bert Vermeulen
bc79e906a0
hantek-dso: proper protocol implementation of trigger/samplerate setting
2012-05-30 23:56:12 +02:00
Bert Vermeulen
6e71ef3b6f
hantek-dso: fix channel selection
2012-05-30 23:56:12 +02:00
Bert Vermeulen
ae88b97ba2
hantek-dso: delimit frames with SR_DF_FRAME_* packets
2012-05-30 23:56:12 +02:00
Bert Vermeulen
3b533202c8
sr: initial support for Hantek 2xxx/5200 USB oscilloscopes
2012-05-30 23:56:12 +02:00
Bert Vermeulen
f366e86c68
sr: change all drivers to use SR_DF_META_LOGIC
2012-05-30 23:55:36 +02:00
Uwe Hermann
7e41e319d9
sr: fx2lafw: Forgot to add (C) line to fx2lafw.h in recent commit.
2012-05-30 23:31:03 +02:00
Uwe Hermann
0a8c0c324e
sr: fx2lafw: Only check for correct major FW version.
...
Changes in the minor version number are OK, as those should never
contain any incompatible/API changes.
2012-05-30 23:23:14 +02:00
Uwe Hermann
8fdecced96
sr: Consistently use ZEROPLUS spelling.
...
This is the version used throughout their website, let's use it.
2012-05-30 23:23:14 +02:00
Uwe Hermann
921634ec10
sr: Fix typos.
2012-05-30 22:42:47 +02:00
Uwe Hermann
cf94c8167b
sr: fx2lafw: Add (C) line from old saleae driver it's based on.
2012-05-30 22:42:45 +02:00
Uwe Hermann
f60fdf6ebe
sr: fx2lafw: s/MAX_RENUM_DELAY/MAX_RENUM_DELAY_MS/.
2012-05-30 09:30:50 +02:00
Uwe Hermann
e8bd58ffd2
sr: fx2lafw: Fix a firmware upload bug on 32bit systems.
...
The glib GTimeVal data type (and some functions using it) will be faded
out from glib sooner or later, so it's not a good idea to use them anyway.
In this specific case GTimeVal.tv_sec was overflowing, leading a check in
libsigrok to fail, and thus to FX2 firmware upload errors, i.e.
non-working fx2lafw devices.
http://thread.gmane.org/gmane.comp.debugging.sigrok.devel/166
The root cause is that GTimeVal.tv_sec is a 'glong' (8 bytes on 64bit
systems, but only 4 on 32bit systems).
We now use an int64_t (and g_get_monotonic_time() instead of the more
problematics g_get_current_time() which uses a GTimeVal).
This has been verified to fix the issue on a 32bit system.
Other uses of GTimeVal in libsigrok will be removed in a later release.
Also, drop unneeded GTV_TO_MSEC.
2012-05-30 09:30:18 +02:00
Uwe Hermann
9f05304e4e
sr: ARMFLY AX-Pro is supported by fx2lafw (LA only).
2012-05-29 20:25:08 +02:00
Uwe Hermann
37dc0b16a6
fx2lafw: Cosmetics.
2012-05-11 00:22:30 +02:00
Joel Holdsworth
dc68c660d5
fx2lafw: Added a gpif delay debug message
2012-05-10 13:11:07 +01:00
Joel Holdsworth
79dc64985f
fx2lafw: Added support for 20kHz and 25kHz sampling
2012-05-10 13:10:59 +01:00
Joel Holdsworth
897c1a2ee5
fx2lafw: Added support for 100kHz and 50kHz sampling
2012-05-10 13:08:09 +01:00
Uwe Hermann
1e94408ae5
sr: fx2lafw: Get/display FX2 REVID.
2012-05-06 19:54:46 +02:00
Uwe Hermann
1663e4706c
sr: fx2lafw: Braintechnology USB-LPS support.
2012-05-06 17:24:40 +02:00
Uwe Hermann
6352d030df
sr: We support both SIGMA and SIGMA2.
...
Also, a few minor coding-style fixes etc.
2012-05-03 01:41:02 +02:00
Bert Vermeulen
6b73d9a598
fx2lafw: use iManufacturer/iProduct fields to identify our firmware
...
It's more deterministic than the endpoint profile check we did before. Which
was also broken.
2012-04-27 01:28:47 +02:00
Uwe Hermann
6752905e6b
sr: zeroplus: Fix segfault, add debug output.
...
There are various ZEROPLUS models with different probe numbers. For now
hardcode to 16 (for the popular LAP-C(16032)). This will need to be
fixed in a dynamic way later.
This fixes a segfault due to only 16 probe-names being defined, but the
drivers returning 32 as probecount.
Also, add some additional debug output.
2012-04-26 23:18:05 +02:00
Bert Vermeulen
993526f824
sr: don't use deprecated glib functions
...
As of the recent glib 2.32 release, these produce deprecation warnings
at compile time.
2012-04-23 15:31:41 +02:00
Håvard Espeland
42cdeef626
sigma: Fix segfault when no Sigma present.
2012-04-23 13:36:17 +02:00
Håvard Espeland
868501fa46
sigma: Bump copyright notice.
2012-04-22 15:10:46 +02:00
Håvard Espeland
e210c6c090
sr: Remove zlib dependency.
...
No longer needed by Sigma driver.
2012-04-22 14:59:10 +02:00
Håvard Espeland
e3fff420da
sigma: Add support for SIGMA2 (req. new firmware).
2012-04-22 14:59:10 +02:00
Håvard Espeland
3c36c403fa
sigma: Use heap for datafeed packet and header.
2012-04-22 14:59:10 +02:00
Håvard Espeland
805919b042
sigma: Fix bugs in receive_data callback.
...
- Poll data position on Sigma for every iteration.
- Return TRUE when no data ready.
2012-04-22 14:59:10 +02:00
Uwe Hermann
934cde02b8
fx2lafw: supported_samplerates[] should be 0-terminated.
2012-04-19 00:55:29 +02:00
Joel Holdsworth
f488762a17
fx2lafw: Added support for default Cypess FX2 without EEPROM
2012-04-19 00:12:22 +02:00
Joel Holdsworth
824b1a8f5c
sr: Deleted the saleae-logic driver, fx2lafw has superceded it.
2012-04-19 00:12:22 +02:00
Joel Holdsworth
9304d57650
fx2lafw: Added slower sample rates
2012-04-18 19:07:39 +01:00
Uwe Hermann
0aeb0ccd55
sr: sr_err() et. al. don't need trailing \n.
2012-04-10 23:25:57 +02:00
Uwe Hermann
44dfd483db
sr: fx2lafw: Cosmetics.
2012-04-10 22:32:31 +02:00
Joel Holdsworth
13bf7eccbb
fx2lafw: Added command to verify firmware version
2012-04-10 18:27:24 +01:00
Joel Holdsworth
6fbe5e6081
fx2lafw: Safer use of libusb_get_device_list
2012-04-08 17:19:52 +01:00
Uwe Hermann
da68656857
sr: fx2lafw: Consistency fixes.
2012-03-31 11:33:43 +02:00
Uwe Hermann
7ae2f9d56f
sr: fx2lafw: Cosmetics.
2012-03-28 01:19:28 +02:00
Uwe Hermann
b04902b646
sr: fx2lafw: Use SR_PRIV where needed.
2012-03-28 01:19:28 +02:00
Uwe Hermann
30da9658ad
sr: fx2lafw: command.h: Add missing include guards.
2012-03-28 01:19:28 +02:00
Uwe Hermann
f4a9e5c0aa
sr: fx2lafw: Cosmetics.
2012-03-28 01:19:27 +02:00
Joel Holdsworth
94c26b08fd
sr: Build ezusb.c for fx2lafw as well as saleae-logic
2012-03-25 19:42:37 +01:00
Joel Holdsworth
ec888f62fe
salae: Only terminate session after all transfers have been aborted
2012-03-25 19:42:37 +01:00
Joel Holdsworth
3e6292b296
fx2lafw: Made finish_acquisition a static function
2012-03-25 19:42:37 +01:00
Uwe Hermann
590b9f9a91
sr: Fix some samplerate fields.
2012-03-24 22:32:47 +01:00
Joel Holdsworth
cb61e9f7c3
fx2lafw: Only terminate session after all transfers have been aborted
2012-03-24 10:09:28 +00:00
Joel Holdsworth
24125e0520
fx2lafw: Removed a line of redundant code
2012-03-24 10:07:58 +00:00