Duet2 Upgrade - 2.x -> 3.4.6
-
Hey guys.
I am looking for help to get my Duet's upgraded towards 3.4.6 to get optimal control of firmware and wifi.
I have updated the Duet succesfully to the 3.4.6 - and can connect to wifi using YAT - however when connecting to the IP in my browser. I am getting the error: (Same as i had in 2.x and new www. files from jay_s_uk helped on that one) I tried making new config files using the configurator but it doesn't seem to be correct ones I am getting.
"Your Duet rejected the HTTP request: page not found
Check that the SD card is mounted and has the correct files in its /www folder"Cant really attach zipped files as they become too big.
Please let me know what kind of information is needed.I just noticed my Config files says im running 3.3 but when i am running M115 in YAT i am told i got firmware version 3.4.6.
Sorry for the messy post, but I am so clueless
-
@mikep91 did you unzip the files i linked to previously?
it could also be that your wifi firmware is out of date. you can get the latest one for your version from here https://github.com/Duet3D/RepRapFirmware/releases/download/3.4.3/DuetWiFiServer.bin
put it in a folder called firmware on the sd card and then sendM997 S1
-
Hey Jay.
Yes I did, they work great on the old duet. and also the new duet 3.4.6.
However when creating a new config file - I can't get the web-access anymore. If i upload the files i previously made for the version 2.x - it is now working.....
So I think i should reconfigure my old config towards the 3.4.6 and leave the www. files and everything should be working.
-
@mikep91 the old DWC shouldn't be used with 3.4.6.
These files will work https://github.com/Duet3D/RepRapFirmware/releases/download/3.4.6/DuetWebControl-SD.zip -
These are the ones on my 3.4.6 board and the wifi is not working unfortunately.
If i use the old files - my browser connection works.
I have no idea why, but it works like this :S
Then i just "gotta" change my heater control in the config from M305 to the new commands?
-
This is my old firmware for 2-3 heater control on the Duet using PT100 sensors - how would this look 3.4.6?
; Heaters
M140 H-1 ; disable heated bed
M305 P1 X200 ; configure PT100 for heater 1
M143 H1 S500 ; set temperature limit for heater 1 to 500C
M305 P2 X201 ; configure PT100 for heater 2
M143 H2 S500 ; set temperature limit for heater 2 to 500C
;M305 P3 X202 ; configure PT100 for heater 3
;M143 H3 S500 ; set temperature limit for heater 3 to 500CM570 H1 P30 T100 ; 100C overshoot for 30 sec permitted heater 1
M570 H2 P30 T100 ; 100C overshoot for 30 sec permitted heater 2; Fans
; Tools
M563 P0 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
M563 P1 H2 F0 ; define tool 1
G10 P1 X0 Y0 Z0 ; set tool 1 axis offsets
G10 P1 R0 S0 ; set initial tool 1 active and standby temperatures to 0C
;M563 P2 H3 F0 ; define tool 2
;G10 P2 X0 Y0 Z0 ; set tool 2 axis offsets
;G10 P2 R0 S0 ; set initial tool 2 active and standby temperatures to 0C -
I tried updating the firmware aswell, but it does not let me do it for some reason:
-
@mikep91 did you put the sd card back in the board?
is the sd card formatted as fat32?
its saying it can't find the file which is probably whats happening with the DWC files too -
Yeah it is back in the board - FAT32 filesystem also.
TBH i will just use the old DWC files atm as they are working on both my old and new firmwares....
But am really looking for how to setup my heater control in the 3.4.6, old software was looking like this:
M563 P0 H1 F0 ; define tool 0
M305 P1 X200 ; configure PT100 for heater 1
M570 H1 P30 T100 ; 100C overshoot for 30 sec permitted heater 1New ones should be:???? M950 and M308 as i understand but I have no idea what code structure means.....
This is how far i got and this is giving me some weird errors
M308 S0 P"spi.cs2" Y"thermocouple-max31856" ; configure sensor 0 as thermocouple via CS pin spi.cs2
M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0
M307 H0 B1 S1.00 ; enable 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"spi.cs1" Y"rtd-max31865" ; configure sensor 1 as PT100 on pin spi.cs1
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
M308 S2 P"spi.cs3" Y"rtd-max31865" ; configure sensor 2 as PT100 on pin spi.cs3
M950 H2 C"e1heat" T2 ; create nozzle heater output on e1heat and map it to sensor 2
M307 H2 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
M143 H2 S280 ; set temperature limit for heater 2 to 280C -
I tried doing this but I am getting the error that no heaters is assigned
M308 S0 P"spi.cs1" Y"rtd-max31865"
M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0
M307 H0 B1 S1.00 ; enable bang-bang mode for the bed heater and set PWM limit
M308 S1 P"spi.cs1" Y"rtd-max31865"
M950 H1 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0
M307 H1 B1 S1.00 ; enable bang-bang mode for the bed heater and set PWM limit
M143 H1 S500 ; set temperature limit for heater 1 to 500C
M143 H2 S500 ; set temperature limit for heater 2 to 500C
;M143 H3 S500 ; set temperature limit for heater 3 to 500C