Issues addressing Duet 0.6
-
@jonnybrylcreem You have a typo in your 540 command,
M540 PBE:EF:DE:AD:FE:ED should be
M540 PDE:EF:DE:AD:FE:ED instead. DHCP should work once this has been corrected. -
@ayudtee thanks very much I will give it a go.
-
Ok, so I did manage to get the board to connect to the network using DHCP using old firmware. I had forgotten to add a comment to disable the M554 gateway line.
I should say at this point that I am pretty much blind in one eye and don't see too well with the other one, so I tend to miss little things like that. Sorry
Having re-flashed the board with RepRapFirmware-1.21 however I am pretty much back to square one in that the board will not connect to the network via DHCP, @ayudtee I'm afraid that didn't solve the issue.
I tried cutting and pasting the network commands from the other SD image as well but that didn't solve the issue.
The hotend fan has started running flat out for a split second and then runs at the normal rate for a minute or so before revving up again. The fan led turns off briefly before the fan revs as well, as if the board is resetting.
Any ideas?
Apologies for all these questions, I was hoping this was going to be a quick job!
-
@jonnybrylcreem I have a Duet 0.8.5 running 1.21 on my Ormerod 2 printer and the 540 command that I use for DHCP is:
M540 P0xBE:0xEF:0xDE:0xAD:0xFE:0xED ; MAC AddressHopefully this other format for the 540 command like I am using will also work for you.
-
@ayudtee that was the format that I cut and pasted in, it made no difference. I wondered if it was because my router already had that MAC address in memory from my other printer so I tried changing the last "ED" to "00". Still didn't work.
I'm bound to have done something stupid, I just can't figure out what it is though.
Cheers for the help
-
@jonnybrylcreem Try power-cycling your router, as DHCP was working for the Duet's mac address before you upgraded its firmware.
-
Could you repost the networking portion of your config.g as it currently sits?
I was about to suggest modifying the mac address to make it unique, but I see that you've just tried that without success.
Here is what I would expect to work. If you copy and paste this into your config make sure that the gateway address matches your router. 192.168.1.1 is default commonly, but not always.
M540 PCB:E1:AB:70:29:79 ; Randomly generated MAC address M550 PTESTPRINTERNAME ; New unique name for the printer, all caps M551 Preprap . ; Default password M552 S1 P0.0.0.0 . ; Enable networking and use DHCP M553 P255.255.255.0 ; Set default Netmask M554 P192.168.1.1 ; Gateway IP address. Should match the IP of your router
If this were me troubleshooting, and that still doesn't work, I would attempt a factory reset on the router (after backing up and documenting the current configuration, and only connecting the Duet to the router and nothing else and seeing if the Duet shows up as a device.
-
I think the first problem that I need to address is that the board keeps resetting itself since I have flashed firmware 1.21 to it.
I previously thought it was just the fan dropping in and out but having tried to connect to Pronterface I can see that the board will initially connect and then after about 30 seconds it seems to disconnect. All the LED's go out on the board, the hotend fan shuts down and then everything powers up again. This process then just keeps cycling.
I get the following message on Pronterface:
I've tried re-flashing the board but I get exactly the same problem.
I don't think the board stays powered up for long enough before resetting to even try to connect to the router.
Any ideas please?
-
After the board has reset itself, run M122 and look for the "Last reset reason" in the report. If it's a software reset, also look at the "last software reset" data.
There is a known issue with recent firmware versions on Duet 06/085 that I have been unable to reproduce or track down. It causes resets on some systems when DHCP is used.
You could also try the just-released 1.21.1 firmware.
-
VICTORY IS MINE!
@dc42 @ayudtee @Phaedrux thanks for all your help.
@dc42 I had come to the conclusion it was a comms issue causing the reset as I had traced the fault to only occurring when the Ethernet port was connected to the network.
I've given the board a static IP address and that seems to have cured the problem. I'm afraid I was unable to look at the "last reset reason", the board just didn't want to report back.
I will give the new firmware a go at some point, first of all I want to finish putting the printer together and try to get it to print something!
Thanks again
Jon