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

    SD Card failure

    Scheduled Pinned Locked Moved
    Firmware installation
    5
    33
    1.8k
    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.
    • Phaedruxundefined
      Phaedrux Moderator
      last edited by Phaedrux

      You can manually reset the wifi module if you have console access via USB, or a PanelDue. Send M552 S0, to disable networking, followed by M552 S1 to enable networking. When you do so, you should see the blue led on the wifi module blink a few times and then go solid when it has a connection. If the light is off, and stays off, that would mean there is a problem. In that case, send M122 to get a diagnostic report. The wifi part is towards the end, and may provide some insight.

      Z-Bot CoreXY Build | Thingiverse Profile

      1 Reply Last reply Reply Quote 0
      • duncan-rtfmundefined
        duncan-rtfm
        last edited by

        OK, Here's what happens...
        M552 S0
        ok
        M552 S1
        Turn off the current WiFi mode before selecting a new one
        ok
        M122

        • WiFi -
          Network state is starting
          WiFi module is disabled
          Failed messages: pending 0, notready 1, noresp 0
          Socket states: 0 0 0 0 0 0 0 0
          ok
        1 Reply Last reply Reply Quote 0
        • Phaedruxundefined
          Phaedrux Moderator
          last edited by

          Do you happen to know what main and wifi firmware versions you are running?

          Z-Bot CoreXY Build | Thingiverse Profile

          1 Reply Last reply Reply Quote 0
          • duncan-rtfmundefined
            duncan-rtfm
            last edited by

            M122
            === Diagnostics ===
            RepRapFirmware for Duet 2 WiFi/Ethernet version 2.02(RTOS) running on Duet WiFi 1.02 or later
            Board ID: 08DGM-917DA-G4MS8-6JKD6-3SN6N-9TVB9
            Used output buffers: 1 of 20 (10 max)

            And then a bit lower down:
            SD card 0 detected, interface speed: 20.0MBytes/sec
            SD card longest block write time: 0.0ms, max retries 0

            1 Reply Last reply Reply Quote 0
            • duncan-rtfmundefined
              duncan-rtfm
              last edited by

              The SD card is fine. Works on my laptop...

              1 Reply Last reply Reply Quote 0
              • duncan-rtfmundefined
                duncan-rtfm
                last edited by

                This doesn't make sense...

                M552 S0
                ok
                M552 S1
                Turn off the current WiFi mode before selecting a new one
                ok
                M552
                WiFi module is being started
                ok
                M115
                FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 2.02(RTOS) ELECTRONICS: Duet WiFi 1.02 or later FIRMWARE_DATE: 2018-12-24b1
                ok

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

                  What does it respond when you send just M552?

                  Z-Bot CoreXY Build | Thingiverse Profile

                  1 Reply Last reply Reply Quote 0
                  • duncan-rtfmundefined
                    duncan-rtfm
                    last edited by

                    M552
                    WiFi module is being started
                    ok

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

                      So the wifi works with one card but not the other?

                      Z-Bot CoreXY Build | Thingiverse Profile

                      duncan-rtfmundefined 1 Reply Last reply Reply Quote 0
                      • duncan-rtfmundefined
                        duncan-rtfm
                        last edited by

                        I have already had this board replaced because the WiFi module was dead. Now the SD card reader seems to have packed up, and the WiFi board is dead again. I think it is time to put this board in the bin, laugh of the money I paid for it and go bacvk to the original board the Ender3 came with. I'm spending hours and hours just trying to get the board to work. I want to be printing...

                        1 Reply Last reply Reply Quote 0
                        • duncan-rtfmundefined
                          duncan-rtfm @Phaedrux
                          last edited by

                          @phaedrux The wifi was working perfectly until the SD card died. Perhaps there is some magic on the original SD card which is missing on my replacement card. I unzipped the contents of the correct zip file directly onto the SD card, and verified that all the correct files were there.

                          But it's as though the card reader doesn't even see the SD card.

                          And the M122 command results in:
                          SD card 0 detected, interface speed: 20.0MBytes/sec

                          I have no idea if this means that "no SD card detected" or "SD card #0 detected" But no LED light up on the wifi module whren I power up.

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

                            I wonder if there has been a short that could have damaged the SD card and the wifi module.

                            @dc42 will have better insight.

                            Hopefully it's something that can be resolved.

                            Z-Bot CoreXY Build | Thingiverse Profile

                            1 Reply Last reply Reply Quote 0
                            • duncan-rtfmundefined
                              duncan-rtfm
                              last edited by

                              I remembered that I still had the SD card that came with the Ender3, so I put that in - it came up with a bunch of errors (as one might expect), so the SD card reader seems to be working. M122 still says"

                              • WiFi -
                                Network state is starting
                                WiFi module is disabled

                              Which seems to point to the wifi module being faulty (again). Sigh...

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

                                Try re-installing the wifi firmware, by putting the DuetWiFiServer.bin file in folder /sys in the SD card (it must be called exactly DuetWiFiserver.bin, so strip off any version number in the filename), then put the SD card in the Duet, start the Duet, and send M997 S1 from PanelDue or USB.

                                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
                                • duncan-rtfmundefined
                                  duncan-rtfm
                                  last edited by

                                  @dc42 said in SD Card failure:

                                  M997 S1
                                  Hi. I downloaded a fresh copy from GitHub, saved it into the /sys folder of the SD card after renaming the old one DuetWiFiserver-old.bin. Popped the SD card into the board, connected the USB cable, fired up YAT, made connection and then sent M997 S1 Here are the results

                                  M997 S1
                                  M997: File DuetWiFiServer.bin not found
                                  ok

                                  1 Reply Last reply Reply Quote 0
                                  • duncan-rtfmundefined
                                    duncan-rtfm
                                    last edited by

                                    So I'm off to buy a new SD card, and start the process clean.

                                    1 Reply Last reply Reply Quote 0
                                    • duncan-rtfmundefined
                                      duncan-rtfm
                                      last edited by duncan-rtfm

                                      Hi. New card, everything newly loaded.

                                      M997 S1
                                      Trying to connect at 230400 baud: T:34.9 /0.0 T0:34.9 /0.0 T1:33.0 /0.0 B:32.9 /0.0
                                      T:35.0 /0.0 T0:35.0 /0.0 T1:33.0 /0.0 B:32.9 /0.0
                                      Untill...
                                      Error: Installation failed due to comm write error

                                      At least the error message is different this time. That's a hopeful sign. Right?

                                      dc42undefined 1 Reply Last reply Reply Quote 0
                                      • dc42undefined
                                        dc42 administrators @duncan-rtfm
                                        last edited by

                                        Unfortunately that probably means that the WiFi module has failed. However, if you were running M997 S1 with just USB power applied, try again with VIN power applied.

                                        The WiFi module is one of the easier components to replace. The important part is removing the old one without lifting any PCB traces.

                                        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