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.
    • A Former User?
      A Former User @duncan-rtfm
      last edited by

      @duncan-rtfm said in SD Card failure:

      OK, I've found this site: https://github.com/T3P3/Duet/tree/master/Duet2/SD Card Contents but I have no idea how to actually download the files. Clicking on them opens up their contents. There is no download button.

      https://github.com/T3P3/Duet/blob/master/Duet2/SD Card Contents/SD_Card_Contents.zip
      0_1562234327308_03c2c7ce-ee94-4b3b-90f3-51129acf1d0d-image.png

      1 Reply Last reply Reply Quote 0
      • A Former User?
        A Former User @duncan-rtfm
        last edited by

        @duncan-rtfm said in SD Card failure:

        Hi, I've had this before. The card is not even recognised by Windows. The only acnowledgement it receives is a message saying that the card is not recognised.

        Format the card as FAT32 (or if needed open the disk manager and create a partition on the card, format it and assign a drive letter)

        @duncan-rtfm said in SD Card failure:

        So basically, I need to build a new card. I have the card, and I have the files. I just can't figure out how to get the files onto the card.

        you should have a removable drive that is accessible under My Computer after the step above, then just copy the files accross.

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

          Download the SD card files as a .zip file as @bearer shows 2 posts up. Then extract the files from that zip file to the root of the SD card. If your PC runs Windows 10, see https://www.simplehow.tips/a/56/how-to-zip-and-unzip-files-in-windows10.

          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
          • A Former User?
            A Former User
            last edited by

            (Files other than .zip wil have a similar button that may saw "Raw" that will allow you to download individual files off GitHub, but in this case the zip file is the convenient way to do it.)

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

              Hi. I have downloaded the zip file, unzipped them into the root of a new SD card, and inserted it into the Duet board. I switched the power on, but there is no light which comes on to show that the WiFi module is active. And navigating to its IP address results in a time out error message. I'm running out of ideas.

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

                @duncan-rtfm
                The Wifi was working flawlessly till the SD card died. Do I just copy the files onto the card? Nothing else? How does the board know that boot files are there? Does the SD card need any special partitions or boot files? How does it even know to read what's on the card when it fires up?

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

                  @duncan-rtfm The SD card doesn't need anything fancy. It's just an SD card. The only thing that needs to be there are the folders and the config files. The main system files that the duet uses are located in the /sys folder. Config.g is read at startup and all the gcode commands within it are executed to configure your printer.

                  Z-Bot CoreXY Build | Thingiverse Profile

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

                    OK, it sounds then like my WiFi card has somehow given up the ghost again. What commands can I issue from YAT to verify it is OK and healthy?

                    1 Reply Last reply Reply Quote 0
                    • 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
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA