Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    DCS Not starting (Could not connect to Duet)

    Scheduled Pinned Locked Moved Unsolved
    Duet Hardware and wiring
    3
    33
    1.4k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • bcrazycramerundefined
      bcrazycramer
      last edited by

      Why do you say it won't help?

      1 Reply Last reply Reply Quote 0
      • A Former User?
        A Former User
        last edited by

        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?

        bcrazycramerundefined 1 Reply Last reply Reply Quote 0
        • bcrazycramerundefined
          bcrazycramer @A Former User
          last edited by

          @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?

          1 Reply Last reply Reply Quote 0
          • A Former User?
            A Former User
            last edited by

            Yeah, although any serial terminal will suffice

            1 Reply Last reply Reply Quote 0
            • bcrazycramerundefined
              bcrazycramer
              last edited by bcrazycramer

              Duet 3 MB6HC Firmware Version 3.1.1 Electronics: Duet 3 MB6HC V1.01 or later

              1 Reply Last reply Reply Quote 0
              • A Former User?
                A Former User
                last edited by

                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

                1 Reply Last reply Reply Quote 0
                • bcrazycramerundefined
                  bcrazycramer
                  last edited by

                  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.

                  1 Reply Last reply Reply Quote 0
                  • A Former User?
                    A Former User
                    last edited by A Former User

                    its noted on the wiring diagram and pretty thoroughly covered in that thread ๐Ÿ‘†
                    (the one in the picture looks alright?)

                    1 Reply Last reply Reply Quote 0
                    • bcrazycramerundefined
                      bcrazycramer
                      last edited by

                      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.

                      1 Reply Last reply Reply Quote 0
                      • bcrazycramerundefined
                        bcrazycramer
                        last edited by

                        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?

                        1 Reply Last reply Reply Quote 0
                        • T3P3Tonyundefined
                          T3P3Tony administrators
                          last edited by

                          @bcrazycramer

                          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.

                          www.duet3d.com

                          bcrazycramerundefined 1 Reply Last reply Reply Quote 0
                          • bcrazycramerundefined
                            bcrazycramer @T3P3Tony
                            last edited by

                            @T3P3Tony said in DCS Not starting (Could not connect to Duet):

                            @bcrazycramer

                            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.

                            1 Reply Last reply Reply Quote 0
                            • T3P3Tonyundefined
                              T3P3Tony administrators
                              last edited by

                              ah ok we will test it when we get it back.

                              www.duet3d.com

                              1 Reply Last reply Reply Quote 0
                              • bcrazycramerundefined
                                bcrazycramer
                                last edited by

                                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:~$

                                1 Reply Last reply Reply Quote 0
                                • First post
                                  Last post
                                Unless otherwise noted, all forum content is licensed under CC-BY-SA