Author Topic: eBay clone Saleae Logic 16  (Read 33967 times)

0 Members and 1 Guest are viewing this topic.

Offline g0mgxTopic starter

  • Regular Contributor
  • *
  • Posts: 69
  • Country: gb
eBay clone Saleae Logic 16
« on: January 15, 2018, 09:06:02 am »
Hi Gang

I've just bought myself an eBay sourced Saleae Logic 16. I use Win 7 and it appears listed in Device Manager as "Saleae Logic16 USB Logic Analyzer", but when I try to use the device in PulseView it is listed in the device dropdown menu, but selecting it results in "No Device" remaining as the selection.

I've read the Wiki for what may (or may not) be the device I have, but it's very Linux based and rather scary:

https://sigrok.org/wiki/Mcupro_Logic16_clone

I've attached an image of the device plus a shot of my device manager entries.

Can anyone here explain to me how to get this to work or perhaps if this is even possible? I'd rather hoped it would just "plug and play", but clearly there's more to it than that  :(





Thanks for any pointers!

Mark
G0MGX
 

Offline 1anX

  • Regular Contributor
  • *
  • Posts: 195
  • Country: au
Re: eBay clone Saleae Logic 16
« Reply #1 on: January 15, 2018, 09:18:09 am »
I never had much joy with Sigrok and Pulseview so I went here and downloaded Saleae software. Works really well!
https://www.saleae.com/downloads
 

Offline glarsson

  • Frequent Contributor
  • **
  • Posts: 814
  • Country: se
Re: eBay clone Saleae Logic 16
« Reply #2 on: January 15, 2018, 09:22:26 am »
Saleae has made it very clear in their license agreement tha you are not supposed to use a clone with their proprietary software. Go get the Sigrok instead.
The Saleae license is not relevant as Pulseview is part of Sigrok.
 

Offline g0mgxTopic starter

  • Regular Contributor
  • *
  • Posts: 69
  • Country: gb
Re: eBay clone Saleae Logic 16
« Reply #3 on: January 15, 2018, 12:59:27 pm »
I never had much joy with Sigrok and Pulseview so I went here and downloaded Saleae software. Works really well!
https://www.saleae.com/downloads

Does this have the same decode capability as the Sigrok PulseView software?

I'll check it out - but am concerned about licensing.

Mark
 

Offline cdev

  • Super Contributor
  • ***
  • !
  • Posts: 7350
  • Country: 00
Re: eBay clone Saleae Logic 16
« Reply #4 on: January 15, 2018, 02:01:20 pm »
Have you installed the fx2la "firmware blob"?  You dont have to build it, you can install it in other ways. The easiest is via a package manager.

That is the way to get pulseview working.

If you are using Windows I am not at all familiar with how it works but I can help you get that working on Linux.

This should be an FAQ. Sigrok is open source and works well.




Saelae is one of a multitude of companies that make similar hardware based on the original FX2 dev board.

When FX2 chips came out the manufacturer (Altera) had a demo logic analyzer implemented in software for it - the board uploads its firmware when its started.

Several companies implemented hardware based on that design, using pretty colors, nice grabbers,  etc, to increase value.

Their hardware in some cases was quite nice but - the Saellae Logic 8 even -  cost well over a hundred dollars!

Way too expensive for me, so I bought a cheap LA and used it with Sigrok. Which has always worked well for me.

IMHO people should look for FX2-LP ones using keywords like "FX2LP Development Board" , "CY7C68013A" "EZ-USB" etc.

Not the brand names of companies who in reality are not the manufacturers..

the Sigrok software is quite a bit the equal of the closed source brands. Plus its free. There really is no area where its not a good choice.

If you want to use a commercial logic analyzer with your generic hardware you should look into the USBee software which you can buy and they will give you support. You can use it with a generic hardware. So then you have bought the tool so you can get both an affordable price and they seem to sell it based on an argument that they offer a more polished user experience.

They have a good reputation. Since I have not found myself really needing that yet Ive held off to see how it works for them. But I may buy the USBee software in the future.


« Last Edit: January 15, 2018, 02:52:32 pm by cdev »
"What the large print giveth, the small print taketh away."
 

Offline abraxa

  • Frequent Contributor
  • **
  • Posts: 377
  • Country: de
  • Sigrok associate
Re: eBay clone Saleae Logic 16
« Reply #5 on: January 15, 2018, 02:35:24 pm »
g0mgx, you can find a "debug build" on the sigrok download page: https://sigrok.org/wiki/Downloads

When you run this debug build, you will see the debug output in a console window (you may have to run it with parameter "-l 5" to enable the log output, not sure atm). That should help figuring out why the hardware won't initialize as it should.

There are a lot such clones out there and we don't support all of them yet, it unfortunately really depends.

Also, did you use Zadig to switch drivers? You may have to do that before running PulseView, it was installed with sigrok. (I'm not a Windows guy, so my memory is a little hazy regarding this detail.)
 

Offline g0mgxTopic starter

  • Regular Contributor
  • *
  • Posts: 69
  • Country: gb
Re: eBay clone Saleae Logic 16
« Reply #6 on: January 15, 2018, 03:58:22 pm »
Have you installed the fx2la "firmware blob"? 

I believe so as I also have the HobbyComponents logic analyser and that works fine.

http://hobbycomponents.com/testing/243-hobby-components-usb-8ch-24mhz-8-channel-logic-analyser

I've already watched that video and that was the inspiration for purchasing this clone of the Logic 16 as my Hobby Components device just doesnt sample fast enough for my needs and I understand this clone includes some buffering/memory on board and can sample much faster speeds.

Mark
 

Offline g0mgxTopic starter

  • Regular Contributor
  • *
  • Posts: 69
  • Country: gb
Re: eBay clone Saleae Logic 16
« Reply #7 on: January 15, 2018, 04:02:31 pm »
If you are using Windows I am not at all familiar with how it works but I can help you get that working on Linux.

That sounds like a fine plan - I am a Linux noob - but have just done a fresh Debian 9 install on a spare PC I have here so am all ears....

I will start by trying to install SIgrok but that doesnt seem to work with apt-get which says it's been superseded by Sigrok-cli - so I guess I have fallen at the first hurdle  |O

I am very grateful for the help so far!

Mark
G0MGX
 

Offline plazma

  • Frequent Contributor
  • **
  • Posts: 472
  • Country: fi
    • Homepage
Re: eBay clone Saleae Logic 16
« Reply #8 on: January 15, 2018, 04:38:52 pm »
I bought one looking like this and it woked as specified. Works with an older version of Saleae and Sigrok. There is some wiki page etc. for Sigrok which shows compatible models.
https://guideimg.alibaba.com/images/shop/80/10/09/7/upgraded-version-logic-16-100m-logic-analyzer-support-software-version-1-1-20-all-versions-compatible-aluminum-luxury-features_2475057.jpg
 

Offline abraxa

  • Frequent Contributor
  • **
  • Posts: 377
  • Country: de
  • Sigrok associate
Re: eBay clone Saleae Logic 16
« Reply #9 on: January 15, 2018, 06:51:15 pm »
If you are using Windows I am not at all familiar with how it works but I can help you get that working on Linux.

That sounds like a fine plan - I am a Linux noob - but have just done a fresh Debian 9 install on a spare PC I have here so am all ears....

I will start by trying to install SIgrok but that doesnt seem to work with apt-get which says it's been superseded by Sigrok-cli - so I guess I have fallen at the first hurdle  |O

I am very grateful for the help so far!

Mark
G0MGX

If you want to run it on linux then there's a rather easy way. Let me write it down as a sequence of console commands:
Code: [Select]
wget https://sigrok.org/jenkins/job/sigrok-native-appimage/platform=native-x86_64-appimage/lastSuccessfulBuild/artifact/cross-compile/appimage/out/PulseView-NIGHTLY.glibc2.14-x86_64.AppImage
chmod u+x PulseView-NIGHTLY.glibc2.14-x86_64.AppImage
./PulseView-NIGHTLY.glibc2.14-x86_64.AppImage
It's essentially an all-in-one package that you can use without installing anything.

The only issue I can think of that you may face are the udev rules which you won't have installed. If you try the AppImage and it can't find your device, try running the AppImage with sudo. If that works, installing the udev rules is simple to do, but first things first.
« Last Edit: January 15, 2018, 06:53:11 pm by abraxa »
 
The following users thanked this post: cdev

Offline plazma

  • Frequent Contributor
  • **
  • Posts: 472
  • Country: fi
    • Homepage
Re: eBay clone Saleae Logic 16
« Reply #10 on: January 15, 2018, 07:11:35 pm »
I bought one looking like this and it woked as specified. Works with an older version of Saleae and Sigrok. There is some wiki page etc. for Sigrok which shows compatible models.
https://guideimg.alibaba.com/images/shop/80/10/09/7/upgraded-version-logic-16-100m-logic-analyzer-support-software-version-1-1-20-all-versions-compatible-aluminum-luxury-features_2475057.jpg
Also works fine with the latest version from Saleae.
 

Offline cdev

  • Super Contributor
  • ***
  • !
  • Posts: 7350
  • Country: 00
Re: eBay clone Saleae Logic 16
« Reply #11 on: January 15, 2018, 07:16:01 pm »
Here is the Debian tracker page for pulseview

 https://tracker.debian.org/pkg/pulseview

The current version of debian, stable is "stretch"

But for some reason there is no pulseview in stretch. This is likely explained in the build logs, change logs, etc.

Its probably possible to build a deb that will work or use an older one, if you do that correctly so as not to invoke "dependency hell".

There are a number of alternatives in this situation. You say this is your very first Linux installation?

« Last Edit: January 15, 2018, 07:26:23 pm by cdev »
"What the large print giveth, the small print taketh away."
 

Offline 1anX

  • Regular Contributor
  • *
  • Posts: 195
  • Country: au
Re: eBay clone Saleae Logic 16
« Reply #12 on: January 15, 2018, 09:00:40 pm »
Also works fine with the latest version from Saleae.

X2
Latest version works perfectly!
 

Offline janoc

  • Super Contributor
  • ***
  • Posts: 3785
  • Country: de
Re: eBay clone Saleae Logic 16
« Reply #13 on: January 15, 2018, 09:48:38 pm »
It is most likely nothing to do with the license of the Saleae software but the fact that the device needs firmware uploaded. And the firmware is different if you use Sigrok/Pulseview and the official Saleae software. So if you have powered the device up using one and then started the other it will not be detected - you need to unplug it and reconnect it.
 

Offline phil from seattle

  • Super Contributor
  • ***
  • Posts: 1029
  • Country: us
Re: eBay clone Saleae Logic 16
« Reply #14 on: January 15, 2018, 10:59:37 pm »
Be wary of the Saleae Logic 16 clones. I haven't been able to get pulseview to work with my clone (exact same packaging but not so sure under the covers).  I went through the process of obtaining the firmware file and get the following message from pulseview:
Quote
sr: saleae-logic16: Invalid FPGA bitstream version: 0x41 != 0x10.
sr: saleae-logic16: Failed to init device.
sr: saleae-logic16: Device failed to renumerate.
The Saleae code runs fine with it.
 

Offline cdev

  • Super Contributor
  • ***
  • !
  • Posts: 7350
  • Country: 00
Re: eBay clone Saleae Logic 16
« Reply #15 on: January 16, 2018, 12:07:45 am »
Seems to me from looking at the Debian pulseview package logs that the testing versions of pulseview stuff should work. The way to use testing is not to turn it on all the time, just turn it on to load a single program and its dependencies, (or in the case of pulseview and sigrok, all the sigrok family of programs) update, upgrade, and then turn the testing repository off.

If you cant do that successfully, then use the jessie versions which were working great for me before I switched to the source version..

Either one should work fine but don't mix them.
« Last Edit: January 16, 2018, 12:09:57 am by cdev »
"What the large print giveth, the small print taketh away."
 

Offline g0mgxTopic starter

  • Regular Contributor
  • *
  • Posts: 69
  • Country: gb
Re: eBay clone Saleae Logic 16
« Reply #16 on: January 16, 2018, 06:22:53 am »
If you want to run it on linux then there's a rather easy way. Let me write it down as a sequence of console commands:
Code: [Select]
wget https://sigrok.org/jenkins/job/sigrok-native-appimage/platform=native-x86_64-appimage/lastSuccessfulBuild/artifact/cross-compile/appimage/out/PulseView-NIGHTLY.glibc2.14-x86_64.AppImage
chmod u+x PulseView-NIGHTLY.glibc2.14-x86_64.AppImage
./PulseView-NIGHTLY.glibc2.14-x86_64.AppImage
It's essentially an all-in-one package that you can use without installing anything.

The only issue I can think of that you may face are the udev rules which you won't have installed. If you try the AppImage and it can't find your device, try running the AppImage with sudo. If that works, installing the udev rules is simple to do, but first things first.

So here's the results:

sudo ./PulseView-NIGHTLY.glibc2.14-x86_64.AppImage
sr: resource: Failed to open resource 'saleae-logic16-fx2.fw' (use loglevel 5/spew for details).
sr: saleae-logic16: Firmware upload failed.
sr: saleae-logic16: Failed to init device.
sr: saleae-logic16: Unable to open device.


Mark
G0MGX
 

Offline g0mgxTopic starter

  • Regular Contributor
  • *
  • Posts: 69
  • Country: gb
Re: eBay clone Saleae Logic 16
« Reply #17 on: January 16, 2018, 06:26:14 am »
You say this is your very first Linux installation?

Not entirely but I have no real experience of Linux at all.

Mark
G0MGX
 

Offline phil from seattle

  • Super Contributor
  • ***
  • Posts: 1029
  • Country: us
Re: eBay clone Saleae Logic 16
« Reply #18 on: January 16, 2018, 05:40:31 pm »
I believe that error means you don't have the firmware file - saleae-logic16-fx2.fw   Have you gone through the extraction process? Look here https://sigrok.org/wiki/Saleae_Logic16#Firmware

Also check permissions on the files if you do have them.  You should not need to use su/sudo. especially if you've done all the work under the same user id.

I spent a lot of time trying to get pulseview working with my chinese clone Saleae Logic 16. The internals do not appear the sames as the ones shown in sigrok page you linked to in your first post. The PCB is fairly different.

« Last Edit: January 16, 2018, 05:54:11 pm by phil from seattle »
 

Offline g0mgxTopic starter

  • Regular Contributor
  • *
  • Posts: 69
  • Country: gb
Re: eBay clone Saleae Logic 16
« Reply #19 on: January 16, 2018, 05:49:44 pm »
I believe that error means you don't have the firmware file - saleae-logic16-fx2.fw   Have you gone through the extraction process? Look here https://sigrok.org/wiki/Saleae_Logic16#Firmware

When I try and run the python script sigrok-fwextract-saleae-logic16 I get the following:

Traceback (most recent call last):
  File "./sigrok-fwextract-saleae-logic16", line 23, in <module>
    import parseelf
ImportError: No module named 'parseelf'

Seems very complicated!

Thanks for the help so far.

Mark
G0MGX
 

Offline g0mgxTopic starter

  • Regular Contributor
  • *
  • Posts: 69
  • Country: gb
Re: eBay clone Saleae Logic 16
« Reply #20 on: January 16, 2018, 05:51:31 pm »
Try sudo?

The results listed were with sudo ./PulseView-NIGHTLY.glibc2.14-x86_64.AppImage

Mark
G0MGX
 

Offline phil from seattle

  • Super Contributor
  • ***
  • Posts: 1029
  • Country: us
Re: eBay clone Saleae Logic 16
« Reply #21 on: January 16, 2018, 06:55:24 pm »
Yeah, I ran into that. Do you have parseelf.py in the same directory?  Do you have the saleae program Logic in the same directory? 
Note that  ./sigrok-fwextract-saleae-logic16 needs execute permission though parseelf.py doesn't. I just reran it and got the expected results.
Code: [Select]
pi@raspberrypi:~/Downloads/sigrok $ ls -l
total 24456
-rwxr-xr-x 1 pi pi 25008012 Jan 16 10:34 Logic
-rw-r--r-- 1 pi pi     6569 Jan 16 10:34 parseelf.py
-rwxr-xr-x 1 pi pi    14557 Jan 16 10:35 sigrok-fwextract-saleae-logic16
-rwxr-xr-x 1 pi pi     1597 Jan 16 10:35 sigrok-fwextract-saleae-logic16.1
pi@raspberrypi:~/Downloads/sigrok $ ./sigrok-fwextract-saleae-logic16 Logic
saved 5217 bytes to saleae-logic16-fx2.fw
saved 149516 bytes to saleae-logic16-fpga-18.bitstream
saved 149516 bytes to saleae-logic16-fpga-33.bitstream
saved 162602 bytes from 42 blobs to saleae-logicpro16-fx3.fw
saved 162602 bytes from 42 blobs to saleae-logicpro8-fx3.fw
saved 465028 bytes to saleae-logicpro16-fpga.bitstream
saved 341160 bytes to saleae-logicpro8-fpga.bitstream
pi@raspberrypi:~/Downloads/sigrok $ ls -l
total 25872
-rwxr-xr-x 1 pi pi 25008012 Jan 16 10:34 Logic
-rw-r--r-- 1 pi pi     6569 Jan 16 10:34 parseelf.py
drwxr-xr-x 2 pi pi     4096 Jan 16 10:35 __pycache__
-rw-r--r-- 1 pi pi   149516 Jan 16 10:37 saleae-logic16-fpga-18.bitstream
-rw-r--r-- 1 pi pi   149516 Jan 16 10:37 saleae-logic16-fpga-33.bitstream
-rw-r--r-- 1 pi pi     5217 Jan 16 10:37 saleae-logic16-fx2.fw
-rw-r--r-- 1 pi pi   465028 Jan 16 10:37 saleae-logicpro16-fpga.bitstream
-rw-r--r-- 1 pi pi   162602 Jan 16 10:37 saleae-logicpro16-fx3.fw
-rw-r--r-- 1 pi pi   341160 Jan 16 10:37 saleae-logicpro8-fpga.bitstream
-rw-r--r-- 1 pi pi   162602 Jan 16 10:37 saleae-logicpro8-fx3.fw
-rwxr-xr-x 1 pi pi    14557 Jan 16 10:35 sigrok-fwextract-saleae-logic16
-rwxr-xr-x 1 pi pi     1597 Jan 16 10:35 sigrok-fwextract-saleae-logic16.1
cp the files into the proper firmware directory and pulseview should find them.
Note that the saleae-logic16-fx2.fw file is 3 bytes larger than the wiki article lists. Not sure that's significant. The other two files listed are the same size.  When I run pulseview I get the following errors on the console:
Quote
sr: saleae-logic16: Invalid FPGA bitstream version: 0x41 != 0x10.
sr: saleae-logic16: Failed to init device.
sr: saleae-logic16: Device failed to renumerate.
I wonder if hacking the extract script to change the bitstream version would help? Clearly the firmware runs on the fpga as the Saleae software works fine.
 

Offline cdev

  • Super Contributor
  • ***
  • !
  • Posts: 7350
  • Country: 00
Re: eBay clone Saleae Logic 16
« Reply #22 on: January 16, 2018, 07:05:24 pm »
Don't run the proprietary software.

You should reboot, its quite possible that there is some conflict. Just keep it simple for yourself and stop trying to mix the two.

You should read the source for the software, its often the best place to find out things

Also look at your machine's logs..

« Last Edit: January 16, 2018, 07:40:27 pm by cdev »
"What the large print giveth, the small print taketh away."
 

Offline phil from seattle

  • Super Contributor
  • ***
  • Posts: 1029
  • Country: us
Re: eBay clone Saleae Logic 16
« Reply #23 on: January 16, 2018, 07:47:50 pm »
for what it's worth, I got the same version error on the windows version of pulseview.

I don't think buying a program that works is a bad idea, but I want to use pulseview as it is clearly superior.  Instead of buying software, I would buy HW that will definitely work with pulseview and call the logic16 clone a FAIL. The dreamsourcelab DSLogic16 looks pretty nice, goes up to 400 MHz and isn't super expensive. Going down market the various Saleae Logic8 clones are super cheap and seem to work.
 

Offline abraxa

  • Frequent Contributor
  • **
  • Posts: 377
  • Country: de
  • Sigrok associate
Re: eBay clone Saleae Logic 16
« Reply #24 on: January 16, 2018, 09:39:08 pm »
Traceback (most recent call last):
  File "./sigrok-fwextract-saleae-logic16", line 23, in <module>
    import parseelf
ImportError: No module named 'parseelf'
As phil from seattle already mentioned, the error is thrown because the script couldn't find parseelf.py in the same directory.

Seems very complicated!
Depends on how you see it... while it may not be very user-friendly indeed, I think it's good that there's an alternative at all and as the saying goes: you get what you pay for. If all these cheap Saleae16 clones don't come with an open firmware then hoops will have to be jumped through :)
 

Offline cdev

  • Super Contributor
  • ***
  • !
  • Posts: 7350
  • Country: 00
Re: eBay clone Saleae Logic 16
« Reply #25 on: January 16, 2018, 10:01:40 pm »



As far as I can tell the download that contains the "fwextract" script you are trying to use is not part of Sigrok's actual release,

Quote
"sigrok-util is in development and has not yet had official tarball releases.

Distro packagers should NOT package this, yet."


It isnt part of the sigrok packages.

I know I have never used or needed "fwextract".

I had never heard of it before now. You may be trying to install the wrong software.

You likely just want the generic FX2LP logic analyzer firmware.
« Last Edit: January 17, 2018, 12:00:11 am by cdev »
"What the large print giveth, the small print taketh away."
 

Offline phil from seattle

  • Super Contributor
  • ***
  • Posts: 1029
  • Country: us
Re: eBay clone Saleae Logic 16
« Reply #26 on: January 17, 2018, 12:40:25 am »



As far as I can tell the download that contains the "fwextract" script you are trying to use is not part of Sigrok's actual release,

Quote
"sigrok-util is in development and has not yet had official tarball releases.

Distro packagers should NOT package this, yet."


It isnt part of the sigrok packages.

I know I have never used or needed "fwextract".

I had never heard of it before now. You may be trying to install the wrong software.

You likely just want the generic FX2LP logic analyzer firmware.

Yes, and how do you get the firmware binaries?  If you know where to get them, please enlighten us. Everything I've read says use the extract python script. There are a couple of firmware projects to build redistributable FOSS binaries but I've not been able to get them to work. 
 

Offline cdev

  • Super Contributor
  • ***
  • !
  • Posts: 7350
  • Country: 00
Re: eBay clone Saleae Logic 16
« Reply #27 on: January 17, 2018, 12:59:35 am »
There is no firmware on fx2lp devices, as far as I know.

You can download a blob from sigrok which is not installed on your device. Its installed in a directory on your computer and uploaded to it at runtime.

Thats the magic of the fx2 chips, they are a blank canvas waiting to be told to do things. Thats why they are so flexible.

Download the git repository, enter the directory,

cd sigrok-firmware-fx2lafw
./autogen.sh
./configure
make
sudo make install

You may need some prerequisites, for example, the usual build stuff.


Its not at all difficult to install the debs OR build it from source using the git repository, which I prefer because they keep adding new decoders to it.

Although I suspect its unlikely - because the fx2 hardware just boots and loads whats presented to it to load, there is I suppose a possibility he could brick his hardware by running the wrong script if it was able to write to the thing permanently.

But actually, I don't think thats possible.  I don't think the fx2 works that way.

« Last Edit: January 17, 2018, 01:12:56 am by cdev »
"What the large print giveth, the small print taketh away."
 

Offline phil from seattle

  • Super Contributor
  • ***
  • Posts: 1029
  • Country: us
Re: eBay clone Saleae Logic 16
« Reply #28 on: January 17, 2018, 02:01:12 am »
OK, I used the term firmware where you use the term blob. The point is that for the logic16 clones, there is no blob/firmware distributed. You have to extract it out of the Saleae binaries.
 

Offline cdev

  • Super Contributor
  • ***
  • !
  • Posts: 7350
  • Country: 00
Re: eBay clone Saleae Logic 16
« Reply #29 on: January 17, 2018, 02:27:56 am »
Miraculoso!

 Somehow I seem to have built firmware for my LA that comes in both flavors!

I have done no extractions, ever.

« Last Edit: January 17, 2018, 02:42:16 am by cdev »
"What the large print giveth, the small print taketh away."
 

Offline phil from seattle

  • Super Contributor
  • ***
  • Posts: 1029
  • Country: us
Re: eBay clone Saleae Logic 16
« Reply #30 on: January 17, 2018, 02:34:28 am »
Dig around the sigrok/pulseview wikis. It's also linked above. I didn't go screwing around with this extract crap for fun, yaknow..
 

Offline cdev

  • Super Contributor
  • ***
  • !
  • Posts: 7350
  • Country: 00
Re: eBay clone Saleae Logic 16
« Reply #31 on: January 17, 2018, 02:43:52 am »
Could you provide a screenshot, and upload it here?
"What the large print giveth, the small print taketh away."
 

Offline phil from seattle

  • Super Contributor
  • ***
  • Posts: 1029
  • Country: us
Re: eBay clone Saleae Logic 16
« Reply #32 on: January 17, 2018, 03:20:40 am »
this is getting tedious. look at what has been posted. the firmware/blobs are named differently.  and, it's hard to track what you are saying when you edit and significantly change your posts.
 

Offline CustomEngineerer

  • Frequent Contributor
  • **
  • Posts: 464
  • Country: us
Re: eBay clone Saleae Logic 16
« Reply #33 on: January 17, 2018, 05:17:10 am »
for what it's worth, I got the same version error on the windows version of pulseview.

I don't think buying a program that works is a bad idea, but I want to use pulseview as it is clearly superior.  Instead of buying software, I would buy HW that will definitely work with pulseview and call the logic16 clone a FAIL. The dreamsourcelab DSLogic16 looks pretty nice, goes up to 400 MHz and isn't super expensive. Going down market the various Saleae Logic8 clones are super cheap and seem to work.

Had been using one of the super cheap (<$10) logic8 clones with Pulseview for around 6 months, but it just seemed lacking. Decided I wanted something a little more capable around Christmas time. I didn't want to spend too much on it though, so I finally decided on the DSLogic Plus (dreamsourcelab still lists it as the Pro on their site, but it really is the newer Plus version). It arrived today so I've only had a few hours to play around with it, but so far it really seems like its going to be a very nice upgrade over the logic8 clone. I know DSView is based off of Pulseview, but the dreamsourcelabs guys have added some nice additional (and useful) features to DSView.
« Last Edit: January 17, 2018, 07:24:17 am by CustomEngineerer »
 

Offline g0mgxTopic starter

  • Regular Contributor
  • *
  • Posts: 69
  • Country: gb
Re: eBay clone Saleae Logic 16
« Reply #34 on: January 17, 2018, 07:33:02 am »
Miraculoso!

 Somehow I seem to have built firmware for my LA that comes in both flavors!

I have done no extractions, ever.

Can you send me your files?

Mark
G0MGX
 

Offline phil from seattle

  • Super Contributor
  • ***
  • Posts: 1029
  • Country: us
Re: eBay clone Saleae Logic 16
« Reply #35 on: January 17, 2018, 02:50:47 pm »
@CustomEngineer, You got the non-pro version? That's the one I'm thinking of getting.  Have you tried stock pulseview with it?

@G0mgx, hope those work for you.  I'm skeptical because the size is different.
 

Offline cdev

  • Super Contributor
  • ***
  • !
  • Posts: 7350
  • Country: 00
Re: eBay clone Saleae Logic 16
« Reply #36 on: January 17, 2018, 03:29:30 pm »
I don't need to, you can download the exact same thing right here:

https://sigrok.org/download/binary/sigrok-firmware-fx2lafw/sigrok-firmware-fx2lafw-bin-0.1.5.tar.gz

The source code - if you want to build t (follow the same sequence of commands as I did above) is at

https://sigrok.org/download/source/sigrok-firmware-fx2lafw/sigrok-firmware-fx2lafw-0.1.5.tar.gz

If you want to build it yourself, thats good but if you are using a raspberry pi, I would use an external USB disk a real hard disk and not a flash disk for your software building. Any real hard drive that works will do, make sure it has enough power- you likely will need to use an external powered hub. Just create a folder called build and I also create subfolders for the program and all associated stuff.

That is because flash memory doesn't like lots of small writes- it wears it out before its time.

If you're going to use Linux, you should learn how to build your own software, its one of the most fun and useful things about the platform.

"git" is a revision control system that programmers use to manage the cooperative development of software.

It was written by Linus Torvalds, the original author of Linux.

So if you are on Linux, you start out on Debian by installing "build-essential" and "git" - you will also need the prerequisites they tell you for each individual piece of software.

You will also need to UNINSTALL, all the partial pieces of other related tools. I would uninstall them, remove them completely.


Miraculoso!

 Somehow I seem to have built firmware for my LA that comes in both flavors!

I have done no extractions, ever.

Can you send me your files?

Mark
G0MGX
"What the large print giveth, the small print taketh away."
 

Offline abraxa

  • Frequent Contributor
  • **
  • Posts: 377
  • Country: de
  • Sigrok associate
Re: eBay clone Saleae Logic 16
« Reply #37 on: January 17, 2018, 04:04:48 pm »
I know you mean well cdev, but unfortunately, what you suggest doesn't work. For the Saleae Logic16 clones, fx2lafw doesn't offer any firmware. Instead, the sigrok-fwextract-saleae-logic16 has to be used to extract the firmware from the Saleae Logic client. This is obviously not ideal for copyright reasons. If I remember correctly, there are two open-source firmwares available as well but I don't have the URLs at hand.

g0mgx, did you try running sigrok-fwextract-saleae-logic16 again with parseelf.py and the Saleae Logic application in place?
 

Offline g0mgxTopic starter

  • Regular Contributor
  • *
  • Posts: 69
  • Country: gb
Re: eBay clone Saleae Logic 16
« Reply #38 on: January 17, 2018, 04:13:16 pm »
I don't need to, you can download the exact same thing right here:

Thanks cdev

I've done a few things:

installed openssh so I can use putty to get a terminal window on my Debain PC from my Windows environment
Downloaded the archive you highlighted containing the source
Built the firwmare from source (having installed the dependencies)



So I think that's all worked OK and if nothing else I've learned a whole load  :-+

But now, when I start the pulseview application I dont see any of the error messages I was seeing before, the device just isn't listed in the application drop down.

Feels like I am close but not quite there.

Mark
G0MGX


 

Offline g0mgxTopic starter

  • Regular Contributor
  • *
  • Posts: 69
  • Country: gb
Re: eBay clone Saleae Logic 16
« Reply #39 on: January 17, 2018, 04:28:33 pm »
g0mgx, did you try running sigrok-fwextract-saleae-logic16 again with parseelf.py and the Saleae Logic application in place?

Yes - it says: Error : gLogic16HexFileLineCount

I also need to correct this statement: But now, when I start the pulseview application I don't see any of the error messages I was seeing before, the device just isn't listed in the application drop down.

Not true - the error message is exactly the same as it was before, the file in the pulseview application error (what it is looking for) is "saleae-logic16-fx2.fw" but the closest thing I have generated is called "fx2lafw-saleae-logic.fw"

Shall I copy one to t'other?

It feels like the fundamental problem here is that I have absolutely no idea what I am doing!

Mark
G0MGX
 

Offline cdev

  • Super Contributor
  • ***
  • !
  • Posts: 7350
  • Country: 00
Re: eBay clone Saleae Logic 16
« Reply #40 on: January 17, 2018, 04:36:55 pm »
I'm sorry.

I am going to bow out of this conversation.

I just don't have the time or energy for this right now.

There are hundreds, likely of different FX2 based devices, dev boards, MSOs, LA's etc, - some cost less than $5, that work fine without any extracting of anything or downloading of anything proprietary. They don't need it.

This is demonstrated by the inclusion of the sigrok-firmware-fx2lafw in the main Debian distribution. (not something that ever happens for non-free software)

It wouldn't be there if it contained any proprietary firmware. 
I have never needed to do anything like you are describing.

If you have questions, you should email Uwe Hermann <uwe@debian.org>

who is the Debian package maintainer.  He is also a user here, offhand I don't know his user name.

You shouldn't buy products that claim to be something they aren't.  Ebay's policy is to not carry counterfeited products if they are made aware of it.

If you try to install another manufacturers firmware on a product thats not theirs, you're not unlikely to brick it. 

Since you use Windows, which attempts to "update" things, maybe you already did?

Here is the description of the sigrok firmware.

"Firmware for Cypress FX2(LP) based logic analyzers
sigrok-firmware-fx2lafw is an open-source (GPLv2+) firmware,
implemented from scratch, that allows you to use almost
any device or eval board that has a Cypress FX2(LP) chip
as a logic analyzer via libsigrok (and a suitable frontend)."

« Last Edit: January 17, 2018, 06:56:44 pm by cdev »
"What the large print giveth, the small print taketh away."
 

Offline phil from seattle

  • Super Contributor
  • ***
  • Posts: 1029
  • Country: us
Re: eBay clone Saleae Logic 16
« Reply #41 on: January 17, 2018, 05:43:11 pm »
I know you mean well cdev, but unfortunately, what you suggest doesn't work. For the Saleae Logic16 clones, fx2lafw doesn't offer any firmware. Instead, the sigrok-fwextract-saleae-logic16 has to be used to extract the firmware from the Saleae Logic client. This is obviously not ideal for copyright reasons. If I remember correctly, there are two open-source firmwares available as well but I don't have the URLs at hand.

g0mgx, did you try running sigrok-fwextract-saleae-logic16 again with parseelf.py and the Saleae Logic application in place?

I've tried both of the open source firmwares (is that actually a word?) and not had good luck.  One of them gets past the bitstream version check but still doesn't work (get's "failed to init").

The heart of the problem is that there are multiple versions of the "Saleae Logic16" clones. The one I have (got late in 2017) is different from all the ones shown in the pulseview/sigrok wikis. It has the same rounded case as all the others but the PCB is different (FPGA is on the bottom). I don't understand why the Saleae software (aka Logic) works and pulseview doesn't. If I was sufficiently motivated, I'd dig into the sigrok source and relax the bitstream load code. I can see where they look for the 0x40 version in other places so it probably would work. Would have to set up a linux build machine. Too many other projects though. maybe someday.
 

Offline CustomEngineerer

  • Frequent Contributor
  • **
  • Posts: 464
  • Country: us
Re: eBay clone Saleae Logic 16
« Reply #42 on: January 18, 2018, 04:28:50 am »
@CustomEngineer, You got the non-pro version? That's the one I'm thinking of getting.  Have you tried stock pulseview with it?

I got the DSLogic Plus version. It is essentially the new version of the Pro model. If you order it directly from dreamsourcelabs, their webpage is way out of date and still shows that they are selling the Pro version (by name and the picture is of the older Pro as well) for $99. However, if you order it, you end up with the newer Plus version. I can't remember where I found exactly what the differences are between the Pro and Plus, but the most obvious is the newer grabber wire harnesses (Pro had single wire harness with all 20? together, Plus has 4 sets of 4 coax cables with ground for each input).

Stock PulseView doesn't seem to want to work with the version I got (it had been working fine with the cheap logic8 clone I had been using). Whenever I select the DSLogic device in Pulseview, it just hangs. I'm assuming the DSLogic device driver is probably for the older model, and thats why its hanging. I didn't try anything else with Pulseview once i started playing around with DSView.

I had also been looking at the other DSLogic's being sold on ebay before deciding to risk it and order directly from dreamsourcelabs (considering they still showed the older Pro version). There were generally 3 versions being shown on ebay.
1) The ones with the older style single wire harness that were typically over $100 USD. Seemed like these were probably the older Pro version.
2) $60 - $80 USD, called the Plus version, showed the Plus version separate wire harnesses. Some claim to come with the on board memory like the real Plus does, other don't. I'm pretty sure these are all the non-Pro, non-Plus version. I saw multiple people who took a chance on one of these that claimed to come with the on board memory, but when they received it, it was not.
3) $95 - $125 USD, also called the Plus version, also showing the separate wire harnesses. Pretty sure these (at least mostly) were the actual Plus versions.

I also saw several reports that the only difference between 2 and 3 was whether the on board memory was actually in place, and everything else about them was the same. Several people reported ordering the $60 - $80 version, and ordering and installing a $4 - $10 memory chip from Mouser/Digikey to essentially make it identical to the real Plus version. Though I have no first hand experience with that part, so couldn't say for sure.
 

Offline abraxa

  • Frequent Contributor
  • **
  • Posts: 377
  • Country: de
  • Sigrok associate
Re: eBay clone Saleae Logic 16
« Reply #43 on: January 18, 2018, 07:46:57 am »
g0mgx, did you try running sigrok-fwextract-saleae-logic16 again with parseelf.py and the Saleae Logic application in place?

Yes - it says: Error : gLogic16HexFileLineCount

Ow. They recently switched up their application and our script doesn't yet know how to handle it, my apologies.

Please use the Logic executable from http://downloads.saleae.com/logic/1.2.10/Logic+1.2.10+(64-bit).zip - this one works.

After creating the .fw files, please copy them to /usr/local/share/sigrok-firmware with sudo (you may have to create the directory first).

Thanks for your patience.
 
The following users thanked this post: CustomEngineerer

Offline phil from seattle

  • Super Contributor
  • ***
  • Posts: 1029
  • Country: us
Re: eBay clone Saleae Logic 16
« Reply #44 on: January 19, 2018, 01:30:52 am »
Abraxa, thanks for taking the time to help. I appreciate it and I am sure others do as well.

I use Logic 1.2.10 64bit that you linked to, do the extract and drop the files into the sigrok directory. When I run pulseview, I get an invalid bitstream version error (0x41 != 0x10). That is followed by "Failed to init device".  I started pulseview with logging level 5 and can see the bitstream files are getting loaded OK. Pretty much stuck at this point.
 

Offline 1anX

  • Regular Contributor
  • *
  • Posts: 195
  • Country: au
Re: eBay clone Saleae Logic 16
« Reply #45 on: January 19, 2018, 04:33:16 am »
I took CustomEngineerer's advice and just ordered the the DSLogic Plus ($US99).
My clone Saleae Logic 16 just was not fast enough for some of my projects but worked really well within its limits and with the Saleae software.
The DSLogic Plus works with its own software for multiple platforms and also with PulseView check out indepth tear down and review if interested here

 

Using PulseView with the DSLOgic Plus here

« Last Edit: January 19, 2018, 04:54:45 am by 1anX »
 

Offline CustomEngineerer

  • Frequent Contributor
  • **
  • Posts: 464
  • Country: us
Re: eBay clone Saleae Logic 16
« Reply #46 on: January 19, 2018, 05:32:22 am »
I'm only on my third evening with the DSLogic Plus, but so far I have not had a single problem with it. It just works (no crashes or hangs). And the coax connector seemingly solved a problem I had been having with logic8 clone trying to reliably capture a working signal from a nrf24l01+ module. Definitely money well spent.
 
The following users thanked this post: 1anX

Offline Monkeh

  • Super Contributor
  • ***
  • Posts: 7992
  • Country: gb
Re: eBay clone Saleae Logic 16
« Reply #47 on: January 19, 2018, 05:43:10 am »
I'm sorry.

I am going to bow out of this conversation.

I just don't have the time or energy for this right now.

There are hundreds, likely of different FX2 based devices, dev boards, MSOs, LA's etc, - some cost less than $5, that work fine without any extracting of anything or downloading of anything proprietary. They don't need it.

The Seleae Logic 16 and clones thereof are not basic FX2 devices. There is an FPGA inside which requires firmware. They are not comparable to the Logic 8 and various other effectively application-note devices.
 

Offline kloetpatra

  • Contributor
  • Posts: 29
  • Country: de
Re: eBay clone Saleae Logic 16
« Reply #48 on: April 29, 2018, 10:18:38 pm »
can someone make a dump of the spi flash of the saleae logic 16 or clone?
 

Offline Dwaine

  • Frequent Contributor
  • **
  • Posts: 299
  • Country: ca
Re: eBay clone Saleae Logic 16
« Reply #49 on: May 01, 2018, 12:24:37 am »
I'm only on my third evening with the DSLogic Plus, but so far I have not had a single problem with it. It just works (no crashes or hangs). And the coax connector seemingly solved a problem I had been having with logic8 clone trying to reliably capture a working signal from a nrf24l01+ module. Definitely money well spent.

+1  for the Dialogic. Plus.  Been using one for about two months.  A bit more money, but I had no problems with my captures.  Been working well.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf