Difference between revisions of "DreamSourceLab DSLogic"

From sigrok
Jump to navigation Jump to search
Line 59: Line 59:
After firmware is correctly installed, you can see if it's worked like this:
After firmware is correctly installed, you can see if it's worked like this:


<small>
<pre>
sigrok-cli -C 1 --driver=dreamsourcelab-dslogic -c "samplerate=500k" --samples 1k -l 5
sigrok-cli --driver=dreamsourcelab-dslogic -l 5 --scan
</small>
</pre>
 
You should see the driver detected and uploading the firmware
 
<pre>
sr: [00:00.014417] resource: Opened '/usr/local/share/sigrok-firmware/dreamsourcelab-dslogic-basic-fx2.fw'.
sr: [00:00.014454] ezusb: Uploading firmware 'dreamsourcelab-dslogic-basic-fx2.fw'.
sr: [00:00.014972] ezusb: Uploaded 4096 bytes.
sr: [00:00.015481] ezusb: Uploaded 4024 bytes.
sr: [00:00.015492] ezusb: Firmware upload done.
sr: [00:00.015497] ezusb: setting CPU reset mode off...
sr: [00:00.015606] hwdriver: Scan found 1 devices (dreamsourcelab-dslogic).
The following devices were found:
dreamsourcelab-dslogic - DreamSourceLab DSLogic Basic with 16 channels: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
sr: [00:00.015691] hwdriver: Cleaning up all drivers.
</pre>


== Resources ==
== Resources ==

Revision as of 19:59, 11 December 2017

DreamSourceLab DSLogic
DSLogic.png
Status supported
Source code dreamsourcelab-dslogic
Channels 1-16
Samplerate 400MHz(4ch), 200MHz(8ch), 100MHz(16ch)
Samplerate (state) 50MHz
Triggers high, low, rising, falling, edge, multi-stage triggers
Min/max voltage -0.6V — 6V
Threshold voltage configurable: 3.3V, 5V
Memory 32MByte (2MByte/ch)
Compression no
Website dreamsourcelab.com

The DreamSourceLab DSLogic is a 16-channel USB-based logic analyzer, with sampling rates up to 400MHz (when using only 4 channels).

See DreamSourceLab DSLogic/Info for more details (such as lsusb -v output) about the device.

Hardware

Photos

Firmware

In order to use this device with libsigrok the vendor firmare and bitstream files (v0.97) are required.

The easiest method to install those is to use the sigrok-fwextract-dreamsourcelab-dslogic script. It will download the correct files, rename them to the correct filenames as expected by libsigrok and install them.

Example usage:

$ PREFIX=$HOME/sr ./sigrok-fwextract-dreamsourcelab-dslogic

This will install the files into $HOME/sr/share/sigrok-fimware. Without PREFIX, the files will be installed into /usr/local/share/sigrok-firmware by default.

If you want to avoid using the script, you can manually download and rename the files (but check the script for the correct filenames).

Note: Do not use any firmware/bitstream files newer than those linked here (v0.97), they're currently not supported. See bugs #905 and #1063.

After firmware is correctly installed, you can see if it's worked like this:

sigrok-cli --driver=dreamsourcelab-dslogic -l 5 --scan

You should see the driver detected and uploading the firmware

sr: [00:00.014417] resource: Opened '/usr/local/share/sigrok-firmware/dreamsourcelab-dslogic-basic-fx2.fw'.
sr: [00:00.014454] ezusb: Uploading firmware 'dreamsourcelab-dslogic-basic-fx2.fw'.
sr: [00:00.014972] ezusb: Uploaded 4096 bytes.
sr: [00:00.015481] ezusb: Uploaded 4024 bytes.
sr: [00:00.015492] ezusb: Firmware upload done.
sr: [00:00.015497] ezusb: setting CPU reset mode off...
sr: [00:00.015606] hwdriver: Scan found 1 devices (dreamsourcelab-dslogic).
The following devices were found:
dreamsourcelab-dslogic - DreamSourceLab DSLogic Basic with 16 channels: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
sr: [00:00.015691] hwdriver: Cleaning up all drivers.

Resources