• Tags
  • Documentation
  • Order
  • Register
  • Login
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.
  • undefined
    bcrazycramer
    last edited by 18 Aug 2020, 23:33

    Why do you say it won't help?

    1 Reply Last reply Reply Quote 0
    • ?
      A Former User
      last edited by 18 Aug 2020, 23:35

      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?

      undefined 1 Reply Last reply 18 Aug 2020, 23:36 Reply Quote 0
      • undefined
        bcrazycramer @A Former User
        last edited by 18 Aug 2020, 23:36

        @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
          last edited by 18 Aug 2020, 23:37

          Yeah, although any serial terminal will suffice

          1 Reply Last reply Reply Quote 0
          • undefined
            bcrazycramer
            last edited by bcrazycramer 18 Aug 2020, 23:40

            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
              last edited by 18 Aug 2020, 23:47

              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
              • undefined
                bcrazycramer
                last edited by 18 Aug 2020, 23:57

                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
                  last edited by A Former User 19 Aug 2020, 00:07

                  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
                  • undefined
                    bcrazycramer
                    last edited by 21 Aug 2020, 18:33

                    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
                    • undefined
                      bcrazycramer
                      last edited by 21 Aug 2020, 20:08

                      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
                      • undefined
                        T3P3Tony administrators
                        last edited by 24 Aug 2020, 17:06

                        @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

                        undefined 1 Reply Last reply 24 Aug 2020, 17:10 Reply Quote 0
                        • undefined
                          bcrazycramer @T3P3Tony
                          last edited by 24 Aug 2020, 17:10

                          @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
                          • undefined
                            T3P3Tony administrators
                            last edited by 24 Aug 2020, 17:23

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

                            www.duet3d.com

                            1 Reply Last reply Reply Quote 0
                            • undefined
                              bcrazycramer
                              last edited by 24 Aug 2020, 17:26

                              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
                              29 out of 33
                              • First post
                                29/33
                                Last post
                              Unless otherwise noted, all forum content is licensed under CC-BY-SA