Arduino Mb2hal question (solved)

More
6 years 4 months ago #171865 by Henk
Hi.
I seem to be losing Comms between the Arduino and Linuxcnc.

The Arduino simply reports a value (float) to Linuxcnc every 5 seconds, but this fails to update after a while. Sometimes it will be ok for over an hour but other times it stops after minutes.

I can see the error count (in hal...mb2hal pins) going up rapidly when it doesn't work anymore, but other than that no error messages show up.

Quitting LCNC and disconnecting the usb cable for a second or so and starting back up again fixes the issue only to fail again.

I also noticed that the serial port changes sometimes. ACMtt0 (I think) to ACMtt1 without rebooting the pc. LCNC fails to open because of this but the Arduino was never disconnected.

Is there a way to reserve a certain usb port for the Arduino?

Any advice would be appreciated

Thanks
Henk

Please Log in or Create an account to join the conversation.

Time to create page: 0.038 seconds
Powered by Kunena Forum