Board cannot update firmware
-
So after trying to update my firmware, the board seems to not accept any new files to update?
First I tried the web control firmware, this went fine. Next up firmware and web server…. I hit upload in the general tab as usual, and it says 'error' when trying to upload it?
I then tried placing these on the sd card directly and using M997 S0 in both the web interface and through usb control but nothing. It says duetfirmware.bin does not exist.Interestingly, it will not let me upload files for printing either, it comes up with the same 'error' bar when uploading the file. Other commands on the web interface still work.
-
What browser are you using, have you tried different browsers ? Sometimes you can get an error uploading if you have other sessions open at the same time on say another PC.
Jeff
-
When you placed the files directly on the SD card did you put them in the /sys subfolder?
have you had a look here:
https://duet3d.com/wiki/Updating_main_firmwareand here:
https://duet3d.com/wiki/Updating_WiFi_firmware_or_DuetWebControl_filesIt should not be looking for "duetfirmware.bin"
-
Think the Clue might be that the Op did the DWC First this is probably why the rest is failing The WiKi does explicitly state the order of upgrade is Duet Fw followed by WiFi Server followed by DWC.
-
I think that might be the case Dougal, although I don't know how to uninstall the DWC or where to find the old version. I did not see this in the Wiki till after I followed the recent firmware update thread by Chrishamm which had the link for the DWC first, and then the firmware.
Otherwise, yes I have placed it in the .sys folder and there are no other sessions open. Other browsers give the same error.
-
It should still work from USB, even if DWC is not working properly due to a firmware mismatch.
Can you confirm you have the files named correctly? you originally said there was an error finding the firmware file, even from usb.
-
I kept the name the same as what I downloaded, and tried renaming it to what it wanted to find in the error message.
For reference, this is "Duetwififirmware-1.17b.bin" and "duetwififirmware.bin"
-
please can you do a cut and paste of the M997 response, I think capitalisation is important so try with the files names as they are here:
https://duet3d.com/wiki/Updating_WiFi_firmware_or_DuetWebControl_files -
I'm using M997 S0…. it responds with
SENT: M997 S0
RECEIVED: Error: Firmware binary "DuetWiFiFirmware.bin" not found -
Sounds like you file needs to be named exactly "DuetWiFiFirmware.bin" with the same exact capitalization.
Jeff
-
I have tried that, and it doesn't work. I have updated my old duet board using the downloaded file names before. I also doubt that is the issue, as if it was everyone else who downloaded the latest update would have this problem.
Does anyone know how to start from scratch and reupload firmware?
-
I used backup procedure #3 when I replaced my main CPU on the board. See link:
Jeff
-
If you upload new firmware via DWC and accept DWC's offer to install it, then DWC will do the file renaming for you. If you copy the new firmware file to the SD card any other way, then you need to rename the file to the correct name yourself.
-
If you upload new firmware via DWC and accept DWC's offer to install it, then DWC will do the file renaming for you. If you copy the new firmware file to the SD card any other way, then you need to rename the file to the correct name yourself.
That I did not know. How clever is it (just strip the last characters in the file name or inspect the binary header for what firmware type it is?)
-
I will be using the software in back up procedure 3 tonight to bring the board back to life… However I might suggest that incompatible firmware/DWC/wifiserver releases should come with a warning message to stop incompatible installs. Having the wiki is great, but it feels backwards to have to find important info in it after you make the mistake....
-
I will be using the software in back up procedure 3 tonight to bring the board back to life… However I might suggest that incompatible firmware/DWC/wifiserver releases should come with a warning message to stop incompatible installs. Having the wiki is great, but it feels backwards to have to find important info in it after you make the mistake....
You may actually have to downgrade the firmware and then update DWC and WiFIServer then upgrade as needed.
Jeff
-
I have tried that, and it doesn't work. I have updated my old duet board using the downloaded file names before. I also doubt that is the issue, as if it was everyone else who downloaded the latest update would have this problem.
If you send M997 manually then the file names in /sys must be exactly right, e.g. DuetWiFiFirmware.bin.
The general rule is:
1. Install new main firmware. This is always compatible with the previous version of DWC and DuetWiFiServer - although not necessarily compatible with much older versions of DWC.
2. Install the new DuetWiFiServer, if there is a new one.
3. Finally, install the new DWC.
In what way did it "not work" when you renamed the downloaded firmware file to DuetWiFiFirmware.bin and sent M997 S0 ?
-
It did exactly the same as explained above, if I try to upload it via the DWC it says 'error' in the loading bar (same as any upload including .stl files for printing), and if I upload it via usb I get the "DuetWifiFirmware.bin not found" message. This is with and without renaming the files.
-
See backup procedure #1 at https://duet3d.com/wiki/Updating_main_firmware.
-
Last night , experienced almost the same thing.
Updated in the wrong order via the web interface.
Could see a message that renaming failed in the web interface.
Adding the new DuetWifiFirmware.bin to the sd card in the sys folder then M997 S0 would wipe the DuetWifiFirmware.bin file and
gave the error :Firmware binary "DuetWiFiFirmware.bin" not found.
Procedure 3 did the trick, updated to the latest firmwares and webinterface now.