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

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

      wget https://pastebin.com/raw/Wa1kYf3G -O - | tr -d "\r" | bash

      pi@duet3:~$ wget https://pastebin.com/raw/Wa1kYf3G -O - | tr -d "\r" | bash
      --2020-08-17 23:28:27-- https://pastebin.com/raw/Wa1kYf3G
      Resolving pastebin.com (pastebin.com)... 104.23.98.190, 104.23.99.190, 2606:4700:10::6817:63be, ...
      Connecting to pastebin.com (pastebin.com)|104.23.98.190|:443... connected.
      HTTP request sent, awaiting response... 200 OK
      Length: unspecified [text/plain]
      Saving to: ‘STDOUT’

      •                                [ <=>                                                       ]     897  --.-KB/s    in 0s      
        

      2020-08-17 23:28:27 (4.97 MB/s) - written to stdout [897]

      Cloning into '/home/pi/BOSSA'...
      remote: Enumerating objects: 11, done.
      remote: Counting objects: 100% (11/11), done.
      remote: Compressing objects: 100% (10/10), done.
      remote: Total 1727 (delta 4), reused 5 (delta 1), pack-reused 1716
      Receiving objects: 100% (1727/1727), 1.15 MiB | 10.41 MiB/s, done.
      Resolving deltas: 100% (1318/1318), done.
      make: wx-config: Command not found
      make: wx-config: Command not found
      CPP APPLET src/WordCopyArm.cpp
      CPP COMMON src/Samba.cpp
      CPP COMMON src/Flash.cpp
      CPP COMMON src/D5xNvmFlash.cpp
      CPP COMMON src/D2xNvmFlash.cpp
      CPP COMMON src/EfcFlash.cpp
      CPP COMMON src/EefcFlash.cpp
      CPP COMMON src/Applet.cpp
      CPP COMMON src/WordCopyApplet.cpp
      CPP COMMON src/Flasher.cpp
      CPP COMMON src/Device.cpp
      CPP COMMON src/PosixSerialPort.cpp
      CPP COMMON src/LinuxPortFactory.cpp
      CPP BOSSAC src/bossac.cpp
      CPP BOSSAC src/CmdOpts.cpp
      LD bin/bossac
      /dev/ttyACM0 not found
      pi@duet3:~$

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

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

        /dev/ttyACM0 not found

        sugget the duet micro usb isn't connected to the pi or the cable isn't working properly?
        (maybe i should move that test up to the top, good idea)

        connect the pi or try another cable? you can run lsusb and just see when the output changes, then run the script again

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

          pi@duet3:~$ lsusb
          Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
          Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
          Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
          pi@duet3:~$

          Can I have both the USB plugged in from the Duet to the PI and Duet VIN power at the same time?

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

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

            Can I have both the USB plugged in from the Duet to the PI and Duet VIN power at the same time?

            if the ribbon cable is connected then adding the usb cable isn't going to make any difference, but you can also do it without Vin if it feels safer.

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

              I found another usb cable:

              pi@duet3:~$ lsusb
              Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
              Bus 001 Device 003: ID 1d50:60ee OpenMoko, Inc.
              Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
              Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
              pi@duet3:~$

              Trying it again.

              Erase Flash

              SAM-BA operation failed

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

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

                Bus 001 Device 003: ID 1d50:60ee OpenMoko, Inc.

                this was the duet, so better cable, presumably that changed to something like Bus 001 Device 008: ID 03eb:6124 Atmel Corp. at91sam SAMBA bootloader

                but either there is still an usb issue or the beforementioned bug is affecting the pi as well. I'd maybe try using the manual procedure from windows and see if its the same. if still troublesome, try yet another cable.

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

                manual instuctions if you prefer: https://duet3d.dozuki.com/Wiki/Getting_Started_With_Duet_3#Section_Updating_Duet_3_main_board_firmware

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

                  Same thing.

                  d6c8494c-4ce2-4a38-88fd-788c5cfa64ea-image.png

                  Verify:

                  6ca1b85d-1473-4e14-82d3-dbe58826760b-image.png

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

                    other options include SAM-BA software or atmel studio. you could also find it works with another computer and/or usb cable.

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

                      I got it to switch to COM4 and got farther:

                      c923c661-a704-43a6-a7fa-7b2ed654206d-image.png

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

                        thats a bit fishy; sounds like the connection was broken when it was COM3 and because the software still were using COM3 it had to be assigned to COM4 when it reconnected (or do you happen to have two separate Duet3 boards connected to to different USB ports?)

                        edit: I'd focus on trying other usb cables/usb ports based on that

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

                          I will give all this a try tomorrow. Thanks!!

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

                            I'm having the same issue this morning using a Dell Laptop. The Duet 3 shows up as Com 3 in Device Manager. Bossa Program Port (Com3). When I try to verify I get the SAM-BA operation failed.

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

                              With another USB cable when I Verify I get Verify failed with page errors and byte errors.

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

                                given the board was flashed and tested before it shipped I'm inclined to think the issue is the usb cables still. its not the first time someone have tried 3 and 4 cables before getting a new one and then succeeding.

                                alternatively trying sam-ba or atmel studio instead of bossa.

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

                                  I wasn't clicking write and then verify. My bad.

                                  Current status after the write and verify:

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

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

                                    How can I get an original 26 pin to 40 pin ribbon cable for the Duet 3 to Raspberry Pi?

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

                                      achrn said in Spare ribbon cable??:

                                      https://shop.pimoroni.com/products/downgrade-gpio-ribbon-cable-for-pi-a-b-pi-2-pi-3-pi-4-40p-to-26p

                                      (but it's not going to affect the issue at hand)

                                      1 Reply Last reply Reply Quote 0
                                      • 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
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA