Skip to content

Serial port hits EOF randomly during run #62

@capaulson

Description

@capaulson

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions