Unable to update to 3.4.5 from 2.05
-
This post is deleted! -
@Herve_Smith said in Unable to update to 3.4.5 from 2.05:
Duet2and3Firmware-3.0.zip
yes I am aware of the issue. I have already tried and re-tried the solution you have provided. I still get the same error message.
M997: In-application programming binary "iap4e.bin" not found
I can't use DWC to upload the firmware since it comes up with an error message saying it's incompatible with the firmware. I have been connecting the duet to my pc then issueing M997 S0.
I have copied the combinded firmware and the iap onto the sd card.![sd.png]
I get an error
-
This post is deleted! -
@Herve_Smith said in Unable to update to 3.4.5 from 2.05:
the system appears to be looking for "iap4e.bin" so i think if you re-name the file called Duet2CombinedIAP.bin
to iap4e.bin and try thatNo, don't do that. Instead, download https://github.com/Duet3D/RepRapFirmware/releases/download/2.05/Duet2Firmware-2.05.zip, extract iap4e.bin from that, and then upload it vis DWC.
-
@dc42
Thanks for the reply.I am going to document this here just in case someone else encounters the same issue.
The upgrade from 2.05 to 3.4.5, trashed my DWC and didn't upgrade the main firmware. Using the usb connection to the duet and pronterface, I confirmed I was still running 2.0.5. But my DWC was running the latest version.
Using an sd card reader, I copied the iap4e.bin file to the /sys folder. I downloaded DuetWebControl-SD-2.04.zip. I extracted all the files in the zip file into the www folder. This restored Duet Web Control to a version that is compatible with firmware version 2.05.
I downloaded Release 3.0 firmware then uploaded it via DWC. Then downloaded the latest firmware and uploaded that.
I also had to use the reprap config tool to generate a new set of configuration files compatible with the latest firmware.
-
This post is deleted! -
@Herve_Smith assuming it's a genuine Duet, that file will have been on the SD card when you received it. It will also have been re-uploaded any time you upgraded by uploading a version 1.x or 2.x RRF release zip file.
-
This post is deleted! -
@Herve_Smith is this not sufficient? https://docs.duet3d.com/en/User_manual/RepRapFirmware/Updating_firmware#updating-from-older-firmware-versions
-
@Herve_Smith said in Unable to update to 3.4.5 from 2.05:
can you kindly direct me to the documentation where this issue (and how to rectify it) is listed for future reference ?
I think I meant to update the documentation the last time this came up, here: https://forum.duet3d.com/topic/32903/fw-update-not-working-2-05-to-3-0-watchdog
I have now updated the firmware update documentation. To the 'Updating from RRF 1.x or 2.x' tab I've added the first step as:
- Make sure you have an 'iap4e.bin' (for Duet 2 WiFi/Ethernet) or 'iap4s.bin' (for Duet 2 Maestro) file in your SD card /sys folder. This is the 'In-App Programmer' that flashes the firmware, and without it the firmware update will fail. See the 'Required files' section above for details where to download this if it is missing.
To the 'Required files' section I've added:
In-App programmer (IAP) binary - This file is needed on the SD card and does the job of programming the firmware. There is a specific version for each Duet board. They don’t change with every firmware release, but new versions often accompany major firmware releases. You will get a message if it is missing, with the filename it expects, and (in DWC 3.3 and later) the location it expects to find it. If it is missing, check the firmware version your Duet is currently using, and download the iap file from the matching firmware version on the Duet3D Github repository. If the IAP file isn't included in the 'Assets' list of that firmware release, it should be in the .zip file for that release.
Ian
-
This is why in my rather convoluted update process I ask people to use I have them upload the primary release zip files even if they are already on that release.
And updating from 1.x is even more involved.
In this case I would update to 2.0 first, and then 2.05.1 and then 3.0 and then 3.1.1. The last 3 of those are quite easy once you're on 2.0. It may seem tedious to do it this way, but it also ensures you have all the needed files from all the releases along the way.
First start with the 2.0 bin file. Upload it to the /sys folder and then send M997 to flash it if it doesn't detect it automatically.
https://github.com/Duet3D/RepRapFirmware/releases/download/2.0/Duet2CombinedFirmware.bin
At this point you can upload the web interface update zip file to the /sys folder, as is, don't extract it.
https://github.com/Duet3D/RepRapFirmware/releases/download/2.0/DuetWebControl-1.21.1.zip
Now you should be able to upload the modern release zip files, as is, don't extract it, straight to the /sys folder. It should detect and update the firmware and web interface and reboot.
Upload these zip files, one at a time in the system tab. Don't extract them first. Reboot after each. Use M115 in the gcode console to verify the firmware has been applied.
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.5/Duet2and3Firmware-3.4.5.zip -
This post is deleted!