Hobby Components USB 8CH 24MHz Logic Analyser (HCTEST0006)

Test equipments and accessories
marl_scot
Posts: 1
Joined: Mon Sep 24, 2018 9:31 pm

Re: Hobby Components USB 8CH 24MHz Logic Analyser (HCTEST0006)

Post by marl_scot » Mon Sep 24, 2018 9:45 pm

Tried creating a new topic, so this wouldn't get lost in the number of replies, but am unable to.
Admin, if possible could you re-post this as a separate topic for this board?

Installing Hobby Components USB 8CH Logic analyser on a Raspberry Pi


Using Raspbian GNU/Linux 9

log into the pi via SSH/GUI

If using the GUI, then open a terminal.

type :

Code: Select all

sudo apt-get install autoconf autoconf-archive automake check cmake default-jdk doxygen g++ gcc git-core libboost-filesystem-dev libboost-serialization-dev libboost-system-dev libboost-test-dev libftdi1-dev libglib2.0-dev libglibmm-2.4 dev libqt5svg5-dev libtool libusb-1.0-0-dev libzip-dev make pkg-config python3-dev python-dev python-gi-dev python-numpy python-setuptools qtbase5-dev swig wget sdcc
If you get an Java error 'error 4' or message like 'ca-certificates-java' failed to install correctly, then type :

Code: Select all

ln /usr/lib/jvm/java-8-openjdk-armhf/jre/lib/arm/client /usr/lib/jvm/java-8-openjdk-armhf/jre/lib/arm/server -s
(thats a lower case L followed by a lower case N)

and then repeat the above apt-get command (apt will carry on from where it was).

Follow the instructions on this page https://sigrok.org/wiki/Linux to compile the software, I have included the commands below to make it easier for copy/paste

Code: Select all

cd ~
git clone git://sigrok.org/libserialport
cd libserialport
./autogen.sh
./configure
make
sudo make install

Code: Select all

cd ~
git clone git://sigrok.org/libsigrok
cd libsigrok
./autogen.sh
./configure
make
sudo make install

Code: Select all

cd ~
git clone git://sigrok.org/libsigrokdecode
cd libsigrokdecode
./autogen.sh
./configure
make
sudo make install

Code: Select all

cd ~
git clone git://sigrok.org/sigrok-cli
cd sigrok-cli
./autogen.sh
./configure
make
sudo make install

Code: Select all

cd ~
git clone git://sigrok.org/pulseview
cd pulseview
cmake .
make
sudo make install

Code: Select all

cd ~
git clone git://sigrok.org/sigrok-firmware-fx2lafw
cd sigrok-firmware-fx2lafw
./autogen.sh
./configure
make
make install

Code: Select all

cd ~
sudo cp libsigrok/contrib/60-libsigrok.rules  /etc/udev/rules.d/
sudo cp libsigrok/contrib/61-libsigrok-plugdev.rules /etc/udev/rules.d/
Reboot the Raspberry Pi
To run the software, open a terminal and type :

Code: Select all

pulseview
In the pulseview software, click on the device menu, on my install this defaulted to 'Demo Driver'

This will show a 4 step dialog :
Step 1 : You should select the 'fx2lafw' driver
Step 2 : Make sure 'USB' is selected
Step 3 : Click on 'Scan for devices using the driver above'
Step 4 : Select the 'sigrok FX2 LA (8ch) with 8 channels' device
and click 'OK'

You should now be able to use the logic probe and the software :)

andrew
Site Admin
Posts: 796
Joined: Sun Aug 05, 2012 4:15 pm

Re: Hobby Components USB 8CH 24MHz Logic Analyser (HCTEST0006)

Post by andrew » Tue Sep 25, 2018 9:03 am

Thanks very much for taking the trouble to create this guide. The ability to create a new topic is disabled in the product sections of the forum to stop these sections from getting cluttered with duplicate threads. However as this is a really useful guide I've now added it to the bottom of the first post so that its easy to find. Thanks again.
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.

Post Reply