Web Control and firmware not compatible anymore
-
Hi together,
I had problems calibrating my delta printer in the last days (the deviation remained at around 40 µm and I could not find any loose part or anything else explaining it). So I tried dating up the printer in the hope that the calibration routine was maybe improved at some point (I hoped for mixing several delta calibrations together or something similar).So for my Duet 2 Wifi hardware I downloaded the two files in the 3.4.1 release (https://github.com/Duet3D/RepRapFirmware/releases/tag/3.4.1rc1) which seem to fit for my printer:
- Duet2CombinedFirmware.bin
and - DuetWebControl-SD.zip
The firmware I could upload via Web Control and everything seemed ok. Afterwards I uploaded the DuetWebControl-SD.zip to the printer and now I cannot use it any more. The Web Control shows a blue box in the center of the screen in front of the greyed out rest of Web Control with "Connecting..." written in it and is not able to connect any more. In the bottom (also greyed out) there is a red box with "Failed to connect to <Printer-IP>". Before restarting the printer the red box said that the firmware version was incompatible. After restarting the printer it now reports a JSON parsing error on the first character in the first line.
I could now do something with the SD card in the printer but I honestly have no idea what I have to do manually on the SD card now and which versions of firmware and Web Control are working together with each other.
I would be really thankful for some help and advice to get my printer up and running again.
P.S. I am not at home from tomorrow morning until Monday, so I cannot work on the problem this weekend. I hope I will be able to at least answer in this forum with my mobile phone.
- Duet2CombinedFirmware.bin
-
@fg which Firmware did you have on the duet before the upgrade?
-
It was 1.22.6. I just found the downloaded files on my computer. Is there a way to manually replace the new firmware and web server with this versions? Are they stored directly on the SD card and can just be replaced with copy/paste?
-
1.22.6 to 3.4.1rc1 is too huge of a jump in versions to take in one leap.
At this point the best way to get things back to normal would be to take the SD card and replace the /www folder contents with the DWC files from version 1.22.6.
The firmware itself is likely still 1.22.6 because it can't update to 3.4 directly.
If you do want to update firmware all the way to 3.4 there are a few ways to go about it.
Since you're coming from RRF 1.x, I would suggest updating to 2.0 > 2.05.1 > 3.0 > 3.1.1
The first update to 2.0 will allow you to use the modern simple method of uploading the entire release zip file. Updating from 1.21 to 2.0 will require uploading the bin file and some IAP files and sending M997 S0.
First batch of files to upload:
https://github.com/Duet3D/RepRapFirmware/releases/download/2.0/Duet2CombinedFirmware.bin
https://github.com/Duet3D/RepRapFirmware/releases/download/2.0/iap.bin
https://github.com/Duet3D/RepRapFirmware/releases/download/2.0/iap4e.bin
https://github.com/Duet3D/RepRapFirmware/releases/download/2.0/iap4s.bin
https://github.com/Duet3D/RepRapFirmware/releases/download/2.0/DuetWebControl-1.21.1.zipThen send M997 S0 and it should update to 2.0. Then upload these zip files as is, one at a time.
https://github.com/Duet3D/RepRapFirmware/releases/download/2.05.1/Duet2Firmware-2.05.1.zip
https://github.com/Duet3D/RepRapFirmware/releases/download/3.0/Duet2and3Firmware-3.0.zip
https://github.com/Duet3D/RepRapFirmware/releases/download/3.3/Duet2and3Firmware-3.3.zip
https://github.com/Duet3D/RepRapFirmware/releases/download/3.4.0/Duet2and3Firmware-3.4.0.zip
Doing it this way ensures you have all the appropriate IAP files and DWC versions installed along the way.
Using bossa is another option, but you may end up missing some IAP files or have an incompatible version of DWC which would require some manual file placement afterwards. The IAP files for 2.05.1 would matter if you ever wanted to go from 3.x back to 2.x. And the IAP files from 3.0 are required to go to 3.1.1+
Since you're already using wifi server 1.23 you don't need to reflash it. You also don't need to use bossa to flash it, since you can flash it with the duet itself sending M997 S1 over the usb console if needed.
The other more direct option is to flash the firmware using USB and bossa, and then manually create the correct files and folders on the SD card and place the correct DWC files. This may be quicker, but also you need to know what you're doing.
https://docs.duet3d.com/en/User_manual/RepRapFirmware/Updating_firmware
-
@phaedrux Thank you for this very detailed description containing all this links!
I just came home and replaced the /www folder with the 1.22.6 Web Control content and the printer is back online.
It now shows the following versions:Firmware: 2.05.1 (2020-02-09b1)
WiFi: 1.23
Web Control: 1.22.6I updated the Web Control at the end of February 2020 and the firmware .bin file in this folder has no version info in its name. So I probably updated the printer already to 2.05.1 back then. Sorry for the confusion with the versions.
Tomorrow I am going to follow your update routine starting at 2.05.1. -
@phaedrux I installed 3.0 and now the bed and hotend have a measured temperature of -273.1 °C and also the defaults for the "active" and "standy" temperatures are -273 °C. I have a delta printer with a Smart Effector and before reloading the Web Controller, the old Web Controller also showed that the z probe is read as permanently triggered now. After restarting and reloading everything I now have Duet Web Control 2.0.4 and there the z probe is not shown any more. So I cannot say if it is still read faulty. But the measured and default bed and heater temperatures remain at -273.1 °C.
After the update, before reloading the web interface I tried the M308 command from here:
https://docs.duet3d.com/en/User_manual/Connecting_hardware/Temperature_connecting_PT100
to properly configure the heater. A second heater showed up in the interface for a moment, afterwards it reloaded itself to the new version where only the one original heater was shown again, but still with the absolute zero temperature measured as well as shown on the touch display as active and standy temperature. -
@phaedrux
I found this guide how to adapt the configuration for the version 3 firmware:I could fix the temperature sensors and heaters but failed with the z probe. First I added it to the z axis which lead to my printer crashing in the endstop continuously. After adding it to E0 the "normal" endstops of my delta printer at the top of each axis work again. I implemented the z probe in the config.g now as follows:
M558 P5 C"e0stop" X0 Y0 Z0 R0.4 H30 F1000 T6000 ; Set Z probe type to unmodulated, the axes for which it is used and the probe + travel speeds ; Z probe parameters G31 K0 P100 X0.0 Y0.0 Z-0.02
before it was:
M558 P5 X0 Y0 Z0 R0.4 H30 F1000 T6000 ; Set Z probe type to unmodulated, the axes for which it is used and the probe + travel speeds ; Z probe parameters G31 T1 P100 X0.0 Y0.0 Z-0.02
Due to this change the z probe value is shown in the Web Control again. But it still is permanently triggered with a value of 1000. I could not find any information in the link above why this should happen and what is the source of the error. I did not dare to start a calibration run because I am afraid that the printer will chip down my glass bed while misreading the z probe sensor.
Also I am a little bit afraid to continue updating after this 3.0 version because the linked guide above says that from 3.01 on I have to define my fans with the M950 command and the pins they use. But without disassembling my whole printer setup I have no idea which pins they use and would need to try them out until the correct fan is spinning. Is there a way to read out the pins for the automatically detected fans in 3.0?
-
@fg said in Web Control and firmware not compatible anymore:
But without disassembling my whole printer setup I have no idea which pins they use and would need to try them out until the correct fan is spinning.
In RRF 2.x, fans are numbered from 0 up. Same is true for other devices like heaters and steppers. Using these schematics you can map the old numbering scheme to the new pin names for
M950
. -
@fg said in Web Control and firmware not compatible anymore:
I could fix the temperature sensors and heaters but failed with the z probe. First I added it to the z axis which lead to my printer crashing in the endstop continuously. After adding it to E0 the "normal" endstops of my delta printer at the top of each axis work again. I implemented the z probe in the config.g now as follows:
M558 P5 C"e0stop" X0 Y0 Z0 R0.4 H30 F1000 T6000 ; Set Z probe type to unmodulated, the axes for which it is used and the probe + travel speeds
; Z probe parameters
G31 K0 P100 X0.0 Y0.0 Z-0.02before it was:
M558 P5 X0 Y0 Z0 R0.4 H30 F1000 T6000 ; Set Z probe type to unmodulated, the axes for which it is used and the probe + travel speeds
; Z probe parameters
G31 T1 P100 X0.0 Y0.0 Z-0.02Due to this change the z probe value is shown in the Web Control again. But it still is permanently triggered with a value of 1000.
It looks like your Z probe is connected to the ZProbe connector on the Duet, but your M558 command assumes it is connected to the E0_Stop connector. So change "e0stop" in the M558 command to "zprobe.in".
-
@dc42 Thank you very much for the correct name of the connector. With this change everything was running under 3.0 so I continued to 3.3. I had to play around a little bit to understand the new fan control but in the end I was able to make them work again as they did before.
But with 3.3 the touch screen (PanelDue) is not able to connect to the printer any more. It shows "Connecting" in the upper right corner and gets no data about the printer. In the setup tab it tells its software version to be 1.17. I found out that I have a 5 inch version of the PanelDue but not more details about the hardware. Here:
https://docs.duet3d.com/User_manual/RepRapFirmware/Updating_PanelDue
"late V2/V3/5i/7i PanelDue" are mentioned and I don't know if my PanelDue is a V1 oder V2 or a normal 5" or even 5i. How can I find out if I can install the improved firmware on my PanelDue? And when I cannot install it, will version 1.25 at least allow my PanelDue to communicate with my printer again or do I have to downgrade it to 3.0 again and stay at this version in order for the PanelDue to work?
-
Allow me to cite that:
For all versions of RepRapFirmware up to RRF 3.1.1, and all versions of PanelDue, use PanelDue firmware version 1.25.0
So, depending on the Paneldue you have, you may be limited to RRF 3.1.1.
However, as you have v1.17 installed, you have to upgrade the display via USB (i.e. with Bossa), which means you need physical access to the PanelDue - at least to its USB connector and the reset and erase buttons. That’s a good chance to check which kind of board you own
-
@fg do you have a M575 line in your Config.g to configure the Serial comms for the PanelDue?
see https://docs.duet3d.com/en/User_manual/Reference/Gcodes.Doug
-
In RRF3 you need to tell it you have a PanelDue connected and set the baud rate.
M575 P1 B57600 S1
It may be beneficial to create a new config using the online tool for 3.x just to see an example of the syntax.
-
@fg said in Web Control and firmware not compatible anymore:
don't know if my PanelDue is a V1 oder V2 or a normal 5" or even 5i.
You can post a photo of the paneldue and we can get an idea what it is. Also when you connect to it with Bossa it will give you the CPU/RAM info about it and that will narrow it down further.
-
@phaedrux Thank your for the information. Also thank you Dougal1957 for coming up with the M575 command. I missed the part that I need it in the newer firmware. With this command the PanelDue with its version 1.17 connects to the DuetWifi with firmware 3.3.
Unfortunately I get a lot of guests tomorrow which stay until the end of the week. So I am busy preparing different things. I am going to open the case of my PanelDue and connect to it via USB as infiniteloop suggested on Monday in order to find out which version I have. I will let you know as soon as I have more information about it. And even though we have just Wednesday now, I wish you all a nice weekend!
-
I opened my PanelDue and it is labelled V 3.0. Due to my firmware already being V. 3.3 I was able to manually press the erase and reset button and upload new firmware (sending the erase and reset commands from the Duet board failed). I tried out the PanelDue firmware 1.25 for PanelDue 3.0-4.3 but this resulted in black stripes on the touch screen which was no longer reacting. However the binary for 3.0-5.0 worked.
Afterwards I updated the DuetWiFi first to 3.4.0 and afterwards to 3.4.1. With this working, I finally updated the PanelDue to 3.4.1 pre 2.
Now everything is up to date and working again. Thank you all very much!
-
-
-
@fg said in Web Control and firmware not compatible anymore:
Now everything is up to date and working again.
Good to hear.
-
-