DCS Not starting (Could not connect to Duet)
-
The Pi seems to indicate the Duet is connected but not responding properly.
Are you able to connect to the usb serial console and execute
M115
to show which version of the firmware is running on the Duet now? -
@bearer said in DCS Not starting (Could not connect to Duet):
The Pi seems to indicate the Duet is connected but not responding properly.
Are you able to connect to the usb serial console and execute
M115
to show which version of the firmware is running on the Duet now?So connect it up with Repetier host or something similar and issue M115?
-
Yeah, although any serial terminal will suffice
-
Duet 3 MB6HC Firmware Version 3.1.1 Electronics: Duet 3 MB6HC V1.01 or later
-
Well, thats good news!
Is the cable damaged? Its theoretically possible the cable is the issue, but its at least partially functioning.
There are a few tests you could run to verify the pi and cable is okay by placing some jumpers to connect together some pins on the duet end of the ribbon cable.
this post (and the rest of the thread has a lot of information on this) https://forum.duet3d.com/post/149055
i'd set up the software according to that that link, test the pins of the pi without a ribbon cable, then connect the ribbon cable, and move the shorts to the duet side of the ribbon cable with the pi end connected to the pi. should help pinpoint where the issue is
-
Do we know which pins are being used between the two? My old cable it damaged on the raspberry pi side. The first 20 pins are still in the connector.
-
its noted on the wiring diagram and pretty thoroughly covered in that thread
(the one in the picture looks alright?) -
New ribbon cable installed and I still can't connect to the Duet:
Aug 21 19:31:09 duet3 systemd[1]: Stopped Duet Control Server.
Aug 21 19:31:09 duet3 systemd[1]: Started Duet Control Server.
Aug 21 19:31:10 duet3 DuetControlServer[1868]: Duet Control Server v3.1.1
Aug 21 19:31:10 duet3 DuetControlServer[1868]: Written by Christian Hammacher for Duet3D
Aug 21 19:31:10 duet3 DuetControlServer[1868]: Licensed under the terms of the GNU Public License Version 3
Aug 21 19:31:10 duet3 DuetControlServer[1868]: [info] Settings loaded
Aug 21 19:31:10 duet3 DuetControlServer[1868]: [info] Environment initialized
Aug 21 19:31:10 duet3 DuetControlServer[1868]: [fatal] Could not connect to Duet (Board is not available (no header))
Aug 21 19:31:10 duet3 systemd[1]: duetcontrolserver.service: Succeeded.
Aug 21 19:31:16 duet3 systemd[1]: duetcontrolserver.service: Service RestartSec=5s expired, scheduling restart.
Aug 21 19:31:16 duet3 systemd[1]: duetcontrolserver.service: Scheduled restart job, restart counter is at 64.
Aug 21 19:31:16 duet3 systemd[1]: Stopped Duet Control Server.
Aug 21 19:31:16 duet3 systemd[1]: Started Duet Control Server. -
I created a new SD card with a new image and still get the same error about not being able to contact the Duet.
Do I need to RMA this board?
-
When you connect using a terminal program and Send M122 what result do you get?
It looks like you have the right image on the Pi and the right firmware on the Duet so there is some form of comms issue between the two. Either the Pi GPIO header, the cable or the Duet SBC header and associated electronics.
-
@T3P3Tony said in DCS Not starting (Could not connect to Duet):
When you connect using a terminal program and Send M122 what result do you get?
It looks like you have the right image on the Pi and the right firmware on the Duet so there is some form of comms issue between the two. Either the Pi GPIO header, the cable or the Duet SBC header and associated electronics.
I already have it packed up and ready to ship back to Filastruder for replacement.
-
ah ok we will test it when we get it back.
-
I think I did try it while trouble shooting with the group over on the Jubilee Discord:
pi@duet3:~$ echo M122 | sudo /opt/dsf/bin/CodeConsole
Unhandled exception. System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (99): Cannot assign requested address /var/run/dsf/dcs.sock
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
at DuetAPIClient.BaseConnection.Connect(ClientInitMessage initMessage, String socketPath, CancellationToken cancellationToken) in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetAPIClient/BaseConnection.cs:line 98
at CodeConsole.Program.Main(String[] args) in /home/christian/Duet3D/DuetSoftwareFramework/src/CodeConsole/Program.cs:line 44
at CodeConsole.Program.<Main>(String[] args)
Aborted
pi@duet3:~$