Welcome! Log In Create A New Profile

Advanced

Strange behavior one Duet

Posted by lolocaledo 
Strange behavior one Duet
October 20, 2015 09:36AM
Hello,

With my two Duet controllers, the problem occurs
All two Duet can be updated to the last version of DC42's firmware with Bossac, Web interface works fine, PanelDue works fine but impossible to connect to the USB with Pronterface on Macos or Arduino software.
Mini sensor works fine too.
On Pronterface, I have the following error message :

"Connecting...
[ERROR] Can't read from printer (disconnected?) (OS Error 6): Device not configured
[ERROR] Can't write to printer (disconnected?) (SerialException): write failed: [Errno 6] Device not configured
[ERROR] Can't read from printer (disconnected?) (OS Error 6): Device not configured
[ERROR] Can't write to printer (disconnected?) (SerialException): write failed: [Errno 6] Device not configured
[ERROR] Can't read from printer (disconnected?) (OS Error 6): Device not configured
[ERROR] Can't write to printer (disconnected?) (SerialException): write failed: [Errno 6] Device not configured
[ERROR] Can't read from printer (disconnected?) (OS Error 6): Device not configured
[ERROR] Can't write to printer (disconnected?) (SerialException): write failed: [Errno 6] Device not configured
[ERROR] Aborting connection attempt after 4 failed writes.
[ERROR] Can't read from printer (disconnected?) (OS Error 6): Device not configured"

Any ideas will be welcome :-)

Laurent

Edited 1 time(s). Last edit at 10/20/2015 09:37AM by lolocaledo.
Re: Strange behavior one Duet
October 20, 2015 01:10PM
If your PC is running Windows, check with Device Manager what COM port number the Duet appears as. It will not be the same port number as when you program the port using bossac.

Also be aware of the following bug, believed to be in the Arduino Due driver stack. After connecting Pronterface, if you disconnect, power down or reset the Duet without first doing Disconnect in Pronterface, the USB port on the PC is flagged as busy and you can't reconnect from Pronterface. If you get into this situation, you will need to disconnect/reconnect the USB cable, and probably terminate and restart Pronterface too.



Large delta printer [miscsolutions.wordpress.com], E3D tool changer, Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Re: Strange behavior one Duet
October 21, 2015 11:37AM
Pronterface is OpenSource AFAIK?
It can't be too difficult to write a "close all connections first" code before terminating the program.
-Olaf
Re: Strange behavior one Duet
October 22, 2015 06:49AM
Hi,

After some tests :

Try to connect with Pronterface under Mac OS X on Duet 0.6 and Duet 0.85 ---> same error
Try to connect with Pronterface under Windows on Duet 0.6 and Duet 0.85 .... all is fine

I try to come back to old version of Pronterface for MAC .... and it's fine !!!
seems that the problem come from last version of Pronterface on Macintosh
Sorry, only registered users may post in this forum.

Click here to login