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

WiFi issues after erase

Scheduled Pinned Locked Moved
Firmware installation
3
10
784
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.
  • undefined
    crc1337
    last edited by 19 Jun 2019, 00:58

    I'm having trouble with WiFi after the Erase button got pressed accidentally. I have reflashed the main and wifi firmwares (various versions including latest) but it seems the WiFi module just won't come up.

    M552 is removed from my config.g (for testing purposes).

    M552 S0 does not return any response even after several minutes.

    M587 gives "Failed to add SSID to remembered list". M588 also fails to remove/factory reset.

    M122 always seems to report "WiFi module is disabled" no matter what, even in the "Network state is starting" state.

    M997 appears to have no problem flashing, and my firmware files appear to be complete.

    Could I dealing with a bad wifi module? Is there anything else I should try before I start down the path of attempting to replace the module (assuming that is possible)?

    0_1560905552192_M122.txt

    1 Reply Last reply Reply Quote 0
    • undefined
      Phaedrux Moderator
      last edited by 19 Jun 2019, 03:23

      Do you get an error message if you try to do the wifi server firmware update using version 1.23?

      Z-Bot CoreXY Build | Thingiverse Profile

      1 Reply Last reply Reply Quote 1
      • undefined
        dc42 administrators
        last edited by dc42 19 Jun 2019, 07:41

        You may have ended up with incompatible main and WiFi firmware versions. Your main firmware is up to date, but you may be running the old version of DuetWiFiServer that was already on your SD card. That would explain why the WiFi module state is still "Starting" in the M122 report. 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
        • undefined
          crc1337
          last edited by 19 Jun 2019, 14:18

          I suspected that as well, but I've reflashed the wifi firmware multiple times, following the post you referenced and being sure to copy the right version of DuetWiFiServer.bin into the /sys folder on the SD card.

          I am using the main and wifi firmwares from the 2.03 release on GitHub, I believe I also tried main firmware 2.02 and wifi firmware 1.23 (this is what I was running prior to the erase) but I'll give that a try again later today to be sure.

          undefined 1 Reply Last reply 19 Jun 2019, 15:43 Reply Quote 0
          • undefined
            dc42 administrators @crc1337
            last edited by 19 Jun 2019, 15:43

            When you update the wifi firmware, do the messages reported on PanelDue or to USB indicate success?

            Does the DuetWiFiserver.bin file on the SD card have exactly the right size (277,520 bytes) ?

            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

            undefined 1 Reply Last reply 20 Jun 2019, 00:37 Reply Quote 0
            • undefined
              crc1337 @dc42
              last edited by crc1337 20 Jun 2019, 00:37

              The messages from the firmware update process indicate that the upload was successful, and the file size of DuetWiFi.bin in the sys folder on the SD card is exactly 277,520 bytes.

              SENDING: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

              1 Reply Last reply Reply Quote 0
              • undefined
                dc42 administrators
                last edited by 20 Jun 2019, 06:48

                One last thing to try. Comment out whatever M552 command you have in config.g, then start the Duet. Send M552 S0. It should respond "WiFi module is idle". Send M122 to check that it really is idle, not "starting". Then send M588 S"*" to clear out the wifi module remembered SSIDs etc. If that succeeds, try using M587 to add your SSID and password.

                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
                • undefined
                  crc1337
                  last edited by 20 Jun 2019, 14:04

                  My M552 command is commented out, and no response to M552 commands. I am looking at ordering an ESP-12F from Digikey and swapping the module. If I have some time this weekend I may try probing the serial pins of the module just out of curiosity to see if anything else is revealed.

                  undefined 1 Reply Last reply 20 Jun 2019, 14:54 Reply Quote 0
                  • undefined
                    dc42 administrators @crc1337
                    last edited by 20 Jun 2019, 14:54

                    @crc1337 said in WiFi issues after erase:

                    My M552 command is commented out, and no response to M552 commands. I am looking at ordering an ESP-12F from Digikey and swapping the module. If I have some time this weekend I may try probing the serial pins of the module just out of curiosity to see if anything else is revealed.

                    We now use the ESP-12S module, or the ESP-07S if you want the version with external antenna.

                    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
                    • undefined
                      crc1337
                      last edited by 22 Jun 2019, 22:08

                      I replaced the WiFi module with a new ESP-12S and all is well. Thanks for the help!

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