Giter Club home page Giter Club logo

Comments (7)

phoenix147 avatar phoenix147 commented on July 20, 2024 1

the problem with the 20 secs is related to the device itself, because it has some blocking timeouts in its startup routine and has nothing to do with the serial connection

from serial.

larsgk avatar larsgk commented on July 20, 2024

"Only answering after 20 secs" sounds like modemmanager tries to grab it. Add it to the udev usb blacklist (VID/PID)

from serial.

tarm avatar tarm commented on July 20, 2024

Is there something like "strace" for windows? It would be interesting to compare the go version with a program that works.

Maybe something like https://msdn.microsoft.com/en-us/library/windows/hardware/ff552060(v=vs.85).aspx or https://technet.microsoft.com/en-us/sysinternals/bb896645.aspx

Sorry, I don't use windows much (and don't have a windows computer or VM to test with at the moment).

from serial.

Timmmm avatar Timmmm commented on July 20, 2024

Do other serial programs on Windows work (e.g. Termite)?

from serial.

BuckarewBanzai avatar BuckarewBanzai commented on July 20, 2024

Experiencing this problem with Windows as well.

from serial.

phoenix147 avatar phoenix147 commented on July 20, 2024

Do other serial programs on Windows work (e.g. Termite)?

As i stated in the original post, other programs and libraries on Windows (python, c, putty, etc) work without issues.

from serial.

phoenix147 avatar phoenix147 commented on July 20, 2024

It seems that the device i was using requires some sort of Flow control. I found out by trying termite on Windows, which also only worked when using RTS/DTS. It seems that other libraries and programs, e.g. putty, are setting this implicitly.

Using another library (https://github.com/jacobsa/go-serial) with support for Flow control seems to be working better. It would be nice to have support for flow control in this library too

from serial.

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.