This example shows how to use sigrok-cli to capture 1k samples at 500khz on channels 0 and 1, with voltage threshold of 2.5v Sigrok-cli -driver=dreamsourcelab-dslogic -show Use -show to fetch the current available options Sr: hwdriver: Scan found 1 devices (dreamsourcelab-dslogic).ĭreamsourcelab-dslogic - DreamSourceLab DSLogic Basic with 16 channels: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Sr: ezusb: Uploading firmware 'dreamsourcelab-dslogic-basic-fx2.fw'. Sr: resource: Opened '/usr/local/share/sigrok-firmware/dreamsourcelab-dslogic-basic-fx2.fw'. You should see the driver detected and uploading the firmware Sigrok-cli -driver=dreamsourcelab-dslogic -l 5 -scan You have to place the files into the sigrok-firmware sub-directory of where-ever you installed sigrok-cli or PulseView.Īfter firmware is correctly installed, you can see if it's worked like this: If you want to avoid using the script, you can manually download and rename the files as follows: Without PREFIX, the files will be installed into /usr/local/share/sigrok-firmware by default. This will install the files into $HOME/sr/share/sigrok-fimware. It will download the correct files, rename them to the correct filenames as expected by libsigrok and install them. The easiest method to install those is to use the sigrok-fwextract-dreamsourcelab-dslogic script. Installing firmware files via a bash script In order to use this device with libsigrok the vendor firmare and bitstream files (v0.97) are required.
0 Comments
Leave a Reply. |