Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serial port hits EOF randomly during run #62

Open
capaulson opened this issue Apr 30, 2017 · 1 comment
Open

Serial port hits EOF randomly during run #62

capaulson opened this issue Apr 30, 2017 · 1 comment

Comments

@capaulson
Copy link

I haven't been able to run a single reliability.

My hardware is a tinyg g2 running on a Due (latest version from master). The board is powered with an external supply, has a 100uF cap on Vin and is connected with a short USB cable (2ft) to a MacBook pro. The board is in a shielded box driving a Gecko G540. The spindle drive electronics are ~2-3ft away.

I'm running Version:1.94. The output of -v when the code fails is:

2017/04/30 11:33:42 serialport.go:187: Hit end of file on serial port
2017/04/30 11:33:42 serialport.go:193: EOF
2017/04/30 11:33:42 serial.go:141: Unregistering a port: /dev/cu.usbmodem1421
2017/04/30 11:33:42 serialport.go:363: Shutting down writer on /dev/cu.usbmodem1421
2017/04/30 11:33:42 serialport.go:257: writerBuffered just got closed. make sure you make a new one. port:/dev/cu.usbmodem1421

Any thoughts on why the serial port is crashing?

@johnlauer
Copy link
Owner

johnlauer commented Apr 30, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants