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

    Failed to initialise WiFi module

    Scheduled Pinned Locked Moved Unsolved
    Duet Web Control
    4
    39
    1.3k
    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.
    • CreateAndCarveCNCundefined
      CreateAndCarveCNC
      last edited by

      Hello,

      I am really stumped with how to proceed from here, my machine has been running perfectly until a few days ago when it throughout the day it kept dropping out and then right at the end of the day it completely stopped connecting. Here are some messages that are coming up...

      M115
      FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 3.3 ELECTRONICS: Duet WiFi 1.02 or later FIRMWARE_DATE: 2021-06-15 21:45:03<LF>ok<LF>

      M552 S0
      ok<LF>WiFi module started<LF>Error: Failed to initialise WiFi module: bad reply format version<LF>

      M552
      WiFi module is disabled<LF>ok<LF>

      M587 S"TP-Link_D0FA" P"96505182":
      Error: M587: Failed to add SSID to remembered list: WiFi module is disabled

      M588 S"*"
      Error: M588: Failed to reset the WiFi module to factory settings: WiFi module is disabled

      Is anyone able to help at all please?

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

        @CreateAndCarveCNC reflash the WiFi firmware using M997 S1

        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

        CreateAndCarveCNCundefined 1 Reply Last reply Reply Quote 0
        • CreateAndCarveCNCundefined
          CreateAndCarveCNC @jay_s_uk
          last edited by

          @jay_s_uk Thank you for replying. I have given this ago and it comes up with this

          M997 S1
          Trying to connect at 230400 baud: success<LF>Erasing 4096 bytes...<LF>Erasing 196608 bytes...<LF>Uploading file...<LF>5% complete<LF>10% complete<LF>15% complete<LF>20% complete<LF>25% complete<LF>30% complete<LF>35% complete<LF>40% complete<LF>45% complete<LF>50% complete<LF>55% complete<LF>60% complete<LF>65% complete<LF>70% complete<LF>75% complete<LF>80% complete<LF>85% complete<LF>90% complete<LF>95% complete<LF>Upload successful<LF>ok<LF>WiFi module started<LF>Error: Failed to initialise WiFi module: bad reply format version<LF>

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

            @CreateAndCarveCNC please reconfigure your terminal emulator to recognise <LF> alone as a line terminator, to make the output easier to read.

            M552 S0
            ok<LF>WiFi module started<LF>Error: Failed to initialise WiFi module: bad reply format version<LF>

            Which version of WiFi firmware were you trying to install? Your main board firmware version is old (3.3) and the version of WiFi firmware that you are trying to install may be too recent for 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

            CreateAndCarveCNCundefined 1 Reply Last reply Reply Quote 0
            • CreateAndCarveCNCundefined
              CreateAndCarveCNC @dc42
              last edited by

              @dc42 Thank you for getting back to me. I haven't changed anything just tried to reconnect it again so it did used to work.

              Please can I have the instructions on how to get this information for you to check?

              Many thanks

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

                Can you try and configure it to work in access point mode? This will have the Duet create a wifi network that you then connect to. This will help determine if the module is having the problem or something else.

                https://docs.duet3d.com/User_manual/Reference/Gcodes#m589-configure-access-point-parameters

                Z-Bot CoreXY Build | Thingiverse Profile

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

                  @CreateAndCarveCNC said in Failed to initialise WiFi module:

                  Please can I have the instructions on how to get this information for you to check?

                  There isn't an easy way to check what version a particular WiFi file is; but you could compare the exact size of the DuetWiFiServer.bin file on your SD card with the size of the same file in the RRF 3.3 release at https://github.com/Duet3D/RepRapFirmware/releases/tag/3.3.

                  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

                  CreateAndCarveCNCundefined 1 Reply Last reply Reply Quote 0
                  • CreateAndCarveCNCundefined
                    CreateAndCarveCNC @dc42
                    last edited by

                    @dc42 this is the one on the SD card DuetWiFiServer.bin 255 KB Jun 16, 2021

                    1 Reply Last reply Reply Quote 0
                    • CreateAndCarveCNCundefined
                      CreateAndCarveCNC @Phaedrux
                      last edited by

                      @Phaedrux Unfortunately this hasn't worked, it is still showing the same message

                      Error: M589: Failed to retrieve own SSID data: WiFi module is disabled<LF>ok<LF>

                      ok<LF>WiFi module started<LF>Error: Failed to initialise WiFi module: bad reply format version<LF>

                      Error: M589: Failed to configure access point parameters: WiFi module is disabled<LF>ok<LF>

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

                        Is this a new board, or one that worked previously?
                        When and where did you purchase it?

                        Z-Bot CoreXY Build | Thingiverse Profile

                        CreateAndCarveCNCundefined 1 Reply Last reply Reply Quote 0
                        • CreateAndCarveCNCundefined
                          CreateAndCarveCNC @Phaedrux
                          last edited by

                          @Phaedrux I purchased back in December last year with my CNC machine from Ooznest.
                          Yeah, It has been working perfectly fine for all this time, with almost daily use, up until the end of last week

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

                            Can you also send the following commands via usb terminal and report what they return?

                            M552 S-1
                            M552 S0
                            M588 S"*"
                            M552 S1
                            M997 S1
                            

                            Z-Bot CoreXY Build | Thingiverse Profile

                            CreateAndCarveCNCundefined 1 Reply Last reply Reply Quote 0
                            • CreateAndCarveCNCundefined
                              CreateAndCarveCNC @Phaedrux
                              last edited by

                              @Phaedrux

                              M552 S-1
                              ok<LF>
                              M552 S0
                              ok<LF>WiFi module started<LF>Error: Failed to initialise WiFi module: bad reply format version<LF>
                              M588 S"*"
                              Error: M588: Failed to reset the WiFi module to factory settings: WiFi module is disabled<LF>ok<LF>
                              M552 S1
                              ok<LF>WiFi module started<LF>Error: Failed to initialise WiFi module: bad reply format version<LF>
                              M997 S1
                              Trying to connect at 230400 baud: success<LF>Erasing 4096 bytes...<LF>Erasing 196608 bytes...<LF>Uploading file...<LF>5% complete<LF>10% complete<LF>15% complete<LF>20% complete<LF>25% complete<LF>30% complete<LF>35% complete<LF>40% complete<LF>45% complete<LF>50% complete<LF>55% complete<LF>60% complete<LF>65% complete<LF>70% complete<LF>75% complete<LF>80% complete<LF>85% complete<LF>90% complete<LF>95% complete<LF>Upload successful<LF>ok<LF>WiFi module started<LF>Error: Failed to initialise WiFi module: bad reply format version<LF>

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

                                @CreateAndCarveCNC looks like your wifi module has died to me

                                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

                                CreateAndCarveCNCundefined 1 Reply Last reply Reply Quote 0
                                • CreateAndCarveCNCundefined
                                  CreateAndCarveCNC @jay_s_uk
                                  last edited by

                                  @jay_s_uk Do you think it is unsalvageable?

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

                                    @CreateAndCarveCNC I would guess it will need the wifi module changing. It may be possible with a soldering iron. I usually do it with a hotair station

                                    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

                                    CreateAndCarveCNCundefined 1 Reply Last reply Reply Quote 0
                                    • CreateAndCarveCNCundefined
                                      CreateAndCarveCNC @jay_s_uk
                                      last edited by

                                      @jay_s_uk ok, thank you.

                                      Would you say that would solve the problem or would I need a new one all together?

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

                                        @CreateAndCarveCNC i would say that will probably solve the problem, or at least its a good place to start

                                        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

                                        CreateAndCarveCNCundefined 1 Reply Last reply Reply Quote 0
                                        • CreateAndCarveCNCundefined
                                          CreateAndCarveCNC @jay_s_uk
                                          last edited by

                                          @jay_s_uk ok thank you, can you suggest the best place to purchase from please?

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

                                            @CreateAndCarveCNC which version of the Duet 2 do you have? The older ones have an ESP-12S. When I replaced them, I went for an ESP-07S so I could use an external aerial

                                            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

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