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

Hobby components test equipment
frankchannel
Posts: 2
Joined: Mon Mar 20, 2017 8:48 am

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

Post by frankchannel » Mon Mar 20, 2017 4:55 pm

Thanks for the very fast reply Andrew.
I do notice from the sigrok-cli scan that it is complaining that it can't find the firmware file (fx2lafw-sigrok-fx2-8ch.fw). This is the firmware that gets transferred into the analysers RAM when Sigrock first initialises the analyser.

Do you have this file on your computer? If not you may want to take a look at step 3 in the Linux install guide in the first post of this thread.
This was indeed the problem. After downloading the .fw file, it is working.

Thanks again :D

DavePS
Posts: 1
Joined: Mon May 08, 2017 5:18 pm

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

Post by DavePS » Mon May 08, 2017 5:35 pm

I am trying to get the this working on Ubuntu 17.04

I have installed the sigrok package, which seems to be up to date and followed the instructions on page 1 of the thread. I seem to be in the same position as Anthony on page 6.

Code: Select all

sigrok-cli -V
sigrok-cli 0.5.0

Using libsigrok 0.3.0 (lib version 2:0:0).
Using libsigrokdecode 0.3.0 (lib version 2:0:0).
The USB id is OK

Code: Select all

lsusb -s 4
Bus 003 Device 004: ID 1d50:608c OpenMoko, Inc.
But the device is not found.

Code: Select all

sigrok-cli -d fx2lafw -c samplerate=1mhz --samples 1m -o foo.sr -l 5
sr: libsigrok loglevel set to 5.
sr: backend: Sanity-checking all drivers.
sr: backend: Sanity-checking all input modules.
sr: backend: Sanity-checking all output modules.
srd: libsigrokdecode loglevel set to 5.
sr: hwdriver: Initializing driver 'fx2lafw'.
sr: hwdriver: Scan of 'fx2lafw' found 0 devices.
No devices found.
Has anyone had success with this on Ubuntu & can give any pointers to get it working?

Thanks

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

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

Post by andrew » Fri May 26, 2017 2:45 pm

Due to the large range of configurations and versions of Linux I'm afraid we cannot support use of the analyser with Linux. Hence why it is only advertised to work with Windows. However we did have success in getting it to work with a clean install of Ubuntu Linux and posted a guide in the first post of this thread. Did you try following this guide rather than the one on the Sigrok site?
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.

topquark
Posts: 1
Joined: Mon Sep 25, 2017 5:20 pm

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

Post by topquark » Mon Sep 25, 2017 5:25 pm

The versions from sigrok's git repository work with the latest Linux Mint. Versions used as follows:

Code: Select all

topquark@L1 ~ $ uname -a
Linux L1 4.8.0-53-generic #56~16.04.1-Ubuntu SMP Tue May 16 01:18:56 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
topquark@L1 ~ $ sigrok-cli -V
sigrok-cli 0.8.0-git-7c765fc

Libraries and features:
- libsigrok 0.6.0-git-f05600f/4:0:0 (rt: 0.6.0-git-f05600f/4:0:0).
 - Libs:
  - glib 2.48.2 (rt: 2.48.2/4802:2)
  - libzip 1.0.1
  - libserialport 0.1.1/1:0:1 (rt: 0.1.1/1:0:1)
  - libusb-1.0 1.0.20.11004
  - libftdi 1.2
  - Host: x86_64-pc-linux-gnu, little-endian.
  - SCPI backends: TCP, RPC, serial, USBTMC.
- libsigrokdecode 0.6.0-git-5b2595b/4:0:0 (rt: 0.6.0-git-5b2595b/4:0:0).
 - Libs:
  - glib 2.48.2 (rt: 2.48.2/4802:2)
  - Python 3.5.2 / 0x30502f0 (API 1013, ABI 3)
  - Host: x86_64-pc-linux-gnu, little-endian.
topquark@L1 ~ $ gcc --version
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

topquark@L1 ~ $ ls -al /usr/local/lib
total 31344
drwxr-xr-x  6 root root     4096 Sep 24 12:53 .
drwxr-xr-x 10 root root     4096 Jun 29 12:11 ..
drwxr-xr-x  2 root root     4096 Sep 21 22:45 jni
-rw-r--r--  1 root root  3077466 Sep 24 12:53 libavrdude.a
-rwxr-xr-x  1 root root      938 Sep 24 12:53 libavrdude.la
lrwxrwxrwx  1 root root       19 Sep 24 12:53 libavrdude.so -> libavrdude.so.1.0.0
lrwxrwxrwx  1 root root       19 Sep 24 12:53 libavrdude.so.1 -> libavrdude.so.1.0.0
-rwxr-xr-x  1 root root  1654312 Sep 24 12:53 libavrdude.so.1.0.0
-rw-r--r--  1 root root   323364 Sep 21 22:41 libserialport.a
-rwxr-xr-x  1 root root      975 Sep 21 22:41 libserialport.la
lrwxrwxrwx  1 root root       22 Sep 21 22:41 libserialport.so -> libserialport.so.0.1.0
lrwxrwxrwx  1 root root       22 Sep 21 22:41 libserialport.so.0 -> libserialport.so.0.1.0
-rwxr-xr-x  1 root root   201120 Sep 21 22:41 libserialport.so.0.1.0
-rw-r--r--  1 root root  8300996 Sep 21 22:45 libsigrok.a
-rw-r--r--  1 root root  7134776 Sep 21 22:45 libsigrokcxx.a
-rwxr-xr-x  1 root root     1142 Sep 21 22:45 libsigrokcxx.la
lrwxrwxrwx  1 root root       21 Sep 21 22:45 libsigrokcxx.so -> libsigrokcxx.so.4.0.0
lrwxrwxrwx  1 root root       21 Sep 21 22:45 libsigrokcxx.so.4 -> libsigrokcxx.so.4.0.0
-rwxr-xr-x  1 root root  4052728 Sep 21 22:45 libsigrokcxx.so.4.0.0
-rw-r--r--  1 root root   399992 Sep 21 22:46 libsigrokdecode.a
-rwxr-xr-x  1 root root     1026 Sep 21 22:46 libsigrokdecode.la
lrwxrwxrwx  1 root root       24 Sep 21 22:46 libsigrokdecode.so -> libsigrokdecode.so.4.0.0
lrwxrwxrwx  1 root root       24 Sep 21 22:46 libsigrokdecode.so.4 -> libsigrokdecode.so.4.0.0
-rwxr-xr-x  1 root root   227880 Sep 21 22:46 libsigrokdecode.so.4.0.0
-rwxr-xr-x  1 root root     1059 Sep 21 22:45 libsigrok.la
lrwxrwxrwx  1 root root       18 Sep 21 22:45 libsigrok.so -> libsigrok.so.4.0.0
lrwxrwxrwx  1 root root       18 Sep 21 22:23 libsigrok.so.3 -> libsigrok.so.3.0.0
-rwxr-xr-x  1 root root  2618288 Sep 21 22:23 libsigrok.so.3.0.0
lrwxrwxrwx  1 root root       18 Sep 21 22:45 libsigrok.so.4 -> libsigrok.so.4.0.0
-rwxr-xr-x  1 root root  4042752 Sep 21 22:45 libsigrok.so.4.0.0
drwxr-xr-x  2 root root     4096 Sep 21 22:46 pkgconfig
drwxrwsr-x  4 root staff    4096 Jun 29 12:17 python2.7
drwxrwsr-x  3 root staff    4096 Jun 29 12:13 python3.5
topquark@L1 ~ $ pulseview -V
PulseView 0.5.0-git-83b9c07


Hope that helps, Martin.

g0mgx
Posts: 2
Joined: Mon Jan 01, 2018 6:39 pm

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

Post by g0mgx » Mon Jan 01, 2018 6:43 pm

Hi All

I am new to the world of Hobby Components and have just started to use the 8 channel Logic Analyser.

I am running Windows 7 on a i5-4570 CPU at 3.2GHz with 16GB RAM. My LA is connected using a motherboard USB3.

I am finding that at high speeds (over 5 MHz), samples are being missed quite consistently - by that I mean it looks like there is something interrupting the acquisition of signals at a regular interval.

Can anyone help with this issue or perhaps explain the minimum spec to get the 24MHz advertised sample rate?

Very grateful for any pointers.

Mark

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

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

Post by andrew » Tue Jan 02, 2018 9:38 am

Anything over a 4MHz sample rate does start to depend on system performance but I wouldn't expect to see a problem with a system specification like yours. Can I check the following things with you:

Do you have the analyser connected to a USB hub or is there anything else connected to USB interface that could also be using a lot of the bandwidth such as a webcam etc?

Could you give me more information about how you are determining samples are being lost? Would a screen grab of a captured signal show this?

Is the frequency of the data you're capturing much lower than the sample rate?

Does the problem get worse or better if you increase the sample rate?
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.

g0mgx
Posts: 2
Joined: Mon Jan 01, 2018 6:39 pm

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

Post by g0mgx » Tue Jan 02, 2018 2:15 pm

Hi Andrew

Thanks for the reply; I suspect what I am trying to do may be impossible and I am suffering from confusion of terminology but can certainly provide screenshots if you think it worthwhile.

I am trying to decode an SPI bus which has a clock speed of 18MHz, having seen an incorrect number of bus cycles captured by the LA (my 'scope clearly captures 16 but the LA consistently less), initially I am just testing the capture rate by connecting one of the digital lines to a signal generator running at 18MHz with a square wave +ve output.

I think some simple maths tells me that the necessary sample rate for an 18MHz signal is twice this i.e. 36MHz assuming B = Fs/2.

Hence I think my application is beyond the spec of the device and comms capabilities of a simple USB LA without internal buffering of some kind.

Mark
G0MGX

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

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

Post by andrew » Wed Jan 03, 2018 9:20 am

Yes you are correct. Setting the sample rate to 4M simply means the analyser will take 4 million measurements every second. Your test signal cycles high then low 18 million times a second. So as you have worked out you'd need a sample rate of at least twice that to capture the signal. Unfortunately is beyond the capabilities of the analyser.
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.

Fancellu
Posts: 3
Joined: Thu Jan 18, 2018 1:44 pm

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

Post by Fancellu » Thu Jan 18, 2018 2:07 pm

Does this work with the saleae s/w?

I've read online that it does, and seen videos for similar units, but doesn't seem to work for me. I just get disconnected

https://www.youtube.com/watch?v=rR5cEFRO9_s&t=388s

Just wondering if I need something extra installing, if it ever worked etc

Also, on another subject, how would I get the i2c decode to emit ascii chars

https://sigrok.org/wiki/Protocol_decoder:I2c

I get lots of hex, but seeing as ascii would be useful

Thanks.

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

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

Post by andrew » Thu Jan 18, 2018 4:44 pm

Does this work with the saleae s/w?
No, our analyser is designed only to work with the SigRok PulseView and cli software.
Also, on another subject, how would I get the i2c decode to emit ascii chars
I don't think there is any way to do this other than writing your own decoder or modifying the existing decoder for PluseView. Most of the data passed over an I2C bus tends not to be ascii data so I guess this is why this option isn't implemented.
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.

Post Reply

Return to “Test Equipment”