Ethernet connectivity
-
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?
-
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 HTTPYou 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
-
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!
-
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
-
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?
-
@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?
-
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
-
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.
-
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.
-
@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!