Hi,

On Tue, Mar 10, 2015 at 02:03:37PM +0100, Markus Gritsch wrote:
> I would like to use sigrok together with the Logic Pirate [1].  The
> Logic Pirate is the successor of the Logic Shrimp, which is already
> supported.
> 
> According to the sigrok page [2] for the Logic Shrimp, devices
> supporting the extended SUMP protocol should be supported out of the
> box.  Since the Logic Pirate uses the same protocol, it should also
> work.
> 
> I use the Windows PulseView binary of sigrok.  In the "Connect to
> Device" dialog "Openbench Logic Sniffer (ols)" and then the correct
> COM port for the Logic Pirate.  But "Scan for Devices" does not show
> any results.
> 
> Am I doing something wrong?

No, you're just a bit unlucky to hit 2 issues at the moment:

 - OLS and other such devices are currently not detected on Windows,
   this has been the case for a while now (nobody has looked into
   it yet). It's Windows-specific, since the devices work OK on other OSes.

   See also:

   http://sigrok.org/wiki/Windows#Limitations_and_TODOs
   http://sigrok.org/bugzilla/show_bug.cgi?id=562

 - I've just tested a Logic Pirate (I have one as well), and it is
   detected on Linux, so you're quite surely hitting the Windows bug
   I mentioned above. However, the current code also doesn't handle the
   Logic Pirate yet since it doesn't report sufficiently much metadata
   apparently (which is the case for a few other Dangerous Prototype
   devices as well, unfortunately). I'm afraid we'll have to create some
   sort of profiles in the driver to correctly handle all the different
   devices and use only the capabilities they actually have.

   I'm assuming jawi's OLS client does something similar.

Example run on Linux:

  $ sigrok-cli -d ols:conn=/dev/ttyACM0 --scan -l 5
  [...]
  sr: ols: Got metadata key 0x01 value 'Logic Pirate (40 MHz)'.
  sr: ols: Got metadata key 0x02 value '2013-06-25'.
  sr: ols: Got metadata key 0x00, metadata ends.
  sr: ols: Disabling demux mode.
  sr: serial: Closing serial port /dev/ttyACM0.
  sr: hwdriver: Scan of 'ols' found 1 devices.
  The following devices were found:
  ols - Logic Pirate (40 MHz) FPGA version 2013-06-25 

  $ sigrok-cli -d ols:conn=/dev/ttyACM0 --samples 10
  sr: session: ols using connection (null) has no enabled channels!
  Failed to start session.

(the reason being that the Logic Pirate doesn't send metadata for the number
of channels, and so on)


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

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to