Giter Club home page Giter Club logo

Comments (23)

abraxa avatar abraxa commented on July 21, 2024 16

For the record: DreamSourceLab hasn't contributed back to sigrok to this day, not even letting us know when there are bugs in protocol decoders that they took from sigrok, while still making decent money off of our work. Saying that we're not happy would be quite the understatement.

from dsview.

asanza avatar asanza commented on July 21, 2024 8

Hi, for all of you that still have interest in libsigrok suport for dslogic, it is almost there!
The folks at libsigrok implemented basic support, to which I added more functionality. Check my repo for the last version:

[email protected]:asanza/libsigrok.git

The last working version is in branch devel.

What is working:

  • Simple trigger on any channel
  • Pre-Trigger settings
  • External Clock/Clock edge
  • Voltage Threshold.
  • Continuous (Stream) sampling.

Some of these changes are already on the development branch of libsigrok.

In order to use it you also need the binary firmware and the fpga image that comes with your dslogic.

Go to folder DSView/res and copy following files:

  • DSLogic.fw
  • DSLogic33.bin
  • DSLogic50.bin

to the folder where sigrok-firmware is located (mine is in /usr/local/share/sigrok-firmware). After that rename them as follows:

  • DSLogic.fw -> dreamsourcelab-dslogic-fx2.fw
  • DSLogic33.bin -> dreamsourcelab-dslogic-fpga-3v3.fw
  • DSLogic50.bin -> dreamsourcelab-dslogic-fpga-5v.fw

Enjoy!

from dsview.

DreamSourceLab avatar DreamSourceLab commented on July 21, 2024 6

Yeap! We will contact the sigrok guys for this.

from dsview.

asanza avatar asanza commented on July 21, 2024 6

Support for DSLogic and DSLogic Pro is now working in sigrok (only logic analyzer)

https://sigrok.org/wiki/DreamSourceLab_DSLogic
https://sigrok.org/wiki/DreamSourceLab_DSLogic_Pro

from dsview.

fenrig avatar fenrig commented on July 21, 2024 5

I aggree, contributing to upstream is very important

from dsview.

Electro707 avatar Electro707 commented on July 21, 2024 5

As an update to this thread, a month or two ago I started trying to change libsigrok's handling of DSLogic devices so it could match newer firmware (as well as support for the U3Pro16 analyzer for example). I only got it where it connects to sigrok, but I still gotta work on getting sigrok to read the data from the analyzer (will eventually hop back on this project)

from dsview.

anatol avatar anatol commented on July 21, 2024 2

Agree that avoiding source code duplication for sigrok would make DS devs life easier. It will be easier to use features and fixes from upstream sigrok.

+1 for becoming official sigrok device.

from dsview.

asanza avatar asanza commented on July 21, 2024 2

As for now, support in sigrok is almost complete, but it needs testing. You can checkout the last development branch. http://sigrok.org/wiki/Libsigrok

from dsview.

Electro707 avatar Electro707 commented on July 21, 2024 1

@benner While not done by me, somebody else did a almost full port into Sigrok and there's a PR waiting to be merged: sigrokproject/libsigrok#170

from dsview.

darander avatar darander commented on July 21, 2024

Indeed, this is very important.

Though, I'd guess that you'll need to try to make your changes more incremental, i.e. not one big push with lots of changes. As that will make it really hard to integrate anything back to upstream.
That's especially true when that large commit also remove lots of stuff that upstream definitely needs to keep.

I'll see if/when I can get some time to look into upstreaming DSLogic support myself, unless we can get something going earlier.

from dsview.

hak8or avatar hak8or commented on July 21, 2024

So what happened based on this post from you guys? It's been two years and no updates on this issue or this one. This post seems to summarize the feelings well.

from dsview.

AkosLukacs avatar AkosLukacs commented on July 21, 2024

Sounds great. Thank you!
I don't have time to check it :(

from dsview.

vatrat avatar vatrat commented on July 21, 2024

Any news on this?

from dsview.

vatrat avatar vatrat commented on July 21, 2024

Awesome! I'm about to buy a DSLogic (It's on sale with accessories for $70 on hackaday, as well as having a high max sample rate, make me want it. My max is $100 for an LA, budget being $70.) I'll use Sigrok and report any bugs I see. Hell, maybe I'll check in some code. I don't know what Sigrok is written in, so I'll do some research when I get the DSLogic.

from dsview.

vatrat avatar vatrat commented on July 21, 2024

Which makes me want it*

from dsview.

cire831 avatar cire831 commented on July 21, 2024

any progress?

from dsview.

vatrat avatar vatrat commented on July 21, 2024

Not that I know of. I got the DSLogic and I have been using DSView.

from dsview.

cire831 avatar cire831 commented on July 21, 2024

i just went through the release notes for 0.4.0 and no mention

i might get to it

how is DSView? you can email me direct

[email protected]

from dsview.

benner avatar benner commented on July 21, 2024

Any update on this?

from dsview.

Electro707 avatar Electro707 commented on July 21, 2024

Unfortunately I've taken upon other projects, and didn't have time to circle back to this. Might do so this weekend.

Last time I worked on this if I remember correctly, I was able to get sigrok to initiate a trigger to the DSLogic, now I got to port over reading the data properly.

from dsview.

benner avatar benner commented on July 21, 2024

Could you push your work to some branch and maybe other will help with testing etc?

from dsview.

Electro707 avatar Electro707 commented on July 21, 2024

I already do, it's in my libsigrok fork's DSLogicU3Pro16 branch: https://github.com/Electro707/libsigrok/tree/DSLogicU3Pro16

Full warning thought, it will connect but will not start a capture. That I still need to port, which is more difficult than I anticipated.

from dsview.

benner avatar benner commented on July 21, 2024

any update on this?

from dsview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.