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

    Ethernet connectivity

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    5
    13
    491
    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.
    • DocTruckerundefined
      DocTrucker
      last edited by

      Good point, if you've not got ethernet connection you cant download from the duet web control! 😄

      Two options.

      • Shut down machine, remove sd card and read it from the sys folder.
      • Fire off the following commands to the gcode (one at a time!): M550, M540, M552, M553, M554, M586.

      It sounds like you haven't set up your config.g file yet?

      Running 3 P3Steel with Duet 2. Duet 3 on the shelf looking for a suitable machine. One first generation Duet in a Logo/Turtle style robot!

      1 Reply Last reply Reply Quote 0
      • droftartsundefined
        droftarts administrators
        last edited by

        There's a note on the setup page here: https://duet3d.dozuki.com/Guide/1.)+Getting+Connected+to+your+Duet/7#s20

        The Duet 2 Ethernet and Duet 2 Maestro come with a factory configured fixed address used during testing. This address will probably not work with your network and may cause conflicts. It is recommended to enable DHCP when using the RepRapFirmware configurator to generate your configuration file.

        Not sure if this is still the case. Try sending the following commands:
        M552 S0 : Turns off network, wait a few seconds
        M552 S1 P0.0.0.0 :Turns on network with DHCP enabled
        M586 P0 S1 ; Enable HTTP

        You should then be able to connect as in Step 9: https://duet3d.dozuki.com/Guide/1.)+Getting+Connected+to+your+Duet/7#s11
        Or use the ip address that turning the network back on should provide.

        You should then be able to get into the config.g and edit the network setup, ie the M552 line, to either DHCP or set a network address that works with your network.

        Ian

        Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

        1 Reply Last reply Reply Quote 0
        • heoconnorundefined
          heoconnor
          last edited by

          Thanks, this is super helpful!

          In the meantime, the board seems to have malfunctioned before I had a chance to send the commands and my terminal will no longer recognize it - might need to get a replacement!

          1 Reply Last reply Reply Quote 0
          • droftartsundefined
            droftarts administrators
            last edited by

            Plenty of things to try before replacement: https://duet3d.dozuki.com/Wiki/What_to_do_if_your_Duet_won't_respond

            Please run through that and let us know what does and does not work, especially LEDs on board, voltages, firmware, SD card corruption causing boot loop (so try removing SD card). If you have already wired your board up, could be something as simple as a short circuit in your wiring (endstops are a particular favourite).

            Ian

            Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

            1 Reply Last reply Reply Quote 0
            • heoconnorundefined
              heoconnor
              last edited by

              Hi droftarts,

              Thanks, I've run through the trouble shooting page: https://duet3d.dozuki.com/Wiki/What_to_do_if_your_Duet_won't_respond

              Just to note, I have not connected anything (bar the power and ethernet to the board - was just trying to configure)

              When connected to my laptop, the board no longer powers on, the LEDs flash slowly and then turn off and I get a message on my computer saying:

              'The last USB device you connected to this computer malfunctioned and Windows does not recognise it'.

              I cannot find any coms port with the YAT terminal and my PC will not pick up the board - even when powered on normally.

              Do you think this warrants a replacement or is there something else I could try?

              EasyTargetundefined 1 Reply Last reply Reply Quote 0
              • EasyTargetundefined
                EasyTarget @heoconnor
                last edited by EasyTarget

                @heoconnor said in Ethernet connectivity:

                something else I could try?

                Do you see any power LEDs at all? or just the usb led flickering?
                if No; very quickly try a different USB cable, one you know charges a phone etc. this is a simple test that can avoid hours of weird and frustrating debug.
                USB cables are notorious for partially failing (you lose power, or data, but rarely both) and I've had a cable go bad on me in the middle of a debug session, wasting hours when all I needed to do was swap it out.

                Also: what happens if you use a wall-wart USB charger? does the board show power then?

                Disaster? The original Printeye is dying with RRF 3.5 (M208 depreciated).
                PrintPy2024 to the rescue!
                MicroPython based; with simple wiring and and no custom PCB.

                1 Reply Last reply Reply Quote 0
                • droftartsundefined
                  droftarts administrators
                  last edited by

                  Sounds like a short on the board somewhere, or a component has died, possibly the voltage regulator. Carefully check over the board for any stray metal filings, or anything else that could have bridged connections. As @EasyTarget says, try with a different USB lead, but note that some USB leads only provide power, so you won't be able to connect your PC to the Duet with one of these, even if it does power the board. Post a picture of both sides of your board so we can see if there's anything obvious failed or shorted.

                  Ian

                  Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                  1 Reply Last reply Reply Quote 0
                  • heoconnorundefined
                    heoconnor
                    last edited by

                    The same thing happened trying a different cable:

                    The two red LEDs on either side of USB port flash and then go off, similarly a red and green LED, 3V+ and 3.3V flash and then die.

                    I also tried using a standard usb charger - nothing turned on.

                    screenshot of malfunction message.png

                    IMG_3370.png.jpg

                    IMG_3371.png.jpg

                    IMG_3373.png.jpg

                    1 Reply Last reply Reply Quote 0
                    • dc42undefined
                      dc42 administrators
                      last edited by dc42

                      I am assuming you have nothing connected to the Duet except USB and Ethernet. If you have other devices connected that are drawing power (e.g. a PanelDue) then it could just be that the USB supply you are using can't supply enough power.

                      Try removing the SD card, it's not unknown for them to short the 3.3V supply out.

                      • If the same happens (+5V and +3.3V LEDs on the Duet only flash briefly) -> warranty replacement
                      • If the USB port appears and the 5V and 3.3V LEDs on the Duet remain on, then send M552 S1 via USB to turn on the Ethernet module. If the LEDs stay on and you get a message saying Ethernet is running, the problem is the SD card. We can send you a new one. If the LEDs then go off, the problem is the Ethernet module and it's a warranty replacement again.

                      Duet WiFi hardware designer and firmware engineer
                      Please do not ask me for Duet support via PM or email, use the forum
                      http://www.escher3d.com, https://miscsolutions.wordpress.com

                      heoconnorundefined 1 Reply Last reply Reply Quote 2
                      • heoconnorundefined
                        heoconnor @dc42
                        last edited by heoconnor

                        @dc42 Yes, just USB and Ethernet were connected.

                        I've tried removing the SD card and the same thing happens - As advised, I will return the board for a warranty replacement. Thanks for all your help!

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