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

    i hate upgrades

    Scheduled Pinned Locked Moved
    Duet Web Control
    6
    24
    1.1k
    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.
    • jens55undefined
      jens55
      last edited by

      I ran into connectivity issues like you are having.
      The things I needed to do are as follows:
      m552 s-1 ; disable wifi module
      g4 s1 ;pause
      m552 s0 ; disable network
      G4 S1 ;pause
      m588 s"*" ; forget all networks
      G4 S1 ; pause
      m587 s"---------" P"===========" ; set new network

      The pauses are probably not needed if you are typing the stuff in on the console but you do need to disable the wifi module before you can ask it to remember a new network.

      kostasbmwundefined 1 Reply Last reply Reply Quote 1
      • A Former User?
        A Former User
        last edited by

        Duets are not shipped "factory reset"; that would mean its blank, with no firmware due to the nature of the microcontroller used. So Duets have the firmware flashed and SD card populated with a default config on top of a reset state.

        IF you send M999 P"ERASE" or place a jumper over the erase pins on the board it will be the cloest you get to resetting it - but that also renders it useless until you perform Fallback procedure #3 you probably have to update DuetWebControl on the SD card as well.

        To reset the WiFi module send M552 S-1 M552 S0 M588 S"*"

        The only thing you achieve by resetting the board is solving any problems related to not following the instructions given here Section_Special_considerations_for_upgrading_between_particular_firmware_versions so I would perhaps suggesting an alternative approach as there is no going back after you erase the board, except the fallback procedure linked above.

        kostasbmwundefined 1 Reply Last reply Reply Quote 0
        • kostasbmwundefined
          kostasbmw @jens55
          last edited by

          @jens55 said in i hate upgrades:

          I ran into connectivity issues like you are having.
          The things I needed to do are as follows:
          m552 s-1 ; disable wifi module
          g4 s1 ;pause
          m552 s0 ; disable network
          G4 S1 ;pause
          m588 s"*" ; forget all networks
          G4 S1 ; pause
          m587 s"---------" P"===========" ; set new network

          The pauses are probably not needed if you are typing the stuff in on the console but you do need to disable the wifi module before you can ask it to remember a new network.

          I GET A FAILED TO RESET THE WIFI MODULE

          1 Reply Last reply Reply Quote 0
          • kostasbmwundefined
            kostasbmw @A Former User
            last edited by

            @bearer
            i followed instructions ..i missed one to uncomment the m552 s1

            the thing is to reset the wifi because without it nothing to do......
            i dont know if i can do something through the sd card

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

              @kostasbmw said in i hate upgrades:

              WiFi Server Version: 1.21

              did you upgrade this along the way?

              download and place DuetWiFiServer.bin (v1.23) on the sd-card in the /sys folder and run

              M552 S0
              M997 S1
              M588 S"*"
              

              confirm the updated version and a blank wifi module with

              M122
              M587
              
              kostasbmwundefined 1 Reply Last reply Reply Quote 0
              • kostasbmwundefined
                kostasbmw @A Former User
                last edited by

                @bearer said in i hate upgrades:

                @kostasbmw said in i hate upgrades:

                WiFi Server Version: 1.21

                did you upgrade this along the way?

                download and place DuetWiFiServer.bin (v1.23) on the sd-card in the /sys folder and run

                M552 S0
                M997 S1
                M588 S"*"
                

                confirm the updated version and a blank wifi module with

                M122
                M587
                

                m552 s0
                ok
                m997 s1
                Trying to connect at 230400 baud: success
                Erasing 4096 bytes...
                Erasing 212992 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
                m588 s"*"
                Error: M588: Failed to reset the WiFi module to factory settings
                ok
                m122
                === Diagnostics ===
                RepRapFirmware for Duet 2 WiFi/Ethernet version 3.1.1 running on Duet WiFi 1.02 or later + DueX2
                Board ID: 08DGM-917NK-F2MS4-7JKFD-3S46R-1HSDD
                Used output buffers: 1 of 24 (1 max)
                === RTOS ===
                Static ram: 27980
                Dynamic ram: 93324 of which 680 recycled
                Exception stack ram used: 320
                Never used ram: 8768
                Tasks: NETWORK(ready,396) HEAT(blocked,1456) DUEX(suspended,160) MAIN(running,1816) IDLE(ready,80)
                Owned mutexes:
                === Platform ===
                Last reset 00:02:20 ago, cause: power up
                Last software reset at 2020-07-08 18:20, reason: User, spinning module GCodes, available RAM 11452 bytes (slot 2)
                Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0441f000 BFAR 0xe000ed38 SP 0xffffffff Task MAIN
                Error status: 0
                MCU temperature: min 25.7, current 30.4, max 30.5
                Supply voltage: min 23.9, current 24.0, max 24.1, 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
                Driver 5: standstill, SG min/max not available
                Driver 6: standstill, SG min/max not available
                Date/time: 1970-01-01 00:00:00
                Cache data hit count 263916142
                Slowest loop: 9.65ms; fastest: 0.14ms
                I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
                === Storage ===
                Free file entries: 10
                SD card 0 detected, interface speed: 20.0MBytes/sec
                SD card longest read time 3.1ms, write time 0.0ms, max retries 0
                === Move ===
                Hiccups: 0(0), FreeDm: 169, MinFreeDm: 169, MaxWait: 0ms
                Bed compensation in use: none, comp offset 0.000
                === MainDDARing ===
                Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0 CDDA state: -1
                === AuxDDARing ===
                Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0 CDDA state: -1
                === Heat ===
                Bed heaters = -1 -1 -1 -1, chamberHeaters = -1 -1 -1 -1
                === GCodes ===
                Segments left: 0
                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
                USB is ready with "m122" in state(s) 0
                Aux is idle in state(s) 0
                Trigger is idle in state(s) 0
                Queue is idle in state(s) 0
                Daemon is idle in state(s) 0
                Autopause is idle in state(s) 0
                Code queue is empty.
                === Network ===
                Slowest loop: 1193.73ms; fastest: 0.00ms
                Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions
                HTTP sessions: 0 of 8

                • WiFi -
                  Network state is disabled
                  WiFi module is disabled
                  Failed messages: pending 0, notready 0, noresp 0
                  Socket states: 0 0 0 0 0 0 0 0
                  === DueX ===
                  Read count 1, 0.43 reads/min
                  ok
                  m587
                  Error: M587: Failed to retrieve network list
                  ok
                  m552
                  WiFi module is disabled
                  ok
                  m552 s0
                  ok
                  WiFi module started
                  this is what i get with m587
                1 Reply Last reply Reply Quote 0
                • dc42undefined
                  dc42 administrators
                  last edited by

                  If you send M552 S0, and then M552 by itself a few seconds later, what does it report?

                  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
                  • kostasbmwundefined
                    kostasbmw
                    last edited by

                    ok i left it and now when i turned the printer on it connected but i got an error telling me to reload the web interface again
                    JavaScript Error

                    A JavaScript error has occurred so the web interface has closed the connection to your board. It is recommended to reload the web interface now. If this happens again, please contact the author and share this error message:

                    Version: 1.22.6
                    Message: Uncaught TypeError: Cannot read property 'toFixed' of undefined
                    URL: http://192.168.1.5/js/dwc.js
                    Line: 4468:75
                    Error object: {}

                    A Former User? dc42undefined 2 Replies Last reply Reply Quote 0
                    • A Former User?
                      A Former User @kostasbmw
                      last edited by

                      @kostasbmw said in i hate upgrades:

                      Version: 1.22.6

                      you should probably update this as well

                      https://github.com/Duet3D/DuetWebControl/releases/tag/3.1.1
                      https://duet3d.dozuki.com/Wiki/Installing_and_Updating_Firmware#Section_Updating_DuetWebControl_files

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

                        @kostasbmw said in i hate upgrades:

                        ok i left it and now when i turned the printer on it connected but i got an error telling me to reload the web interface again
                        JavaScript Error

                        A JavaScript error has occurred so the web interface has closed the connection to your board. It is recommended to reload the web interface now. If this happens again, please contact the author and share this error message:

                        Version: 1.22.6
                        Message: Uncaught TypeError: Cannot read property 'toFixed' of undefined
                        URL: http://192.168.1.5/js/dwc.js
                        Line: 4468:75
                        Error object: {}

                        If you are running RRF 3.1.1 on the main board (which you are according to the M122 report), then you need to run a later version of Duet web Control than 1.22.6.

                        Edit : @bearer beat me to 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

                        kostasbmwundefined 1 Reply Last reply Reply Quote 0
                        • kostasbmwundefined
                          kostasbmw @dc42
                          last edited by kostasbmw

                          @dc42
                          i m trying to locate my version on the dwc

                          i reloaded the the files in the www folder and no error

                          should i reflash with the firmware????
                          my m122

                          m122
                          SENDING:M122
                          === Diagnostics ===
                          RepRapFirmware for Duet 2 WiFi/Ethernet version 3.1.1 running on Duet WiFi 1.02 or later + DueX2
                          Board ID: 08DGM-917NK-F2MS4-7JKFD-3S46R-1HSDD
                          Used output buffers: 1 of 24 (10 max)
                          === RTOS ===
                          Static ram: 27980
                          Dynamic ram: 93324 of which 680 recycled
                          Exception stack ram used: 308
                          Never used ram: 8780
                          Tasks: NETWORK(ready,468) HEAT(blocked,1456) DUEX(suspended,160) MAIN(running,1824) IDLE(ready,80)
                          Owned mutexes: WiFi(NETWORK)
                          === Platform ===
                          Last reset 00:03:40 ago, cause: power up
                          Last software reset at 2020-07-08 18:20, reason: User, spinning module GCodes, available RAM 11452 bytes (slot 2)
                          Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0441f000 BFAR 0xe000ed38 SP 0xffffffff Task MAIN
                          Error status: 0
                          [ERROR] Error status: 0

                          MCU temperature: min 25.0, current 31.2, max 31.4
                          Supply voltage: min 23.9, current 24.0, max 24.2, 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
                          Driver 5: standstill, SG min/max not available
                          Driver 6: standstill, SG min/max not available
                          Date/time: 2020-07-09 17:52:14
                          Cache data hit count 372512281
                          Slowest loop: 9.67ms; fastest: 0.13ms
                          I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
                          === Storage ===
                          Free file entries: 10
                          SD card 0 detected, interface speed: 20.0MBytes/sec
                          SD card longest read time 3.1ms, write time 0.0ms, max retries 0
                          === Move ===
                          Hiccups: 0(0), FreeDm: 169, MinFreeDm: 169, MaxWait: 0ms
                          Bed compensation in use: none, comp offset 0.000
                          === MainDDARing ===
                          Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0 CDDA state: -1
                          === AuxDDARing ===
                          Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0 CDDA state: -1
                          === Heat ===
                          Bed heaters = -1 -1 -1 -1, chamberHeaters = -1 -1 -1 -1
                          === GCodes ===
                          Segments left: 0
                          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
                          USB is ready with "M122" in state(s) 0
                          Aux is idle in state(s) 0
                          Trigger is idle in state(s) 0
                          Queue is idle in state(s) 0
                          Daemon is idle in state(s) 0
                          Autopause is idle in state(s) 0
                          Code queue is empty.
                          === Network ===
                          Slowest loop: 39.96ms; fastest: 0.00ms
                          Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions
                          HTTP sessions: 1 of 8

                          • WiFi -
                            Network state is active
                            WiFi module is connected to access point
                            Failed messages: pending 0, notready 0, noresp 0
                            WiFi firmware version 1.23
                            WiFi MAC address 84:f3:eb:83:44:a8
                            WiFi Vcc 3.38, reset reason Unknown
                            WiFi flash size 4194304, free heap 24632
                            WiFi IP address 192.168.1.5
                            WiFi signal strength -48dBm, reconnections 0, sleep mode modem
                            Socket states: 0 0 0 0 0 0 0 0
                            === DueX ===
                            Read count 1, 0.27 reads/min

                          and this is what the dwc says
                          Board: Duet 2 WiFi (2WiFi)
                          Firmware: RepRapFirmware for Duet 2 WiFi/Ethernet 3.1.1 (2020-05-19b2)
                          Duet WiFi Server Version: 1.23

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

                            M122 will not show DWC version, but you have DWC 1.22.6 and RRF 3.1.1.

                            So you need to also have DWC 3.1.1 which I linked to above. The second link has the instructions on how to extract it to the sd card as DWC is not currently working you need to put the sd card in your computer temporarily.

                            edit: oh, i took the error to mean dwc didn't work, pardon the detour.

                            kostasbmwundefined 1 Reply Last reply Reply Quote 1
                            • kostasbmwundefined
                              kostasbmw @A Former User
                              last edited by

                              @bearer
                              it works i putted the folder files mannually in the sd

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

                                As you have established communication using DWC, you can just upload the version 3.1.1 DuetWebControl.zip file through the DWC Upload System Files button.

                                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

                                kostasbmwundefined 1 Reply Last reply Reply Quote 0
                                • kostasbmwundefined
                                  kostasbmw @dc42
                                  last edited by kostasbmw

                                  @dc42

                                  just finished and i get
                                  Board: Duet 2 WiFi (2WiFi)
                                  Firmware: RepRapFirmware for Duet 2 WiFi/Ethernet 3.1.1 (2020-05-19b2)
                                  Duet WiFi Server Version: 1.23

                                  i hope its ok now

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

                                    The DWC version can also be found in the settings page of DWC.

                                    Z-Bot CoreXY Build | Thingiverse Profile

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