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

    Connecting my Duet to a Raspberry pi 4

    Scheduled Pinned Locked Moved
    Firmware installation
    5
    10
    410
    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.
    • sacha1207undefined
      sacha1207
      last edited by

      I have followed the steps listed here https://duet3d.dozuki.com/Wiki/SBC_Setup_for_Duet_3 however the DWC doesn't work it's stuck on "connecting".

      I have tried running

      sudo journalctl -u duetcontrolserver -e
      

      and the output looks something like this

      Nov 18 17:12:11 duet3 DuetControlServer[15625]: Duet Control Server v3.1.1
      Nov 18 17:12:11 duet3 DuetControlServer[15625]: Written by Christian Hammacher for Duet3D
      Nov 18 17:12:11 duet3 DuetControlServer[15625]: Licensed under the terms of the GNU Public License Version 3
      Nov 18 17:12:12 duet3 DuetControlServer[15625]: [info] Settings loaded
      Nov 18 17:12:12 duet3 DuetControlServer[15625]: [info] Environment initialized
      Nov 18 17:12:12 duet3 DuetControlServer[15625]: [fatal] Could not connect to Duet (Board is not available (no header))
      Nov 18 17:12:12 duet3 systemd[1]: duetcontrolserver.service: Succeeded.
      Nov 18 17:12:17 duet3 systemd[1]: duetcontrolserver.service: Service RestartSec=5s expired, scheduling restart.
      Nov 18 17:12:17 duet3 systemd[1]: duetcontrolserver.service: Scheduled restart job, restart counter is at 992.
      Nov 18 17:12:17 duet3 systemd[1]: Stopped Duet Control Server.
      Nov 18 17:12:17 duet3 systemd[1]: Started Duet Control Server.
      Nov 18 17:12:18 duet3 DuetControlServer[15640]: Duet Control Server v3.1.1
      Nov 18 17:12:18 duet3 DuetControlServer[15640]: Written by Christian Hammacher for Duet3D
      Nov 18 17:12:18 duet3 DuetControlServer[15640]: Licensed under the terms of the GNU Public License Version 3
      Nov 18 17:12:19 duet3 DuetControlServer[15640]: [info] Settings loaded
      Nov 18 17:12:19 duet3 DuetControlServer[15640]: [info] Environment initialized
      Nov 18 17:12:19 duet3 DuetControlServer[15640]: [fatal] Could not connect to Duet (Board is not available (no header))
      
      

      I have only found one topic while googling how to fix that but the guy shipped his duet back ..

      I have tried erasing the firmware and installing it anew but I still have the same problem.
      Any ideas as to why this is happening ?

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

        More info need.

        Do you have a sd card with valid config in the Duet? If so remove it.

        How is the Duet connected to the Pi?

        1 Reply Last reply Reply Quote 0
        • sacha1207undefined
          sacha1207
          last edited by

          There is no SD card in the duet and I have connected it with a ribbon cable like the tutorial said. 5ed5cadc-e6ed-4bc4-99f6-d5254293859b-image.png

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

            New board? Could be the factory firmware was too old to update to 3.1.1 via apt.

            Try https://duet3d.dozuki.com/Wiki/Getting_Started_With_Duet_3#Section_Updating_Duet_3_from_RRF3_0_Beta_12_to_3_0_Final_via_DWC

            1 Reply Last reply Reply Quote 0
            • chrishammundefined
              chrishamm administrators @sacha1207
              last edited by

              @sacha1207 Does the diag LED pulse? It sounds like there is something wrong with the Duet firmware because it wants to start a transfer but doesn't send over any data (hence the "no header" error). Try upgrading the firmware to 3.1.1 via USB, see here. Make sure you pick 3.1.1 and not 3.2.0-b3.

              Duet software engineer

              sacha1207undefined 1 Reply Last reply Reply Quote 0
              • sacha1207undefined
                sacha1207 @chrishamm
                last edited by

                The LED does pulse. However I have already reinstalled the firmware following the procedure you linked.

                I erased the firmware with the jumper and used bossa to write Duet3Firmware_MB6HC.bin on the Duet. Maybe I wrote the wrong file ?

                jay_s_ukundefined A Former User? 2 Replies Last reply Reply Quote 0
                • jay_s_ukundefined
                  jay_s_uk @sacha1207
                  last edited by

                  @sacha1207 what image did you use and what have you installed on the pi?
                  Can you also connect to the board via USB and confirm the firmware installed using M115?

                  Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

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

                    @sacha1207 said in Connecting my Duet to a Raspberry pi 4:

                    Duet3Firmware_MB6HC.bin on the Duet. Maybe I wrote the wrong file ?

                    as long as you didnt run apt upgrade after that should be correct file in /opt/dsf/sd/sys yeah

                    1 Reply Last reply Reply Quote 0
                    • Phaedruxundefined
                      Phaedrux Moderator
                      last edited by

                      Does the board work in standalone mode?

                      https://duet3d.dozuki.com/Wiki/Getting_Started_With_Duet_3#Section_Running_in_standalone_mode

                      Z-Bot CoreXY Build | Thingiverse Profile

                      1 Reply Last reply Reply Quote 0
                      • sacha1207undefined
                        sacha1207
                        last edited by

                        Okay ... So I haven't reinstalled the firmware since my first message. M115 told me I'm using version 3.1.1 as expected. I tried running it standalone but it didn't work.

                        Then I reconnected the pi and DWC finally connected. 😥

                        I don't really get what happened here but fortunately it finally works.

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