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

      Hi,
      I am having a terrible time getting my Duet 2 WiFi card to work. First a dead WiFi port. Now, the SD card has died. I have downloaded the Duet2CombinedFirmware.bin, and have a replacement SD card, but what do I DO with the .bin file?

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

        Unless the firmware on the Duet has been erased, you don't need to do anything with the .bin file.

        See https://duet3d.dozuki.com/Wiki/Firmware_Overview#Section_SD_card_structure for the file structure needed on the SD card. There is also a link to the SD card image there.

        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

          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.

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

            My SD card is not recognised by the Duet board, or either of my two laptops. To all intents and purposes, it's dead.

            1 Reply Last reply Reply Quote 0
            • Vetiundefined
              Veti
              last edited by

              does the card show up in windows disk managment? it might just be a corrupt partition

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

                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.

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

                  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.

                  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:

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