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

    Cannot upgrading firmware from 2.05.1 to 3.0 and 3.4.5

    Scheduled Pinned Locked Moved Solved
    Firmware installation
    4
    44
    1.6k
    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.
    • genioluiz7undefined
      genioluiz7
      last edited by

      Hi everyone,
      today, I decided to update my Duet Wifi v1.04 from v2.05.1 to 3.4.5.
      Some dates about the 3D printer:
      • 3D printer: Anycubic Chiron
      • Motherboard: Duet 2 WiFi
      • Firmware name: RepRapFirmware for Duet 2 WiFi/Ethernet
      • Firmware_version: 2.05.1
      • Eletronics: Duet WiFi 1.02
      • Firmware date: 2020-02-09b1

      Cannot connect to DWC
      Error DWC.png

      These are the web site I visited until now:
      • https://docs.duet3d.com/User_manual/RepRapFirmware/Updating_firmware
      • https://docs.duet3d.com/User_manual/Referenc
      • https://docs.duet3d.com/en/How_to_guides/Getting_connected/Getting_connected_to_your_Duet
      • https://docs.duet3d.com/User_manual/Troubleshooting/WiFi_troubleshooting
      In this article (https://forum.duet3d.com/topic/28000/duet-2-wifi-v1-04-web-interface-incompatible-firmware-version/4 ) I found a person who had the same problem, but I tried without results.

      As you can see in this other image I substituted some installation files in the www folder.
      www folder before and after.png
      Next, you can see the error message.
      Error www folder.png

      I reset the modem ADSL, I tried to connect to the phone hotspot, to import (following the instructions https://docs.duet3d.com/User_manual/RepRapFirmware/Updating_firmware) due to SD card all the files for the update of the firmware 3.0.0.

      I tried a Fallback procedure using USB port and YAT too.
      YAT.png

      Any Ideas ? I tryed allready for a few hours to solve the problem.
      Thanks!

      Savier

      jay_s_ukundefined droftartsundefined 2 Replies Last reply Reply Quote 0
      • droftartsundefined
        droftarts administrators @genioluiz7
        last edited by

        @genioluiz7 I'd guess that the SD card has been corrupted just enough for the Duet not to be able to read it, as it has been working up until now. You even have a picture of the newer version of DWC in your first post, so it got that far. To get to the point where it says "Your Duet rejected the HTTP request", the firmware is starting up, the config.g is read (it has to be, to turn the networking on), it is connecting to your network, and the request from your browser is making it to the Duet. It's just that the Duet can't find the file the browser is requesting, which could be because it is corrupted, or not in the correct place.

        While the SD card can be read in your PC, it has the benefit of a sophisticated operating system, with gigabytes of memory. The microcontroller on the Duet runs everything in 0.5MB! So the SD card does need to be in the best condition.

        Try:

        • Copy any important files (eg contents of sys folder) to your PC.
        • reformatting the SD card, see https://docs.duet3d.com/en/User_manual/RepRapFirmware/SD_card#formatting
        • Create the folder structure, copy files back to SD card
        • Make sure you use the version of DWC that matches the firmware version on the Duet.

        Ian

        Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

        genioluiz7undefined 1 Reply Last reply Reply Quote 0
        • jay_s_ukundefined
          jay_s_uk @genioluiz7
          last edited by

          @genioluiz7 can you post a screenshot of the contents of the SD card and of the www folder?
          Can you also post an output of M122

          Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

          genioluiz7undefined 1 Reply Last reply Reply Quote 0
          • droftartsundefined
            droftarts administrators @genioluiz7
            last edited by

            @genioluiz7 see https://docs.duet3d.com/User_manual/RepRapFirmware/Updating_firmware#updating-from-older-firmware-versions
            In the 'Updating from 1.x or 2.x', there's this:

            If you are updating a Duet 2 WiFi from RRF 1.18.2 or earlier, you will also need to manually update the WiFi firmware via USB or PanelDue. See 'Updating WiFi firmware' instructions below. And you will need to unzip the Duet Web Control zip file into a folder called 'www' on the SD card. See SD card for the current SD card structure.

            I think you have already unpacked the updated DWC files into the www folder on the SD card.

            Follow the instructions here: https://docs.duet3d.com/User_manual/RepRapFirmware/Updating_firmware#updating-wifi-firmware

            Ian

            Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

            genioluiz7undefined 1 Reply Last reply Reply Quote 2
            • genioluiz7undefined
              genioluiz7 @jay_s_uk
              last edited by

              @jay_s_uk sure

              efe790e5-422b-415e-8a9a-39ecb7cd0c09-image.png

              af6cdf5e-381c-49d3-a66b-53ec59a50e59-image.png

              5f3ae0d4-8f6b-4442-81f1-914a7525ee39-image.png

              M122
              === Diagnostics ===
              RepRapFirmware for Duet 2 WiFi/Ethernet version 2.05.1 running on Duet WiFi 1.02 or later
              Board ID: 0JD0M-9P6M2-NW4SN-6J1DG-3SD6J-TUT3L
              Used output buffers: 1 of 24 (3 max)
              === RTOS ===
              Static ram: 25712
              Dynamic ram: 93140 of which 0 recycled
              Exception stack ram used: 312
              Never used ram: 11908
              Tasks: NETWORK(ready,1416) HEAT(blocked,1232) MAIN(running,3736) IDLE(ready,160)
              Owned mutexes:
              === Platform ===
              Last reset 00:02:23 ago, cause: power up
              Last software reset time unknown, reason: User, spinning module GCodes, available RAM 11732 bytes (slot 1)
              Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0441f000 BFAR 0xe000ed38 SP 0xffffffff Task 0x4e49414d
              Error status: 0
              Free file entries: 10
              SD card 0 not detected, interface speed: 20.0MBytes/sec
              SD card longest block write time: 0.0ms, max retries 0
              MCU temperature: min 24.1, current 28.9, max 29.1
              Supply voltage: min 0.2, current 24.2, max 24.4, under voltage events: 0, over voltage events: 0, power good: yes
              Driver 0: standstill, SG min/max not available
              Driver 1: standstill, SG min/max not available
              Driver 2: standstill, SG min/max not available
              Driver 3: standstill, SG min/max not available
              Driver 4: standstill, SG min/max not available
              Date/time: 1970-01-01 00:00:00
              Cache data hit count 382506108
              Slowest loop: 5.08ms; fastest: 0.05ms
              I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
              === Move ===
              Hiccups: 0, FreeDm: 160, MinFreeDm: 160, MaxWait: 0ms
              Bed compensation in use: none, comp offset 0.000
              === DDARing ===
              Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0
              === Heat ===
              Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1
              Heater 2 is on, I-accum = 0.0
              === GCodes ===
              Segments left: 0
              Stack records: 1 allocated, 0 in use
              Movement lock held by null
              http is idle in state(s) 0
              telnet is idle in state(s) 0
              file is idle in state(s) 0
              serial is ready with "M122" in state(s) 0
              aux is idle in state(s) 0
              daemon is idle in state(s) 0
              queue is idle in state(s) 0
              autopause is idle in state(s) 0
              Code queue is empty.
              === Network ===
              Slowest loop: 12.44ms; fastest: 0.00ms
              Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)
              HTTP sessions: 0 of 8

              • WiFi -
                Network state is running
                WiFi module is connected to access point
                Failed messages: pending 0, notready 0, noresp 0
                WiFi firmware version 1.27
                WiFi MAC address 84:0d:8e:b3:04:69
                WiFi Vcc 3.40, reset reason Turned on by main processor
                WiFi flash size 4194304, free heap 25800
                WiFi IP address 192.168.1.53
                WiFi signal strength -56dBm, reconnections 0, sleep mode unknown
                Socket states: 0 0 0 0 0 0 0 0
                ok
              jay_s_ukundefined 1 Reply Last reply Reply Quote 0
              • jay_s_ukundefined
                jay_s_uk @genioluiz7
                last edited by

                @genioluiz7 said in Cannot upgrading firmware from 2.05.1 to 3.0 and 3.4.5:

                SD card 0 not detected, interface speed: 20.0MBytes/sec

                do you have the SD card in the board when you ran this?
                Can you also confirm what filesystem the SD card has been formatted in? (it should be FAT32 to work)

                Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                genioluiz7undefined 1 Reply Last reply Reply Quote 0
                • genioluiz7undefined
                  genioluiz7 @jay_s_uk
                  last edited by

                  @jay_s_uk no the SD card was in my pc when I run M122. Do I retry the command with the SD card inside?

                  The SD card is formatted correctly

                  c3bb6fe1-7378-4279-b6fe-090ca2df79de-image.png

                  jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                  • jay_s_ukundefined
                    jay_s_uk @genioluiz7
                    last edited by

                    @genioluiz7 yes, would just help to make sure its being read correctly

                    Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                    genioluiz7undefined 1 Reply Last reply Reply Quote 0
                    • genioluiz7undefined
                      genioluiz7 @jay_s_uk
                      last edited by

                      @jay_s_uk === Diagnostics ===
                      RepRapFirmware for Duet 2 WiFi/Ethernet version 2.05.1 running on Duet WiFi 1.02 or later
                      Board ID: 0JD0M-9P6M2-NW4SN-6J1DG-3SD6J-TUT3L
                      Used output buffers: 1 of 24 (11 max)
                      === RTOS ===
                      Static ram: 25712
                      Dynamic ram: 93140 of which 0 recycled
                      Exception stack ram used: 320
                      Never used ram: 11900
                      Tasks: NETWORK(ready,1416) HEAT(blocked,1232) MAIN(running,3736) IDLE(ready,160)
                      Owned mutexes:
                      === Platform ===
                      Last reset 00:14:53 ago, cause: power up
                      Last software reset time unknown, reason: User, spinning module GCodes, available RAM 11732 bytes (slot 1)
                      Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0441f000 BFAR 0xe000ed38 SP 0xffffffff Task 0x4e49414d
                      Error status: 0
                      Free file entries: 10
                      SD card 0 detected, interface speed: 20.0MBytes/sec
                      SD card longest block write time: 0.0ms, max retries 0
                      MCU temperature: min 28.8, current 32.6, max 32.9
                      Supply voltage: min 1.5, current 1.7, max 24.4, under voltage events: 1, over voltage events: 0, power good: no
                      Driver 0: standstill, SG min/max not available
                      Driver 1: standstill, SG min/max not available
                      Driver 2: standstill, SG min/max not available
                      Driver 3: standstill, SG min/max not available
                      Driver 4: standstill, SG min/max not available
                      Date/time: 1970-01-01 00:00:00
                      Cache data hit count 2698876049
                      Slowest loop: 1.71ms; fastest: 0.05ms
                      I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
                      === Move ===
                      Hiccups: 0, FreeDm: 160, MinFreeDm: 160, MaxWait: 0ms
                      Bed compensation in use: none, comp offset 0.000
                      === DDARing ===
                      Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0
                      === Heat ===
                      Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1
                      Heater 2 is on, I-accum = 0.0
                      === GCodes ===
                      Segments left: 0
                      Stack records: 1 allocated, 0 in use
                      Movement lock held by null
                      http is idle in state(s) 0
                      telnet is idle in state(s) 0
                      file is idle in state(s) 0
                      serial is ready with "M122" in state(s) 0
                      aux is idle in state(s) 0
                      daemon is idle in state(s) 0
                      queue is idle in state(s) 0
                      autopause is idle in state(s) 0
                      Code queue is empty.
                      === Network ===
                      Slowest loop: 200.45ms; fastest: 0.06ms
                      Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)
                      HTTP sessions: 0 of 8

                      • WiFi -
                        Network state is running
                        WiFi module is connected to access point
                        Failed messages: pending 0, notready 0, noresp 1
                        WiFi firmware version 1.27
                        WiFi MAC address 84:0d:8e:b3:04:69
                        WiFi Vcc 3.40, reset reason Turned on by main processor
                        WiFi flash size 4194304, free heap 25800
                        WiFi IP address 192.168.1.53
                        WiFi signal strength -56dBm, reconnections 0, sleep mode unknown
                        Socket states: 0 0 0 0 0 0 0 0
                        ok
                      jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                      • jay_s_ukundefined
                        jay_s_uk @genioluiz7
                        last edited by

                        @genioluiz7 so thats fine. does it still show as Duet ejected your HTTP request when you navigate to 192.168.1.53?

                        Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                        genioluiz7undefined 1 Reply Last reply Reply Quote 0
                        • genioluiz7undefined
                          genioluiz7 @jay_s_uk
                          last edited by

                          @jay_s_uk said in Cannot upgrading firmware from 2.05.1 to 3.0 and 3.4.5:

                          192.168.1.53

                          35fdd511-424c-4c5e-992b-26e5d5e1213a-image.png

                          jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                          • jay_s_ukundefined
                            jay_s_uk @genioluiz7
                            last edited by

                            @genioluiz7 ok, i see the issue.
                            replace the contents of the www folder with the contents of this zip file https://github.com/Duet3D/RepRapFirmware/releases/download/2.05/DuetWebControl-SD-2.04.zip

                            Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                            genioluiz7undefined 1 Reply Last reply Reply Quote 0
                            • genioluiz7undefined
                              genioluiz7 @jay_s_uk
                              last edited by

                              @jay_s_uk
                              Just to specify... Have I to unzip this file and put all the files inside in the www folder?

                              jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                              • jay_s_ukundefined
                                jay_s_uk @genioluiz7
                                last edited by

                                @genioluiz7 yep

                                Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                                genioluiz7undefined 1 Reply Last reply Reply Quote 0
                                • genioluiz7undefined
                                  genioluiz7 @jay_s_uk
                                  last edited by

                                  @jay_s_uk ok now? retry M122?

                                  jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                                  • jay_s_ukundefined
                                    jay_s_uk @genioluiz7
                                    last edited by

                                    @genioluiz7 now try the ip address again (obviously with the SD card inserted and the board power cycled)

                                    Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                                    genioluiz7undefined 1 Reply Last reply Reply Quote 0
                                    • genioluiz7undefined
                                      genioluiz7 @jay_s_uk
                                      last edited by

                                      @jay_s_uk Error www folder.png again

                                      jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                                      • jay_s_ukundefined
                                        jay_s_uk @genioluiz7
                                        last edited by

                                        @genioluiz7 my only other thought is that you're running the latest wifi firmware with 2.05.1.
                                        put this file https://github.com/Duet3D/RepRapFirmware/releases/download/3.0/Duet2CombinedFirmware.bin
                                        and this file https://github.com/Duet3D/RepRapFirmware/releases/download/3.0/Duet2CombinedIAP.bin
                                        in the "sys" folder thats on the SD card.
                                        Then with the sd card inserted send M997 using YAT
                                        that should install 3.0. you can then confirm using M115
                                        then try browsing to the IP address again

                                        Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                                        genioluiz7undefined 1 Reply Last reply Reply Quote 0
                                        • genioluiz7undefined
                                          genioluiz7 @droftarts
                                          last edited by

                                          @droftarts I've already tried this

                                          1 Reply Last reply Reply Quote 0
                                          • genioluiz7undefined
                                            genioluiz7 @jay_s_uk
                                            last edited by

                                            @jay_s_uk
                                            So, have I just to put them in the sys folder? b9da4d2d-eb2f-4c73-9e8a-71697becffa0-image.png

                                            jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                                            • jay_s_ukundefined
                                              jay_s_uk @genioluiz7
                                              last edited by

                                              @genioluiz7 yep, then run M997 etc

                                              Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

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