Giter Site home page Giter Site logo

libsigrok's People

Contributors

abhishek-kakkar avatar abraxa avatar andy9a9 avatar asanza avatar aurelj avatar biot avatar brgl avatar danielkitta avatar drwyrm avatar gsigh avatar gsmcmullin avatar haavares avatar jhol avatar jluebbe avatar knarfs avatar larsclausen avatar marchelh avatar martinling avatar mranostay avatar mrnuke avatar petteriaimonen avatar phmarek avatar rmsc avatar russdill avatar s09bq5 avatar stefanbruens avatar svenschnelle avatar uwehermann avatar vuokko avatar zeldin avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

lawfordp2017 g4e

libsigrok's Issues

Recommendations on moving this forward

Hello,
I'd like to help out with getting the VDS1022 supported in sigrok. Do you have any recommended next steps?
I have your changes building and running, but I'm just getting flat line readings when attached to the 1khz test output. I'm wondering if the device channels are configured in GND coupling mode versus AC or DC, or maybe the channels are misconfigured in another way (voltage levels, triggering). One way I'm thinking to fix this is to setup wireshark monitoring of the Windows VM when toggling these channel settings, and double-checking that these commands are sent by sigrok.

I also skipped the firmware upload step after this command fails https://github.com/noopwafel/libsigrok/blob/master/src/hardware/owon-vds-tiny/protocol.c#L275:

vds_packed_cmd_response(sdi, 0x223, buffer, 1, 'E', &response);

I'm not sure where 0x233 originates. I couldn't find this anywhere in the decompiled source. Also, the device is working in the Windows VM, so I didn't want to risk messing-up the existing firmware.

The debug log seems to show working communication:

...
sr: [00:04.847196] session: bus: Received SR_DF_FRAME_BEGIN packet.
sr: [00:04.862227] owon-vds-tiny: receive_transfer(): status LIBUSB_SUCCESS / LIBUSB_TRANSFER_COMPLETED received 5211 bytes.
sr: [00:04.862304] owon-vds-tiny: got incoming packet
sr: [00:04.862392] session: bus: Received SR_DF_ANALOG packet (5098 samples).
"Querying config key samplerate is not allowed"
sr: [00:04.869545] owon-vds-tiny: receive_transfer(): status LIBUSB_SUCCESS / LIBUSB_TRANSFER_COMPLETED received 5211 bytes.
sr: [00:04.869601] owon-vds-tiny: got incoming packet
sr: [00:04.869684] session: bus: Received SR_DF_ANALOG packet (5098 samples).
"Querying config key samplerate is not allowed"
sr: [00:04.869958] session: bus: Received SR_DF_FRAME_END packet.
...

I've also been trying to get the vendor's java version working on Linux in tinwhisker/Owon-VDS1022#6, but have been encountering some roadblocks. If we can get it to work from java source on linux, it should hopefully be straightforward to then achieve full sigrok support.

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.