Reply to topic  [ 80 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8
Hobby Components USB 8CH 24MHz Logic Analyser (HCTEST0006) 
Author Message

Joined: Mon Mar 20, 2017 8:48 am
Posts: 2
Post Re: Hobby Components USB 8CH 24MHz Logic Analyser (HCTEST000
Thanks for the very fast reply Andrew.

Quote:
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


Mon Mar 20, 2017 4:55 pm
Profile

Joined: Mon May 08, 2017 5:18 pm
Posts: 1
Post Re: Hobby Components USB 8CH 24MHz Logic Analyser (HCTEST000
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:
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:
lsusb -s 4
Bus 003 Device 004: ID 1d50:608c OpenMoko, Inc.


But the device is not found.

Code:
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


Mon May 08, 2017 5:35 pm
Profile
Site Admin

Joined: Sun Aug 05, 2012 4:15 pm
Posts: 779
Post Re: Hobby Components USB 8CH 24MHz Logic Analyser (HCTEST000
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.


Fri May 26, 2017 2:45 pm
Profile

Joined: Mon Sep 25, 2017 5:20 pm
Posts: 1
Post Re: Hobby Components USB 8CH 24MHz Logic Analyser (HCTEST000
The versions from sigrok's git repository work with the latest Linux Mint. Versions used as follows:

Code:
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.


Mon Sep 25, 2017 5:25 pm
Profile

Joined: Mon Jan 01, 2018 6:39 pm
Posts: 2
Post Re: Hobby Components USB 8CH 24MHz Logic Analyser (HCTEST000
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


Mon Jan 01, 2018 6:43 pm
Profile
Site Admin

Joined: Sun Aug 05, 2012 4:15 pm
Posts: 779
Post Re: Hobby Components USB 8CH 24MHz Logic Analyser (HCTEST000
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.


Tue Jan 02, 2018 9:38 am
Profile

Joined: Mon Jan 01, 2018 6:39 pm
Posts: 2
Post Re: Hobby Components USB 8CH 24MHz Logic Analyser (HCTEST000
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


Tue Jan 02, 2018 2:15 pm
Profile
Site Admin

Joined: Sun Aug 05, 2012 4:15 pm
Posts: 779
Post Re: Hobby Components USB 8CH 24MHz Logic Analyser (HCTEST000
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.


Wed Jan 03, 2018 9:20 am
Profile

Joined: Thu Jan 18, 2018 1:44 pm
Posts: 1
Post Re: Hobby Components USB 8CH 24MHz Logic Analyser (HCTEST000
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.


Thu Jan 18, 2018 2:07 pm
Profile
Site Admin

Joined: Sun Aug 05, 2012 4:15 pm
Posts: 779
Post Re: Hobby Components USB 8CH 24MHz Logic Analyser (HCTEST000
Quote:
Does this work with the saleae s/w?


No, our analyser is designed only to work with the SigRok PulseView and cli software.

Quote:
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.


Thu Jan 18, 2018 4:44 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 80 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Thank you to phpBB.com & phpBB.ro.
Design created by Florea Cosmin Ionut.
© 2011 All contents of this site are © Hobby Components LTD