Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Firmware upgrade from 1.15b fails

    Scheduled Pinned Locked Moved Solved
    Firmware installation
    6
    37
    1.4k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Phaedruxundefined
      Phaedrux Moderator
      last edited by

      This may come in handy as well.

      https://duet3d.dozuki.com/Guide/1.)+Getting+Connected+to+your+Duet/7

      Z-Bot CoreXY Build | Thingiverse Profile

      1 Reply Last reply Reply Quote 0
      • frontrangeundefined
        frontrange
        last edited by frontrange

        I followed the direction to reload (Recovery #3) up to a point and got USB back up.

        Now here's the problem from the web page (Recovery #1):

        "Also copy file iap4e.bin (for Duet WiFi/Ethernet) or iap4s.bin (for Duet Maestro) into /sys
        If your board is a Duet WiFi, also copy the new DuetWiFiServer.bin file into /sys"

        Any idea where I might find these two files because they are not on the 2.04RC1 files area on github.

        1 Reply Last reply Reply Quote 0
        • Phaedruxundefined
          Phaedrux Moderator
          last edited by

          If you're on 1.18.1 check the 1.19 release. This iep files aren't included with every release, only when they change, so you'll have to check through the releases to find.

          The major releases to check would be 1.19, 1.21, and 2.0

          Z-Bot CoreXY Build | Thingiverse Profile

          1 Reply Last reply Reply Quote 0
          • frontrangeundefined
            frontrange
            last edited by

            I got this far, but still no wifi:

            M115
            FIRMWARE_NAME: RepRapFirmware for Duet WiFi FIRMWARE_VERSION: 1.18.1 ELECTRONICS: Duet WiFi 1.0 FIRMWARE_DATE: 2017-04-09
            ok
            M997 S1
            Trying to connect at 460800 baud: success
            Erasing 290848 bytes...
            Uploading file...
            5% complete
            10% complete
            15% complete
            20% complete
            25% complete
            30% complete
            35% complete
            40% complete
            45% complete
            50% complete
            55% complete
            60% complete
            65% complete
            70% complete
            75% complete
            80% complete
            85% complete
            90% complete
            95% complete
            Upload successful
            ok

            1 Reply Last reply Reply Quote 0
            • frontrangeundefined
              frontrange
              last edited by

              Where do I find this please:

              M997 S2
              File DuetWebControl.bin not found
              ok

              1 Reply Last reply Reply Quote 0
              • Phaedruxundefined
                Phaedrux Moderator
                last edited by

                @frontrange said in Firmware upgrade from 1.15b fails:

                Where do I find this please:

                M997 S2
                File DuetWebControl.bin not found
                ok

                Are you currently on 1.18.1?

                https://duet3d.dozuki.com/Wiki/Gcode#Section_M997_Perform_in_application_firmware_update

                S2 - web server file system, filename sys/DuetWebControl.bin (needed only when using RepRapFirmware 1.18 series and earlier for Duet 2 WiFi)

                After 1.18 it stopped being a .bin file and became a separate zip file which unpacked to a /www folder that hosted the files for DWC.

                You can get the webcontrol bins from here: https://github.com/dc42/RepRapFirmware/releases?after=v1.19
                Though you'll need to rename them to DuetWenControl.bin because the file names include the version number.

                You're getting close. Trust me, once you get to 2.0 and reconnected to the DWC the update process becomes far far easier.

                Z-Bot CoreXY Build | Thingiverse Profile

                1 Reply Last reply Reply Quote 0
                • frontrangeundefined
                  frontrange
                  last edited by

                  I do not understand what you are telling me to do. I am on Duet WiFi FIRMWARE_VERSION: 1.18.1 ELECTRONICS: Duet WiFi 1.0 FIRMWARE_DATE: 2017-0

                  I need some actual direction here, if I'm supposed to pick and chose files between different releases, or files are misnamed or whatever I need actual directions that can be followed without bricking this thing again, that is assuming I can resist the urge to crush it with a sledgehammer.

                  A Former User? 1 Reply Last reply Reply Quote 0
                  • Phaedruxundefined
                    Phaedrux Moderator
                    last edited by

                    So I don't think you really need the webcontrol bin at all at this point since you're aim isn't to continue to use 1.18 you want to upgrade past it.

                    So you have 1.18 installed you should be able to follow the procedure here for going from 1.18 to 1.19

                    https://duet3d.dozuki.com/Wiki/Installing_and_Updating_Firmware#Section_Upgrading_to_DuetWiFiFirmware_1_Num_19

                    Z-Bot CoreXY Build | Thingiverse Profile

                    1 Reply Last reply Reply Quote 0
                    • A Former User?
                      A Former User @frontrange
                      last edited by

                      @frontrange said in Firmware upgrade from 1.15b fails:

                      without bricking this thing again

                      I can 100% guarantee you that you will only brick something once... and just to calm the FUD you don't brick a Duet through firmware upgrades, as it can be recovered by USB unless physically broken.

                      That out of the way, there is no point in going through every incremental release, but you really should read the whatsnew section for every release. Then get the full 2.03 stable release which has the complete archive. Now you should be able to update to the 2.04RC1 binary if you need any of the features from that, if not stick with the stable 2.03.

                      1 Reply Last reply Reply Quote 0
                      • frontrangeundefined
                        frontrange
                        last edited by

                        Now what?? Right back to where I started, just stuck at a slightly later release:

                        M997 S2
                        Trying to connect at 460800 baud: success
                        Erasing 3125248 bytes...
                        Uploading file...
                        5% complete
                        10% complete
                        15% complete
                        20% complete
                        25% complete
                        30% complete
                        35% complete
                        40% complete
                        45% complete
                        50% complete
                        55% complete
                        60% complete
                        65% complete
                        70% complete
                        75% complete
                        80% complete
                        85% complete
                        90% complete
                        95% complete
                        Upload successful
                        ok
                        M115
                        FIRMWARE_NAME: RepRapFirmware for Duet WiFi FIRMWARE_VERSION: 1.18.1 ELECTRONICS: Duet WiFi 1.0 FIRMWARE_DATE: 2017-04-09
                        ok

                        1 Reply Last reply Reply Quote 0
                        • dc42undefined
                          dc42 administrators
                          last edited by

                          I suggest you upgrade to 2.03 using this procedure https://duet3d.dozuki.com/Wiki/Installing_and_Updating_Firmware#Section_How_to_recover_if_the_main_firmware_and_WiFi_firmware_versions_get_out_of_step_on_your_Duet_2_WiFi.

                          Duet WiFi hardware designer and firmware engineer
                          Please do not ask me for Duet support via PM or email, use the forum
                          http://www.escher3d.com, https://miscsolutions.wordpress.com

                          1 Reply Last reply Reply Quote 0
                          • frontrangeundefined
                            frontrange
                            last edited by

                            After spending however many hours trying to do what I would have thought was a simple firmware upgrade I've come to the end of my rope with this thing.

                            I followed every set of directions to the letter. I went on a scavenger hunt for the latest needed files spread across multiple releases because nothing is properly organized so you can just do a single download and roll. And I have now got the latest code installed on a controller that will not start the wifi.

                            These directions are crap. Some of the missing steps I could figure out, like they start by telling you to disable the wifi in config, and never tell you to go back and remove the comment, or they tell you to just plug in the sd card and send the upgrade command, but make no mention that the card isn't reread till you power cycle so files will not be found.

                            What other steps are missing? I'm too old to keep torturing myself with trying to get this haphazard collection of ideas to work.

                            Thanks anyway...

                            1 Reply Last reply Reply Quote 0
                            • dc42undefined
                              dc42 administrators
                              last edited by dc42

                              Are you able to connect to the Duet from your PC using YAT or another terminal emulation program? If so, what version does it report when you send M115?

                              Duet WiFi hardware designer and firmware engineer
                              Please do not ask me for Duet support via PM or email, use the forum
                              http://www.escher3d.com, https://miscsolutions.wordpress.com

                              1 Reply Last reply Reply Quote 0
                              • frontrangeundefined
                                frontrange
                                last edited by

                                Told you I'm done, its in the trash where it belongs. Thanks anyway.

                                1 Reply Last reply Reply Quote 0
                                • dc42undefined
                                  dc42 administrators
                                  last edited by dc42

                                  If that's how you feel, I'll mark this as solved so that nobody else who want to help wastes any more time looking at it.

                                  Duet WiFi hardware designer and firmware engineer
                                  Please do not ask me for Duet support via PM or email, use the forum
                                  http://www.escher3d.com, https://miscsolutions.wordpress.com

                                  1 Reply Last reply Reply Quote 0
                                  • frontrangeundefined
                                    frontrange
                                    last edited by

                                    Whatever floats your boat.

                                    dc42undefined 1 Reply Last reply Reply Quote 0
                                    • dc42undefined
                                      dc42 administrators @frontrange
                                      last edited by

                                      I forgot to mention, you have the option of asking for help again and setting it back to unsolved if you change your mind.

                                      Duet WiFi hardware designer and firmware engineer
                                      Please do not ask me for Duet support via PM or email, use the forum
                                      http://www.escher3d.com, https://miscsolutions.wordpress.com

                                      1 Reply Last reply Reply Quote 0
                                      • frontrangeundefined
                                        frontrange
                                        last edited by

                                        After walking away from this for a bit it occurred to me that following those directions may have wiped my network configuration out without happening to mention that tidbit.

                                        Sure enough, that was the last problem. I wouldn't ever recommend this process to anyone else, leave it be or buy a new one. I wasted a full day on this.

                                        dc42undefined 1 Reply Last reply Reply Quote 0
                                        • dc42undefined
                                          dc42 administrators @frontrange
                                          last edited by

                                          @frontrange said in Firmware upgrade from 1.15b fails:

                                          After walking away from this for a bit it occurred to me that following those directions may have wiped my network configuration out without happening to mention that tidbit.

                                          Thanks for pointing this out. Yes, upgrading from pre-1.19 to 1.19 or later firmware requires you to re-enter the WiFi access point details. I'll add this to those instructions.

                                          Duet WiFi hardware designer and firmware engineer
                                          Please do not ask me for Duet support via PM or email, use the forum
                                          http://www.escher3d.com, https://miscsolutions.wordpress.com

                                          1 Reply Last reply Reply Quote 0
                                          • frontrangeundefined
                                            frontrange
                                            last edited by frontrange

                                            Just adding that note isn't a fix for this. The documentation is a cross between a train wreck and a boiler explosion, I've honestly never seen anything like it. You don't give an end user and endless list of if..then..else conditions to get through a firmware upgrade, then leave out a third of the steps.

                                            In the end I went form 1.18.1 to 2.04 in one step, but first I had to scavenge all the files from different places, and then make copies of some with different names to satisfy the initial firmware, etc, not knowing except by trial and error what release of what would work with the other files I collected. Why can't there be one damn image with the latest stuff, and any additional renaming, duplication, whatever in one SD image? That is exactly what I did but it took hours of misdirection to get there...

                                            And then maybe have someone actually run through all the steps and make sure they ARE ALL WRITTEN DOWN...

                                            This board cost me under $200 to buy, and nearly 10X that in my time just to get the stupid firmware update done.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA