sigrok:sigrok.git
6 years agosrd: JTAG/STM32: Various improvements, fixes.
Uwe Hermann [Wed, 2 May 2012 23:39:16 +0000 (01:39 +0200)]
srd: JTAG/STM32: Various improvements, fixes.

Add APACC register handling, fix DPACC handling (esp. 'A' register size),
ouput a warning upon reserved DAPABORT bits being non-zero, implement
preliminary state machine, add various TODOs.

This is still work in progress, not yet finished or working properly.

6 years agosr: We support both SIGMA and SIGMA2.
Uwe Hermann [Wed, 2 May 2012 17:02:03 +0000 (19:02 +0200)]
sr: We support both SIGMA and SIGMA2.

Also, a few minor coding-style fixes etc.

6 years agosr: udev: Add Ideofy LA-08 entry.
Uwe Hermann [Tue, 1 May 2012 17:09:06 +0000 (19:09 +0200)]
sr: udev: Add Ideofy LA-08 entry.

6 years agosr: udev: Add Velleman PCSU1000 entry.
Uwe Hermann [Tue, 1 May 2012 17:05:09 +0000 (19:05 +0200)]
sr: udev: Add Velleman PCSU1000 entry.

6 years agosr: udev: Fix alphabetical order.
Uwe Hermann [Tue, 1 May 2012 17:03:44 +0000 (19:03 +0200)]
sr: udev: Fix alphabetical order.

6 years agosr: udev: Add Robomotic BugLogic 3.
Uwe Hermann [Tue, 1 May 2012 17:00:28 +0000 (19:00 +0200)]
sr: udev: Add Robomotic BugLogic 3.

6 years agosrd: Add initial JTAG/STM32 protocol decoder.
Uwe Hermann [Sat, 28 Apr 2012 17:24:57 +0000 (19:24 +0200)]
srd: Add initial JTAG/STM32 protocol decoder.

(not yet finished)

This protocol decoder can decode ST STM32 specific JTAG accesses, knows
about the STM32-specific registers and bits.

6 years agosrd: JTAG: Add some more docs.
Uwe Hermann [Sat, 28 Apr 2012 22:46:02 +0000 (00:46 +0200)]
srd: JTAG: Add some more docs.

6 years agosrd: JTAG: The TRST# (and SRST#) signals are optional.
Uwe Hermann [Sat, 28 Apr 2012 22:35:52 +0000 (00:35 +0200)]
srd: JTAG: The TRST# (and SRST#) signals are optional.

Don't handle them for now, will do this later.

6 years agosrd: jtag: Various bugfixes.
Uwe Hermann [Sat, 28 Apr 2012 17:24:14 +0000 (19:24 +0200)]
srd: jtag: Various bugfixes.

Most importantly, both TDI and TDO are sampled at the rising TCK edge,
and only upon transitions from SHIFT-DR to SHIFT-DR and SHIFT-IR to SHIFT-IR
are we to save the TDI/TDO values (if I understood this correcly).

Also, start out in RUN-TEST/IDLE state for now. This is useful if you
have JTAG dumps which start "in the middle" somewhere, not in the
TEST-LOGIC-RESET state. For full dumps, the JTAG software usually issues
five TMS=1 cycles to force the JTAG state machine into TEST-LOGIC-RESET
anyway, so this works fine too.

6 years agofx2lafw: use iManufacturer/iProduct fields to identify our firmware
Bert Vermeulen [Thu, 26 Apr 2012 23:28:47 +0000 (01:28 +0200)]
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.

6 years agosr: zeroplus: Fix segfault, add debug output.
Uwe Hermann [Thu, 26 Apr 2012 21:18:05 +0000 (23:18 +0200)]
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.

6 years agosrd: Add initial JTAG protocol decoder.
Uwe Hermann [Thu, 26 Apr 2012 20:51:26 +0000 (22:51 +0200)]
srd: Add initial JTAG protocol decoder.

This is unfinished, needs some more work.

6 years agosrd: lpc: Minor additions/fixes.
Uwe Hermann [Wed, 25 Apr 2012 16:44:50 +0000 (18:44 +0200)]
srd: lpc: Minor additions/fixes.

6 years agogtk: Select timeunit based on device's hw cap.
Håvard Espeland [Tue, 24 Apr 2012 20:30:43 +0000 (22:30 +0200)]
gtk: Select timeunit based on device's hw cap.

6 years agogtk: Use +/- to zoom in/out.
Håvard Espeland [Tue, 24 Apr 2012 17:28:26 +0000 (19:28 +0200)]
gtk: Use +/- to zoom in/out.

Convenient and intuitive.

6 years agosr: don't use deprecated glib functions
Bert Vermeulen [Mon, 23 Apr 2012 13:31:41 +0000 (15:31 +0200)]
sr: don't use deprecated glib functions

As of the recent glib 2.32 release, these produce deprecation warnings
at compile time.

6 years agosigma: Fix segfault when no Sigma present.
Håvard Espeland [Mon, 23 Apr 2012 11:36:17 +0000 (13:36 +0200)]
sigma: Fix segfault when no Sigma present.

6 years agosigma: Bump copyright notice.
Håvard Espeland [Sun, 22 Apr 2012 13:10:46 +0000 (15:10 +0200)]
sigma: Bump copyright notice.

6 years agosr: Remove zlib dependency.
Håvard Espeland [Sun, 22 Apr 2012 12:31:40 +0000 (14:31 +0200)]
sr: Remove zlib dependency.

No longer needed by Sigma driver.

6 years agosigma: Add support for SIGMA2 (req. new firmware).
Håvard Espeland [Sun, 22 Apr 2012 12:24:02 +0000 (14:24 +0200)]
sigma: Add support for SIGMA2 (req. new firmware).

6 years agosigma: Use heap for datafeed packet and header.
Håvard Espeland [Sun, 22 Apr 2012 11:08:16 +0000 (13:08 +0200)]
sigma: Use heap for datafeed packet and header.

6 years agosigma: Fix bugs in receive_data callback.
Håvard Espeland [Sun, 22 Apr 2012 11:05:10 +0000 (13:05 +0200)]
sigma: Fix bugs in receive_data callback.

- Poll data position on Sigma for every iteration.
- Return TRUE when no data ready.

6 years agosrd: MXC6225XU: Bugfixes, add missing bits/registers.
Uwe Hermann [Sat, 21 Apr 2012 17:58:47 +0000 (19:58 +0200)]
srd: MXC6225XU: Bugfixes, add missing bits/registers.

6 years agosrd: Initial MEMSIC MXC6225XU protocol decoder.
Uwe Hermann [Thu, 19 Apr 2012 18:18:10 +0000 (20:18 +0200)]
srd: Initial MEMSIC MXC6225XU protocol decoder.

Not quite finished yet, but relatively close.

6 years agofx2lafw: supported_samplerates[] should be 0-terminated.
Uwe Hermann [Wed, 18 Apr 2012 22:55:29 +0000 (00:55 +0200)]
fx2lafw: supported_samplerates[] should be 0-terminated.

6 years agofx2lafw: Added support for default Cypess FX2 without EEPROM
Joel Holdsworth [Wed, 18 Apr 2012 21:28:52 +0000 (22:28 +0100)]
fx2lafw: Added support for default Cypess FX2 without EEPROM

6 years agosr: Deleted the saleae-logic driver, fx2lafw has superceded it.
Joel Holdsworth [Wed, 18 Apr 2012 18:17:25 +0000 (19:17 +0100)]
sr: Deleted the saleae-logic driver, fx2lafw has superceded it.

6 years agosr: Disable saleae-logic driver by default and enable fx2lafw
Joel Holdsworth [Wed, 18 Apr 2012 18:10:15 +0000 (19:10 +0100)]
sr: Disable saleae-logic driver by default and enable fx2lafw

6 years agofx2lafw: Added slower sample rates
Joel Holdsworth [Wed, 18 Apr 2012 18:07:30 +0000 (19:07 +0100)]
fx2lafw: Added slower sample rates

6 years agocli: Generate ChangeLog upon 'make dist'.
Uwe Hermann [Tue, 17 Apr 2012 22:02:54 +0000 (00:02 +0200)]
cli: Generate ChangeLog upon 'make dist'.

6 years agoInitial LPC protocol decoder implementation.
Uwe Hermann [Tue, 17 Apr 2012 21:28:12 +0000 (23:28 +0200)]
Initial LPC protocol decoder implementation.

This is unfinished and not tested, and probably not really working, yet.

6 years agocli: New 0.3.0 release.
Uwe Hermann [Mon, 16 Apr 2012 22:11:25 +0000 (00:11 +0200)]
cli: New 0.3.0 release.

Document the major user-visible changes in the NEWS file.

6 years agosrd: Initial 0.1.0 release.
Uwe Hermann [Mon, 16 Apr 2012 22:12:56 +0000 (00:12 +0200)]
srd: Initial 0.1.0 release.

6 years agosr: Initial 0.1.0 release.
Uwe Hermann [Mon, 16 Apr 2012 22:12:33 +0000 (00:12 +0200)]
sr: Initial 0.1.0 release.

6 years agosr/srd: SR_API/SRD_API/etc. is a no-op on MinGW.
Uwe Hermann [Mon, 16 Apr 2012 21:16:00 +0000 (23:16 +0200)]
sr/srd: SR_API/SRD_API/etc. is a no-op on MinGW.

This avoids warnings on a MinGW build. The feature depends on ELF files,
but MinGW/Windows uses PE files.

6 years agosrd: Quickfix for MinGW build issue.
Uwe Hermann [Mon, 16 Apr 2012 21:10:26 +0000 (23:10 +0200)]
srd: Quickfix for MinGW build issue.

6 years agocli: Show sr/srd versions determined at run-time.
Uwe Hermann [Mon, 16 Apr 2012 19:49:05 +0000 (21:49 +0200)]
cli: Show sr/srd versions determined at run-time.

6 years agosrd: Add functions to query srd version(s).
Uwe Hermann [Sun, 15 Apr 2012 18:58:08 +0000 (20:58 +0200)]
srd: Add functions to query srd version(s).

6 years agosr: Add functions to query sr version(s).
Uwe Hermann [Sun, 15 Apr 2012 18:33:45 +0000 (20:33 +0200)]
sr: Add functions to query sr version(s).

6 years agocli: NEWS: Add 0.1.0/0.2.0 release docs.
Uwe Hermann [Sat, 14 Apr 2012 16:50:22 +0000 (18:50 +0200)]
cli: NEWS: Add 0.1.0/0.2.0 release docs.

6 years agogtk: Generate ChangeLog upon 'make dist'.
Uwe Hermann [Sat, 7 Apr 2012 16:18:38 +0000 (18:18 +0200)]
gtk: Generate ChangeLog upon 'make dist'.

6 years agoqt: Add empty NEWS file.
Uwe Hermann [Sat, 7 Apr 2012 16:16:24 +0000 (18:16 +0200)]
qt: Add empty NEWS file.

6 years agogtk: Add empty NEWS file.
Uwe Hermann [Sat, 7 Apr 2012 16:16:06 +0000 (18:16 +0200)]
gtk: Add empty NEWS file.

6 years agocli: Add (almost) empty NEWS file.
Uwe Hermann [Sat, 7 Apr 2012 16:15:34 +0000 (18:15 +0200)]
cli: Add (almost) empty NEWS file.

6 years agosr/srd: Use/fix SR(D)_MAX_NUM_PROBES.
Uwe Hermann [Sat, 7 Apr 2012 16:14:39 +0000 (18:14 +0200)]
sr/srd: Use/fix SR(D)_MAX_NUM_PROBES.

6 years agosr: sr_err() et. al. don't need trailing \n.
Uwe Hermann [Sat, 7 Apr 2012 15:40:52 +0000 (17:40 +0200)]
sr: sr_err() et. al. don't need trailing \n.

6 years agosr: sr_parse_triggerstring docs/improvements.
Uwe Hermann [Sat, 7 Apr 2012 15:35:14 +0000 (17:35 +0200)]
sr: sr_parse_triggerstring docs/improvements.

Also fix smaller typos and cosmetics.

6 years agosr: fx2lafw: Cosmetics.
Uwe Hermann [Tue, 10 Apr 2012 20:32:31 +0000 (22:32 +0200)]
sr: fx2lafw: Cosmetics.

6 years agofx2lafw: Added command to verify firmware version
Joel Holdsworth [Tue, 10 Apr 2012 17:27:24 +0000 (18:27 +0100)]
fx2lafw: Added command to verify firmware version

6 years agofx2lafw: Safer use of libusb_get_device_list
Joel Holdsworth [Sun, 8 Apr 2012 16:19:52 +0000 (17:19 +0100)]
fx2lafw: Safer use of libusb_get_device_list

6 years agosrd/i2s: Added links to documentation
Joel Holdsworth [Fri, 6 Apr 2012 21:29:31 +0000 (22:29 +0100)]
srd/i2s: Added links to documentation

6 years agosrd/i2s: Added sample-rate and bit-depth to report
Joel Holdsworth [Fri, 6 Apr 2012 21:01:30 +0000 (22:01 +0100)]
srd/i2s: Added sample-rate and bit-depth to report

6 years agosrd/i2s: Print a warning on receiving a malformed word
Joel Holdsworth [Fri, 6 Apr 2012 19:11:01 +0000 (20:11 +0100)]
srd/i2s: Print a warning on receiving a malformed word

6 years agosrd/i2s: Initial implementation
Joel Holdsworth [Fri, 6 Apr 2012 19:01:02 +0000 (20:01 +0100)]
srd/i2s: Initial implementation

6 years agosrd: Disable 'nunchuk' PD for now, it's unfinished.
Uwe Hermann [Sat, 31 Mar 2012 15:06:03 +0000 (17:06 +0200)]
srd: Disable 'nunchuk' PD for now, it's unfinished.

6 years agosrd: Decoders: Fix/simplify samplenum usage.
Uwe Hermann [Sat, 31 Mar 2012 15:04:50 +0000 (17:04 +0200)]
srd: Decoders: Fix/simplify samplenum usage.

6 years agoHACKING: Drop "Creating a Windows installer".
Uwe Hermann [Sat, 31 Mar 2012 10:26:59 +0000 (12:26 +0200)]
HACKING: Drop "Creating a Windows installer".

This info is now in the wiki:

http://sigrok.org/wiki/Developers/Release_process#Windows_installers

6 years agosr/srd: Fix 'make distcheck'.
Uwe Hermann [Sat, 31 Mar 2012 10:09:37 +0000 (12:09 +0200)]
sr/srd: Fix 'make distcheck'.

6 years agosr/srd: Add ChangeLog to ignore list, it's generated.
Uwe Hermann [Sat, 31 Mar 2012 10:05:20 +0000 (12:05 +0200)]
sr/srd: Add ChangeLog to ignore list, it's generated.

6 years agosr: Disable fx2lafw driver again (for now).
Uwe Hermann [Sat, 31 Mar 2012 09:57:46 +0000 (11:57 +0200)]
sr: Disable fx2lafw driver again (for now).

After some more testing, it will probably be enabled by default and will
replace/deprecate the Saleae Logic driver at some point.

6 years agosrd: Generate ChangeLog from git upon 'make dist'.
Uwe Hermann [Sat, 31 Mar 2012 09:38:38 +0000 (11:38 +0200)]
srd: Generate ChangeLog from git upon 'make dist'.

6 years agosrd: Add NEWS file.
Uwe Hermann [Sat, 31 Mar 2012 09:37:19 +0000 (11:37 +0200)]
srd: Add NEWS file.

6 years agosr: Add NEWS file.
Uwe Hermann [Sat, 31 Mar 2012 09:37:08 +0000 (11:37 +0200)]
sr: Add NEWS file.

6 years agosrd: SRD_PACKAGE_VERSION_* for consistency.
Uwe Hermann [Sat, 31 Mar 2012 09:31:14 +0000 (11:31 +0200)]
srd: SRD_PACKAGE_VERSION_* for consistency.

No need to use the LIBSIGROKDECODE_ prefix here when we use SRD_ everywhere
else. Also, better distinction between package version and lib version.

6 years agosr: SR_PACKAGE_VERSION_* for consistency.
Uwe Hermann [Sat, 31 Mar 2012 09:28:24 +0000 (11:28 +0200)]
sr: SR_PACKAGE_VERSION_* for consistency.

No need to use the LIBSIGROK_ prefix here when we use SR_ everywhere
else. Also, better distinction between package version and lib version.

6 years agosr: fx2lafw: Consistency fixes.
Uwe Hermann [Thu, 29 Mar 2012 06:55:12 +0000 (08:55 +0200)]
sr: fx2lafw: Consistency fixes.

6 years agosr: s/_clear/_remove_all/ for consistency.
Uwe Hermann [Wed, 28 Mar 2012 19:55:48 +0000 (21:55 +0200)]
sr: s/_clear/_remove_all/ for consistency.

6 years agosr: out: Use uint8_t (not char) for buffers.
Uwe Hermann [Wed, 28 Mar 2012 18:00:13 +0000 (20:00 +0200)]
sr: out: Use uint8_t (not char) for buffers.

6 years agosr: Make wrappers honor return values.
Uwe Hermann [Wed, 28 Mar 2012 16:52:17 +0000 (18:52 +0200)]
sr: Make wrappers honor return values.

6 years agosr: Generate ChangeLog from git upon 'make dist'.
Uwe Hermann [Wed, 28 Mar 2012 00:32:52 +0000 (02:32 +0200)]
sr: Generate ChangeLog from git upon 'make dist'.

6 years agosr: fx2lafw: Cosmetics.
Uwe Hermann [Sun, 25 Mar 2012 20:02:19 +0000 (22:02 +0200)]
sr: fx2lafw: Cosmetics.

6 years agosr: fx2lafw: Use SR_PRIV where needed.
Uwe Hermann [Sun, 25 Mar 2012 13:23:31 +0000 (15:23 +0200)]
sr: fx2lafw: Use SR_PRIV where needed.

6 years agosr: fx2lafw: command.h: Add missing include guards.
Uwe Hermann [Sun, 25 Mar 2012 13:21:56 +0000 (15:21 +0200)]
sr: fx2lafw: command.h: Add missing include guards.

6 years agosr: fx2lafw: Cosmetics.
Uwe Hermann [Sun, 25 Mar 2012 13:20:55 +0000 (15:20 +0200)]
sr: fx2lafw: Cosmetics.

6 years agosrd: Some more (optional) consistency renames.
Uwe Hermann [Sun, 25 Mar 2012 13:08:16 +0000 (15:08 +0200)]
srd: Some more (optional) consistency renames.

6 years agosrd/cli/qt: Some more API consistency renames.
Uwe Hermann [Sun, 25 Mar 2012 12:49:11 +0000 (14:49 +0200)]
srd/cli/qt: Some more API consistency renames.

6 years agosrd: PDs: Kill obsolete 'longdesc' entries.
Uwe Hermann [Sun, 25 Mar 2012 07:39:44 +0000 (09:39 +0200)]
srd: PDs: Kill obsolete 'longdesc' entries.

6 years agosr: Build ezusb.c for fx2lafw as well as saleae-logic
Joel Holdsworth [Sun, 25 Mar 2012 18:39:06 +0000 (19:39 +0100)]
sr: Build ezusb.c for fx2lafw as well as saleae-logic

6 years agosalae: Only terminate session after all transfers have been aborted
Joel Holdsworth [Sun, 25 Mar 2012 17:53:54 +0000 (18:53 +0100)]
salae: Only terminate session after all transfers have been aborted

6 years agofx2lafw: Made finish_acquisition a static function
Joel Holdsworth [Sun, 25 Mar 2012 17:52:30 +0000 (18:52 +0100)]
fx2lafw: Made finish_acquisition a static function

6 years agosr: Fix some samplerate fields.
Uwe Hermann [Sat, 24 Mar 2012 21:32:47 +0000 (22:32 +0100)]
sr: Fix some samplerate fields.

6 years agosrd: Add .gitignore file.
Uwe Hermann [Sat, 24 Mar 2012 21:05:59 +0000 (22:05 +0100)]
srd: Add .gitignore file.

6 years agosrd: sigrokdecode.h: Add version macros.
Uwe Hermann [Sat, 24 Mar 2012 18:41:40 +0000 (19:41 +0100)]
srd: sigrokdecode.h: Add version macros.

6 years agosr: sigrok.h: Add version macros.
Uwe Hermann [Sat, 24 Mar 2012 18:42:26 +0000 (19:42 +0100)]
sr: sigrok.h: Add version macros.

6 years agosrd: Rename sigrokdecode.h to sigrokdecode.h.in.
Uwe Hermann [Sat, 24 Mar 2012 16:52:48 +0000 (17:52 +0100)]
srd: Rename sigrokdecode.h to sigrokdecode.h.in.

6 years agosr: Rename sigrok.h. to sigrok.h.in, needed soon.
Uwe Hermann [Sat, 24 Mar 2012 09:03:36 +0000 (10:03 +0100)]
sr: Rename sigrok.h. to sigrok.h.in, needed soon.

6 years agosrd: List 'report()' in all PDs for consistency.
Uwe Hermann [Sat, 24 Mar 2012 08:37:55 +0000 (09:37 +0100)]
srd: List 'report()' in all PDs for consistency.

6 years agofx2lafw: Only terminate session after all transfers have been aborted
Joel Holdsworth [Sat, 24 Mar 2012 10:04:36 +0000 (10:04 +0000)]
fx2lafw: Only terminate session after all transfers have been aborted

6 years agofx2lafw: Removed a line of redundant code
Joel Holdsworth [Sat, 24 Mar 2012 10:07:22 +0000 (10:07 +0000)]
fx2lafw: Removed a line of redundant code

6 years agofx2lafw: Imported software triggering from fx2lafw
Joel Holdsworth [Wed, 21 Mar 2012 20:42:41 +0000 (20:42 +0000)]
fx2lafw: Imported software triggering from fx2lafw

6 years agoqt: Fix for srd_log_handler_set call
Joel Holdsworth [Wed, 21 Mar 2012 21:08:44 +0000 (21:08 +0000)]
qt: Fix for srd_log_handler_set call

6 years agosr: udev: Add missing Hantek DSO-2090 entry.
Uwe Hermann [Wed, 21 Mar 2012 22:42:19 +0000 (23:42 +0100)]
sr: udev: Add missing Hantek DSO-2090 entry.

6 years agosrd: Drop unused inputformats/outputformats entries.
Uwe Hermann [Wed, 21 Mar 2012 21:38:08 +0000 (22:38 +0100)]
srd: Drop unused inputformats/outputformats entries.

6 years agosr/srd: Remove API warnings from READMEs.
Uwe Hermann [Wed, 21 Mar 2012 21:33:51 +0000 (22:33 +0100)]
sr/srd: Remove API warnings from READMEs.

We'll have a libsigrok and a libsigrokdecode release soon. After that,
any API changes must be properly documented and reflected in the
SO version (and package version) numbers of the libs.

6 years agosr: Various fixes in the udev file.
Uwe Hermann [Wed, 21 Mar 2012 21:29:41 +0000 (22:29 +0100)]
sr: Various fixes in the udev file.

6 years agocli: Fix -V/-h output a bit.
Uwe Hermann [Wed, 21 Mar 2012 18:58:56 +0000 (19:58 +0100)]
cli: Fix -V/-h output a bit.

Options and their defaults should not be documented there, but rather in
the manpage or such.

6 years agosr: Enable fx2lafw driver per default.
Uwe Hermann [Wed, 21 Mar 2012 18:45:46 +0000 (19:45 +0100)]
sr: Enable fx2lafw driver per default.

6 years agosrd: Drop ebr30a_i2c_demux in favor of i2cdemux.
Uwe Hermann [Wed, 21 Mar 2012 18:40:07 +0000 (19:40 +0100)]
srd: Drop ebr30a_i2c_demux in favor of i2cdemux.

The i2cdemux protocol decoder is the more generic version of the
obsolete ebr30a_i2c_demux decoder, and should be able (now or later) to do
everything that ebr30a_i2c_demux can do.

6 years agosr/srd: Small fixes, constifications, doc updates.
Uwe Hermann [Wed, 21 Mar 2012 18:28:43 +0000 (19:28 +0100)]
sr/srd: Small fixes, constifications, doc updates.