Reply to topic  [ 71 posts ]  Go to page 1, 2, 3, 4, 5 ... 8  Next
Hobby Components USB 8CH 24MHz Logic Analyser (HCTEST0006) 
Author Message
Site Admin

Joined: Sun Aug 05, 2012 4:02 pm
Posts: 623
Post Hobby Components USB 8CH 24MHz Logic Analyser (HCTEST0006)
Image


Image

Our hugely popular low cost 8 channel analyser (HCTEST0006) is designed to work with the sigrok Open-Source signal analysis software suite giving this analyser a feature list normally found on analysers costing significantly more. When used with the sigrok PulseView software you can capture and decode up to 8 digital channels at a maximum sample rate of 24MHz*. The software includes built in decoders for many types of protocols including CAN, I2C, JTAG, SPI, UART and so on.

Please note that we only support use of this item with sigrok PulseView software and the Cypress development tools. Compatible with Windows XP/Vista/7/8/10 32 & 64 bit.

For more information about sigrok software please visit the sigrok wiki site:

http://sigrok.org/wiki/Main_Page


Image

8 Channel input
24MHz sampling rate
Led power indicator
Led logic level indicator for channel 0
Powered by USB
Sampling depth: 1T

Sampling rates can be set as follows:
24MHz*, 16MHz*, 12MHz*, 8MHz*, 6MHz*, 4MHz*, 2MHz, 1MHz, 500KHz, 250KHz, 200KHz, 100KHz, 50KHz, 25KHz, 20KHz

*Sampling rates at 4MHz and above will be dependent on system performance including the speed of your computer and the USB interface it is connected to.


HCTEST0006
Package contents include:
1 logic analyser device
1 USB cable
10 piece female to female DuPont cable

HCTEST00014
Package contents include:
1 logic analyser device
1 USB cable
10 piece female to female DuPont cable
10 way red Test Hook Clips

HCTEST00015
Package contents include:
1 logic analyser device
1 USB cable
10 piece female to female DuPont cable
10 way yellow Test Hook Clips

HCTEST00021

Package contents include:
1 logic analyser device
1 USB cable
10 piece female to female DuPont cable
40 way 2.54mm pitch Header Strip (will require soldering to the clips)
2 x Red Test Clips
2 x Blue Test Clips
2 x Green Test Clips
2 x Yellow Test Clips
2 x Black Test Clips


Sigrock PulseView Software:

UART Example:
Image

Decoders:
Image

JTAG Example:
Image

Real Time Clock Example:
Image

ARM ETMv3 Example:
Image

EEPROM Example:
Image

Z80 Example:
Image


Example: Debuging SPI interface on an Uno+

Image





Image


Don't forget to check out out low cost analyser test clips that work great with this analyser.




Windows Users:


The Sigrok software (PulseView and sigrok-cli) have been tested with the Windows 7, 8, & 10. Please note that for 64 bit versions of Windows you will need to temporally disable Windows signed driver enforcement before installing the drivers provided below.

To temporally disable windows signed driver enforcement (only required for 64 bit versions of Windows) you will need to reboot your computer:

In Windows 8 & 10 hold down the shift key whilst selecting the reboot option on the Windows start menu. In the options that open up select 'Troubleshoot', then 'Advanced options' then 'Start-up Settings'. Next hit the restart button. Your computer will now reboot and will then present you with a list of options. Select option 7 'Disable driver signature enforcement'. Your computer will now reboot.

In Windows 7 simply restart your computer and press F8 as Windows starts to reboot to get the Advanced boot options menu. Use your cursor keys to highlight the option 'Disable Driver Signature Enforecement' then then hit the enter key to continue booting.

You can now install the drivers. The next time you reboot Windows signed driver enforcement will be automatically re-enabled.





Sigrok software:

The latest versions of the sigrok software can be downloaded from the sigrok website (sigrok.org). A latest windows build of the PulseView software can be downloaded here:

http://sigrok.org/jenkins/job/sigrok-cr ... taller.exe



Drivers:

PLEASE NOTE: If you are experiencing problems installing the drivers please follow the guide at the bottom of this post. If it fails to resolve your issue then please contact support (at) hobbycomponents.com with your order number and we will try to resolve your issue.

As of 04/12/20015 we are now shipping this logic analyser with the Sigrok USB vendor and peripheral id (VID:1D50 PID:608C). If you purchased your analyser after this date then please try the following driver first:

http://hobbycomponents.com/downloads/HC ... Driver.zip

Analysers purchased before this date are shipped with the defualt Cypress VID and PID (VID:04B4 PID:8613). For devices with this ID please use the following driver:

Windows 32/64 bit drivers for the analyser can be downloaded here:

http://hobbycomponents.com/downloads/HC ... Driver.zip



Should you wish to re-flash or develop your own code for this analyser you can download the Cypress development tools directly from the Cypress website here:

http://www.cypress.com/?rID=14321



Solving USB problems:

If you are experiencing USB problems or problems with installing the driver there are a number of possible causes:

1) When first plugging the analyser into your computer it should appear as an 'Unknown Device'. If it fails to appear check the following:

Make sure the analyser is plugged directly into a USB port on your computer and not via a hub. If there are any unnecessary devices plugged into other ports then remove them and try again.

One of the most common causes of USB problems is the USB cable itself. If possible try a different USB cable.


2) If you are using a 64bit versions of windows 7 or above you may need to disable windows signed driver enforcement as it way interfere with the driver installation:

In windows 7 you can simply reboot and then press F8 as Windows begins to reboot to get the windows boot menu. Within this menu there is an option to temporarily disable driver enforcement. Select this option and then continue booting into windows and try again.

In Windows 8 & 10 hold down the shift key whilst selecting the reboot option on the Windows start menu. In the options that open up select 'Troubleshoot', then 'Advanced options' then 'Start-up Settings'. Next hit the restart button. Your computer will now reboot and will then present you with a list of options. Select option 7 'Disable driver signature enforcement'. Your computer will now reboot.


3) Check that the driver installed properly:

Open up device manager. If the driver installed properly you should see it listed as 'Hobby Components - Sigrok 8ch Analyser'.

Check that there is no warning icon next to it. Right click on it and select 'Properties'. In the window that opens up under the 'General' tab and check to see if there are any errors reported. Note that if you are using a 64bit version of windows and you installed the driver with driver enforcement enabled the driver may have not installed correctly but may still not show any errors.

Next click the 'Details' tab and in the drop-down box select 'Hardware Ids'. In the 'Value' window check that you see a VID value of 1D50 & PID of 608C.If you don't see these values then please constant us.

If you see any errors try reinstalling the driver but first remove the currently installed driver by:

In device manager right click the analyser and select 'Uninstall'. In the window that opens up click the 'Delete driver software for this device' checkbox and then click the OK button to uninstall the driver. If you installed the driver more than once you may need to repeat this step to remove every version. If you are using a 64bit version of Windows 7/8/10 then please pay attention to step 2.


4) If the above steps fail you can try to force a driver install using Zidag installer that comes as part of PulseView. It should be located in: C:\Program Files\sigrok\PulseView\zadig.exe

Run this program and a driver install window will pop up. In the drop down box you should be able to see the analyser. If not select Options->List all devices and try the drop down box again. When you select the device you can confirm that you have the right one selected by checking that the USB ID text box is showing the correct VID and PID (1D50 & 608C). Also make sure you have WinUSB (v6.1.xxx.xxxxx) selected for the driver type and then click the 'Install WCID Driver button'. This will force install a driver for the analyser.


5) If after checking the above steps and the driver appears to have installed properly but the Analyser is not appearing in PulseView, or PulseView is reporting an error please supply us with a log file by following these steps:

Download and install the command line version of the sigrok software here:

http://sigrok.org/jenkins/job/sigrok-cr ... taller.exe

Open up a Windows command window and type the following with the Analyser plugged in:

c:\Program Files\sigrok\sigrok-cli\sigrok-cli -d fx2lafw -c samplerate=1mhz --samples 1m -o c:\test\foo.sr -l 5

Where c:\test should be an empty directory where you have write permissions. The path to where you have the sigrok cli installed may vary depending on your version of Windows.

Please cut and past the log that appears in the command window.





Linux Users:

Please note that due the wide range of Linux distributions and setups we are unable to provide support for the Linux version of the Sigrok software. Also we do not provide any guarantees that the following guide will work for your setup. This guide was tested on a clean Ubuntu (Debian) install.


Step 1: Follow all the instructions to install the Sigrok software from the following Sigrok webpage here:

http://sigrok.org/wiki/Linux

Make sure you follow all the steps for your version of Linux to install the following software libserialport, libsigrok, libsigrokdecode, sigrok-cli, & PulseView


Step 2: You will now need to add a USB VID/PID entry into the udev rules file (z60_libsigrok.rules) for the logic analyser. If you downloaded the Sigrok files in the above step to your home folder then the required file will be in a location similar to this:

/home/username/libsigrok/contrib/

Open the file called z60_libsigrok.rules in a text editor.

The last line should look like this:

Code:
LABEL="libsigrok_rules_end"


Add following lines just above the last line and then save the file:

Code:
#Hobby Components 8 channel logic analyser (HCTEST0006)
#& 16 channnel logic analyser (HCTEST0022)
ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="608c", MODE="664", GROUP="plugdev"
ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="608d", MODE="664", GROUP="plugdev"



Next copy this file to the following path:

Code:
[/etc/udev/rules.d/ (or where-ever your distribution stores udev rules files).


Check the permissions on this file by typing ls -l and make sure it's accessible by the group 'plugdev'

Restart udev with the following:

Code:
sudo /etc/init.d/udev restart



Step 3:
You will to install the fx2lafw firmaware which is used by the analyser. Instructions on how to build the firmware can be found here:

http://sigrok.org/wiki/Linux

However, there are also pre-built versions of the file which can be downloaded from here:

http://sigrok.org/download/binary/sigrok-firmware-fx2lafw/

Simply download the latest version and un-compress the files to the following location:

Code:
/home/username/.local/share/sigrok-firmware



Step 4: If everything has installed correctly you should be able to run PulseView by simply typing:

Code:
pulseview



If you get an generic error or an error stating that the analyser cannot be found/firmware cannot be uploaded, try rebooting your system. If this doesn't resolve the problem run the following sigrok-cli command which will provide more information and may give you a clue as to what is causing the issue:

Code:
sigrok-cli -d fx2lafw -c samplerate=1mhz --samples 1m -o foo.sr -l 5


Thanks to Chris Blood for help in getting the Linux version working.


Fri Aug 23, 2013 5:08 pm
Profile
Post Re: Hobby Components USB 8CH 24MHz Logic Analyser (HCTEST000
Can you please post connector details? There are 8 channels but 10 pins. Which pin is used for the ground connection? The label on the case is not very clear.

Thank you,

Mark


Sat Aug 24, 2013 10:18 am
Site Admin

Joined: Sun Aug 05, 2012 4:15 pm
Posts: 620
Post Re: Hobby Components USB 8CH 24MHz Logic Analyser (HCTEST000
The pinout is as follows:

Pin 1....CH1 Pin2....CH2
Pin 3....CH3 Pin4....CH4
Pin 5....CH5 Pin6....CH6
Pin 7....CH7 Pin8....CH8
Pin 9....GND Pin10...GND

Pin 1 is nearest to the power LED


Sat Aug 24, 2013 2:15 pm
Profile

Joined: Thu Sep 05, 2013 8:33 pm
Posts: 7
Post Re: Hobby Components USB 8CH 24MHz Logic Analyser (HCTEST000
Just bought this - what a great bit of kit! Wish I'd know about this months ago. It works perfectly with the (you know what!) 1.1.18 beta software.
Although I'm very happy with it in default mode and won't want to change it's identity now, apparently if you DO want to do this, HC tell me that this page has some details about doing this http://www.jwandrews.co.uk/2011/12/sale ... ogramming/
Everyone should get one of these - especially if you're fiddling with SPI bus between Raspberry PI and Arduino.


Fri Sep 06, 2013 9:06 am
Profile

Joined: Thu Feb 20, 2014 7:22 am
Posts: 2
Post Re: Hobby Components USB 8CH 24MHz Logic Analyser (HCTEST000
I would dearly like to know HOW to make the Logic Analyser work with the (you know what!) 1.1.18 beta software.

When I plug the unit into a USB socket on my windows 7 box, it fails to recognise the device.

The beta software runs (but shows 'disconnected'). I cannot work out how to 'connect' it.

The Analyser isn't completely dead, as the power light comes on when connected to USB.

Also, I get a flash on the CH1 LED when I pulse the CH1 input

I looks to me like the USB side of the device is faulty.

Any advice or suggestions, please.


Thu Feb 20, 2014 7:30 am
Profile
Site Admin

Joined: Sun Aug 05, 2012 4:15 pm
Posts: 620
Post Re: Hobby Components USB 8CH 24MHz Logic Analyser (HCTEST000
The most common cause of USB problems is a faulty USB cable. It is also the easiest to debug (assuming you have a spare). If you do have a spare micro USB cable can you try it. Also if you are using a hub can make sure to plug it directly into the USB port of the computer and not via a hub.


Thu Feb 20, 2014 8:31 am
Profile

Joined: Thu Feb 20, 2014 7:22 am
Posts: 2
Post Re: Hobby Components USB 8CH 24MHz Logic Analyser (HCTEST000
Hi Andrew,

Thank you for the reply.

That's it. I was connecting via a USB 3.0 Hub.

When I plugged directly into one of the computers USB Ports, it was recognised, and is now working.

Any idea why it will not work via a USB Hub?
Computers never seem to have enough USB ports, making a Hub almost a necessity.

Best Wishes
David


Thu Feb 20, 2014 12:12 pm
Profile
Site Admin

Joined: Sun Aug 05, 2012 4:15 pm
Posts: 620
Post Re: Hobby Components USB 8CH 24MHz Logic Analyser (HCTEST000
Glad to hear you got it working. USB hubs can cause all sorts of problems because they are not only extending the length of of USB cables, but also because they have to share the bandwidth with other devices plugged into them. For un-powered USB hubs they also have to share the power from just one USB port on your computer. If this problem happens even if you are not capturing data from the analyser it is most likely something to do with cable length, power, or a bad connection. If it appears to 'drop out' when capturing data it may be a bandwidth issue. You may not notice this problem with lower power, lower bandwidth devices such as keyboards or mice. Some things to check are if your HUB powered or un-powered and if it is a V1.0 or V2.0 USB hub.


Thu Feb 20, 2014 4:08 pm
Profile

Joined: Wed Feb 26, 2014 12:38 pm
Posts: 2
Post Re: Hobby Components USB 8CH 24MHz Logic Analyser (HCTEST000
Just bought one of these. I would like to know what the threshold and safe positive and negative input levels are for this device.


Tue Mar 25, 2014 11:59 am
Profile
Site Admin

Joined: Sun Aug 05, 2012 4:15 pm
Posts: 620
Post Re: Hobby Components USB 8CH 24MHz Logic Analyser (HCTEST000
The analyser uses an NXP 74HC245 transceiver as a buffer. This will run from the 5V USB power rail so you can reference the threshold levels and safe operating ranges from the NXP datasheet here:

http://www.nxp.com/documents/data_sheet/74HC_HCT245.pdf

Edit: The 74HC245 is powered from the 3.3V rail not 5V. It includes 100R resistors to allow it to interface with 5V logic.


Last edited by andrew on Thu Mar 27, 2014 1:29 pm, edited 1 time in total.



Tue Mar 25, 2014 5:38 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 71 posts ]  Go to page 1, 2, 3, 4, 5 ... 8  Next

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:  
Thank you to phpBB.com & phpBB.ro.
Design created by Florea Cosmin Ionut.
© 2011 All contents of this site are © Hobby Components LTD