Idiot's Guide To Upgrading Duet Firmware
-
-
Now to see what doesn't work .. haha
-
Thank you so much to everyone who helped me through this upgrade; especially @Phaedrux who spent a disproportionate amount of time on my problems. You guys are awesome!
I've learned a lot going through this process and have lost a lot of the trepidation I felt when I used to think of making changes to the firmware. Now I have an up-to-date firmware and future upgrades should be easy.
I PID tuned the bed and hotend heaters (that was so easy and the Duet calibration guide is clear and very well done), adjusted the homez.g and homeall.g files a bit to make Z drop a bit after hitting the endstop (I home to the top), and I am making a few tweaks to the fans. There might be more but I did make a nice short print already.
Tomorrow I'll try adjusting pressure advance again and start tweaking other settings. And I'll make backups.
Thank you all again! I'm so happy to be back printing.
-
Very pleased your printer is working again.
Please let us know how the pressure advance is working in your other topic. Very interested to see if this upgrade fixed your issue.
-
Glad you got it all up and going.
Now that you're up and running, I would suggest uploading the 3.4.5 zip file once more in DWC. This will make sure you have all the needed files for the next update in place. These files would have been missed when doing the manual upgrade path.
Let us know how you get on.
-
@tas said in Idiot's Guide To Upgrading Duet Firmware:
Please let us know how the pressure advance is working in your other topic. Very interested to see if this upgrade fixed your issue.
I will soon; I'm having some success ...
-
@Phaedrux said in Idiot's Guide To Upgrading Duet Firmware:
Now that you're up and running, I would suggest uploading the 3.4.5 zip file once more in DWC. This will make sure you have all the needed files for the next update in place. These files would have been missed when doing the manual upgrade path.
Thanks! I uploaded that .zip file and everything went up but when I clicked install (I hope I was supposed to) this error appeared:
-
@Phaedrux said in Idiot's Guide To Upgrading Duet Firmware:
Glad you got it all up and going.
I could not have done it without you. Thank you again!!
I looked at your profile and funnily enough we're almost neighbors; I live in Alberta. If you ever are in Edmonton stop by and visit.
-
Aside from making some adjustments to some acceleration and speed change settings I believe everything is working except the part cooling fans won't turn on automatically; I can turn them on manually in DWC.
The definitions are as follows:
; Fans. The comments are mixed up I think. They dont match the definitions M950 F0 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency / this is the hotend fan M106 P0 S0 H1 T45 ; set fan 1 value. Thermostatic control is turned on M950 F2 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency M106 P2 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
I think something is mixed up.
I also think the fans may be wired to wrong pins on the board but wasn't the one who set up the board and can't check on my own.
The hotend fan works properly. The two part cooling fans spin as one.
-
@gbartsch said in Idiot's Guide To Upgrading Duet Firmware:
I looked at your profile and funnily enough we're almost neighbors; I live in Alberta. If you ever are in Edmonton stop by and visit.
Small world. I have two brothers living in Edmonton actually. I don't get down there very often anymore though.
-
@gbartsch said in Idiot's Guide To Upgrading Duet Firmware:
The definitions are as follows:
Can you post the full config.g as it is now? Would need to see the tool definition as well. Also ideally know which is connected where.
@gbartsch said in Idiot's Guide To Upgrading Duet Firmware:
The two part cooling fans spin as one.
Are they wired together in parallel to a single header, or one to each?
-
-
@Phaedrux I'm thinking they are wired together in parallel. I can't look but my friend who set up the machine might be able to take a look at the wiring in a little over a week. Then I could say for sure.
I played with the fan definitions after looking at the old working definitions and came up with this:
M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency / hotend fan M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on
The fans are working now but DWC looks like this ...
Aren't Tool Fan and Fan 0 different things? 35% is the part cooling speed I set in the slicer. The hotend fan is spinning 100%.
Here's my entire config.g ..
; Configuration file for Duet WiFi (firmware version 3.3) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.3.15 on Sun Jan 29 2023 19:52:14 GMT-0700 (Mountain Standard Time) ; General preferences M575 P1 S1 B57600 ; enable support for PanelDue G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"Brutus" ; set printer name ; Network M552 P0.0.0.0 S1 ; enable network and acquire dynamic address via DHCP M586 P0 S1 ; enable HTTP M586 P1 S1 ; enable FTP M586 P2 S0 ; disable Telnet ; Drives M569 P0 S1 ; physical drive 0 goes forwards M569 P1 S1 ; physical drive 1 goes forwards M569 P2 S1 ; physical drive 2 goes forwards M569 P3 S1 ; physical drive 3 goes forwards M584 X0 Y1 Z2 E3 ; set drive mapping M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation M92 X99.96 Y100.07 Z400.00 E523.52 ; set steps per mm M566 X1000.00 Y1000.00 Z24.00 E3000.00 ; set maximum instantaneous speed changes (mm/min) M203 X30000.00 Y30000.00 Z900.00 E2700.00 ; set maximum speeds (mm/min) M201 X1000.00 Y1000.00 Z200.00 E3000.00 ; set accelerations (mm/s^2) M906 X800 Y800 Z800 E500 I30 ; set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout ; Dimensions M208 X-10 Y0 Z0 S1 ; set axis minima M208 X214 Y214 Z218.315 S0 ; set axis maxima ; Endstops M574 X2 S1 P"xstop" ; configure switch-type (e.g. microswitch) endstop for high end on X via pin xstop M574 Y2 S1 P"ystop" ; configure switch-type (e.g. microswitch) endstop for high end on Y via pin ystop M574 Z2 S1 P"zstop" ; configure switch-type (e.g. microswitch) endstop for high end on Z via pin zstop ; Z-Probe M558 P0 H5 F120 T6000 ; disable Z probe but set dive height, probe speed and travel speed M557 X40:195 Y5:195 S20 ; define mesh grid ; Heaters M308 S0 P"bedtemp" Y"thermistor" T100000 B4092 ; configure sensor 0 as thermistor on pin bedtemp M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0 M307 H0 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit M140 H0 ; map heated bed to heater 0 M143 H0 S120 ; set temperature limit for heater 0 to 120C M308 S1 P"e0temp" Y"thermistor" T100000 B4267 ; configure sensor 1 as thermistor on pin e0temp M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1 M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit M143 H1 S280 ; set temperature limit for heater 1 to 280C ; Fans M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency / this is the hotend fan M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on ; Tools M563 P0 S"E3D-V6" D0 H1 F0 ; define tool 0 G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C ; Custom settings M912 P0 S1.6 ; 2020.06.15 - Calibrate the MCU temp ; Miscellaneous M501 ; load saved parameters from non-volatile memory M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss T0 ; select first tool
-
@Phaedrux said in Idiot's Guide To Upgrading Duet Firmware:
Small world.
Wow, that's cool. It's surely is a small world.
-
@gbartsch said in Idiot's Guide To Upgrading Duet Firmware:
Aren't Tool Fan and Fan 0 different things?
Nope. The tool fan slider is the same as your part cooling fan of the currently selected tool, so if you had multiple tools, that slider would work for whichever tool was selected.
@gbartsch said in Idiot's Guide To Upgrading Duet Firmware:
35% is the part cooling speed I set in the slicer. The hotend fan is spinning 100%.
That sounds correct for your config.
-
@Phaedrux said in Idiot's Guide To Upgrading Duet Firmware:
That sounds correct for your config.
Awesome! Thank you for checking that. Then this firmware upgrade is a success!
I'm printing now and can see some differences immediately. Infill is now connecting to perimeters; that was a thorny issue I could not solve for a long time but is much better now.
-
@gbartsch
Nice print for a custom cartesian dinosaur machine! -
@tas Thank you! You figure this is OK? It's PET-G at 230C and 40mm/s (dino; ergo slow). I'm pleased for it being one of the first prints after a major firmware update. There's tweaking to do but I feel this is a good start.
-
@gbartsch
I find that to print a really good part you have to print slowly. You also have to print several of the parts and tweak the settings for that specific part.Then, when you finally have your really good part, you will have had enough time to think up some design changes and start all over again.
-
@tas It's a game of iteration and never being satisfied.
Here's another print that has improved markedly after this firmware upgrade. I'm not sure why but wonder if part of the reason is pressure advance is working and tuned, and my acceleration and speed change settings are higher than before? Regardless, I'm pleased.
-
@gbartsch
I have found that every upgrade brings some improvement to print quality.Of course the slicers have improved too.