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.
    • frontrangeundefined
      frontrange
      last edited by

      Hello- I'm having an issue here I don't understand. The directions say to upload the file (I did this through the web interface) and then issue the M997 S2 command which I'm doing over USB using terminal emulator. I've tried this twice now, and everything seems to work without error, but the web interface keeps showing the old 1.15b firmware is installed. I'm trying to load 2.04RC1, can someone tell me what the problem could be?

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

        1.15 is quite old. You may need to upgrade in small steps first. The jump from 1.18 to 1.19 was a big one.

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

        First I would go to 1.18, and then do the process to get to 1.19. From there you should be able to go to 2.0.

        Once you're on 2.0 the update process gets a lot easier since you can upload the full firmware zip file through the DWC and it will manage the entire update process for all files.

        Z-Bot CoreXY Build | Thingiverse Profile

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

          Well, this is just awesome. The oldest I found was 1.18.1 and that install turned it into a brick, I can't get to it with terminal, web, or panel.

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

            Sorry to hear that.

            Give this a read. Should be recoverable.

            https://duet3d.dozuki.com/Wiki/What_to_do_if_your_Duet_won't_respond

            Z-Bot CoreXY Build | Thingiverse Profile

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

              Also when doing such a huge jump in versions (and for any update really) it's a good idea to give the update release notes a read through to catch any of the major changes that require config changes.

              Z-Bot CoreXY Build | Thingiverse Profile

              1 Reply Last reply Reply Quote 0
              • 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
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA