Hi Lauren,

quick update below.


On Sun, Feb 28, 2016 at 02:28:55PM -0800, Lauren Weinstein wrote:
> I suspect I'm missing something basic re the sigrok architecture.  I'd
> like to get the Hantek 6022BL up. The BL is essentially the same as the
> BE, with the logic analyzer interface actually populated and externally
> accessible (unpopulated in the BE).

Kinda, but not really. The unpopulated potential FX2 (and other
unpopulated pads) from 6022BE are gone in the 6022BL, at least in the
version that I have. The other FX2 is used for both functionality (either
scope or LA, but you cannot have both at the same time apparently).

Teardowns from me for both devices:

http://sigrok.org/wiki/Hantek_6022BE
http://sigrok.org/wiki/Hantek_6022BL


> Presumably they have different USB
> product IDs as well.

There's also lsusb info for all devices and cases linked from the wiki
pages above.

The 6022BL (my model at least) has a button which controls with which
VID/PID it comes up. Either 04b4:602a (scope usage) or 0925:3881
"Lakeview Research Saleae Logic" (Saleae Logic VID/PID, so fx2lafw works
out of the box as 8-channel 24MHz logic analyzer).

(No, this is not a Saleae Logic16 clone, that's a completely different
device, firmware, FPGA bitstreams, etc. etc.)

It *might* be possible to use it as 16-channel FX2 based LA as well (at
max 16MHz samplerate then), but that's currently not possible out of the
box since the VID/PID suggests an 8-channel Saleae Logic, which we
use/assume in firmware and libsigrok. I also haven't verified yet if the
correct pins are even used on the PCB to make this possible.


> And that's as far as I can get. Attempts to run sigrok-cli or PulseView
> show no device on scan runs, irrespective of driver selection (e.g.
> Hantek DSO, fx2lafw, etc.)

At the point you tested that it couldn't work since there was no 6022BE
support in libsigrok.

That has changed yesterday, a basic driver written by Christer Ekholm is
now merged (thanks a lot!). Testing would be highly appreciated. The driver
might need some more work, but it's a good start.

http://sigrok.org/gitweb/?p=libsigrok.git;a=summary


Also, I've merged (with minimal changes) the 6022BE open-source firmware
written by Jochen Hoenicke (thanks a lot!) into fx2lafw for user convenience.

Details:
http://sigrok.org/gitweb/?p=sigrok-firmware-fx2lafw.git;a=summary
http://sigrok.org/gitweb/?p=sigrok-firmware-fx2lafw.git;a=commitdiff;h=189db3d41e4c3d8a4aec5ec605c03df75577d531

I.e. to use this you have to have the latest libsigrok from git and the
latest sigrok-firmware-fx2lafw from git and it should work out of the box
(use the udev rules file if needed etc).

 
I've only tested 6022BE so far (scope) and 6022BL (LA mode). Getting
the 6022BL (scope mode) to work may or may not require some more
changes, I'll look into that.


Uwe.
-- 
http://hermann-uwe.de | http://randomprojects.org | http://sigrok.org

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to