Bug 1049 - Unable to connect DSLogic original/Basic/Plus
Summary: Unable to connect DSLogic original/Basic/Plus
Status: RESOLVED FIXED
Alias: None
Product: sigrok-util
Classification: Unclassified
Component: Util: sigrok-fwextract-dreamsourcelab-dslogic (show other bugs)
Version: unreleased development snapshot
Hardware: All All
: Highest blocker
Target Milestone: ---
Assignee: Nobody
URL:
Keywords:
: 1063 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-10-13 11:21 CEST by Vadim
Modified: 2020-02-27 21:42 CET (History)
5 users (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vadim 2017-10-13 11:21:01 CEST
Hardware: DSLogic Basic
I copied all versions DSLogic*.fw that I find of in dreamsourcelab-dslogic-basic-fx2.fw without success.

PulseView log:
session 1:

sr: ezusb: Unable to send control request: LIBUSB_ERROR_IO.
sr: dreamsourcelab-dslogic: Firmware upload failed for device 3.28 (logical).
sr: dreamsourcelab-dslogic: Expected firmware version 1.x, got 152.4.
sr: dreamsourcelab-dslogic: Unable to open device.

session 2:

sr: ezusb: Unable to send control request: LIBUSB_ERROR_IO.
sr: dreamsourcelab-dslogic: Firmware upload failed for device 3.33 (logical).
sr: dreamsourcelab-dslogic: Expected firmware version 1.x, got 154.8.
sr: dreamsourcelab-dslogic: Unable to open device.
Comment 1 Uwe Hermann 2017-10-13 11:26:31 CEST
Hi, I think the 0.5.0 release didn't fully support that model yet (but I'd have to recheck).

With current git and the files downloaded via this script it should work, though:

https://sigrok.org/gitweb/?p=sigrok-util.git;a=tree;f=firmware/dreamsourcelab-dslogic

(I can double-check later, if needed)
Comment 2 Vadim 2017-10-13 13:14:16 CEST
I can not use the current git because I'm using PulseView for Windows and do not have a compiler.
Comment 3 Uwe Hermann 2017-10-13 13:36:32 CEST
OK, the Windows installers we provide are always based on current git, so that's not a problem then (you're using a relatively recent installer, I assume?).

The installers do *not* include the DSLogic firmware so you have to download and place the files manually.

I'll test on actual hardware on Windows later and check if I can reproduce the issue.
Comment 4 Uwe Hermann 2017-11-02 01:49:13 CET
*** Bug 1063 has been marked as a duplicate of this bug. ***
Comment 5 Uwe Hermann 2017-11-02 01:50:17 CET
I was able to reproduce this on Windows and also Linux, updating info.
Comment 6 Uwe Hermann 2017-11-21 19:27:58 CET
This turned out to be an issue due to upstream (DreamSourceLab) protocol changes in v0.98 firmware. The fix (for now) is to use the v0.97 firmware files with current libsigrok.

The extraction utility in the sigrok-util repo has been fixed in 69747ca48b3d17ac7532439e487b9ba829828cfd.

I've verified that the v0.97 firmware and current libsigrok (git) works fine on DSLogic, DSLogic Basic, and DSLogic Plus.
Comment 7 cq.personal 2019-02-17 08:24:54 CET
hi,

I manually downloaded the 0.97 firmware as indicated in the script (wouldn't run for some reason) and tried the test command:
sigrok-cli --driver=dreamsourcelab-dslogic -l 5 --scan

and this is what I got:
sr: [00:00.050000] backend: Sanity-checking all drivers.
sr: [00:00.051000] backend: Sanity-checking all input modules.
sr: [00:00.052000] backend: Sanity-checking all output modules.
sr: [00:00.054000] backend: Sanity-checking all transform modules.
srd: libsigrokdecode loglevel set to 5.
sr: [00:05.480000] dreamsourcelab-dslogic: Failed to get manufacturer string des
criptor: LIBUSB_ERROR_NOT_FOUND.
sr: [00:05.485000] hwdriver: Scan found 0 devices (dreamsourcelab-dslogic).
sr: [00:05.486000] hwdriver: Cleaning up all drivers.
Comment 8 cq.personal 2019-02-17 08:27:07 CET
.. latest stable PulseView/sigrok-cli installed under WinXP.
Comment 9 amorosik 2019-10-11 19:54:53 CEST
I have the exact same problem
Win 10 pro, 64 bit
PulseView 0.4.1 (64 bit)
Sigrok-cli 0.7.1 (64 bit)
Firmware files as available on branch 69747ca48b3d17ac7532439e487b9ba829828cfd

How can I solve it?
Comment 10 RCinFLA 2020-02-27 21:42:06 CET
I had similar problem with cloan of DSLogic Plus logic analyzer.

Using Win10 Pro 64bit
Loaded latest PulseView (nightly build as of Feb 27,2020)

Put the two fw files ( https://sigrok.org/wiki/DreamSourceLab_DSLogic#Firmware ) in sigrok-firmware sub-directory in /PulseView/share/sigrok-firmware directory.

Missed that the files have to be renamed as stated at top of fw download files table.

'DSLogicPlus.bin' download file rename to 'dreamsourcelab-dslogic-plus-fpga.fw'
'DSLogicPlus.fw' download file rename to 'dreamsourcelab-dslogic-plus-fx2.fw'

Worked fine after renaming fw files.