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

    M21: Cannot initialise SD card 0: Card is unusable<LF>ok<LF>

    Scheduled Pinned Locked Moved Solved
    Duet Hardware and wiring
    5
    13
    818
    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.
    • Kratosundefined
      Kratos
      last edited by

      I've just received my Duet 2 Wifi board and have been working on this all day and come to find out after rewiring the whole machine that when I run M21 it tells me "M21: Cannot initialize SD card 0: Card is unusable<LF>ok<LF>" and now I'm stuck cause when I try to go to the web interface it tells me "Your Duet rejected the HTTP request: page not found Check that the SD card is mounted and has the correct files in its /www folder". So basically I can do nothing? I dunno why it needs the SD card to use the web interface in the first place I'd think all that would be part of the firmware on the board. Is there anything I can do OTHER then asking for a new board cause that's gonna take forever.

      Ender 3 Pro + Hemera Hotend + (Duet 2 Wifi?)

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

        The web interface is just a website and it lives on the SD card.

        How is the SD card formatted?

        I would suggest copying the contents of the card as a backup, and using this tool to format the card. https://www.sdcard.org/downloads/formatter/

        Then replace the folders on the card and try again.

        If it still doesn't work, try a new SD card.

        If it still doesn't work, post a close up picture of the SD card slot to show the solder points.

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 1
        • Kratosundefined
          Kratos
          last edited by Phaedrux

          Ok I tryed the ad card formatted on original sd card and 2 other and still getting that and it even tells me that there isn't even a sd card in there when there is. Here's a close up if the ad reader on board you asked for. alt text q

          Ender 3 Pro + Hemera Hotend + (Duet 2 Wifi?)

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

            If it's a genuine UK-manufactured Duet, please contact your supplier and ask for a replacement under warranty, which I approve. https://www.duet3d.com/warranty

            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

            petaundefined 1 Reply Last reply Reply Quote 0
            • petaundefined
              peta @dc42
              last edited by

              @dc42

              Dear admins

              Unfortunately, I have a similar problem with my SD-Card on my Duet 2 Wifi.
              I have the board since June 2020 and was using it since in a test setting, not in a working production setting yet. But recently, as the setup was running as usual (connected to 24V PSU + 4x NEMA23 motors, no hotend, probes or printheads etc.).
              I connected the Duet 2 Wifi board additionally via USB to my computer. This was unproblematic before. But this time there was a hissing sound and next the SD-Card was ejected out of its slot and landed around two meters away.
              I immediately switched off the 24V PSU. As I picked up the fugitive SD-Card I felt that it was pretty warm.
              I tied to put it back in the SD-Card slot and realised, that its retaining mechanism wasn’t working anymore and the card wouldn’t stay in the slot.
              When supported/held back the card it would be read as usual and the hissing sound didn’t come back again either.
              But now, the card cannot be read and when I check it with Serial Tools (Mac) I receive the error message:

              Cannot initialise SD card 0: Card is unusable

              I tried other SD-Cards (properly formatted with SD-Card Formatter), which work fine in other computers.

              Would it be a warranty case or would it be possible to fix it somehow?

              Thanks in advance!

              alt text

              Phaedruxundefined felekundefined 2 Replies Last reply Reply Quote 0
              • Phaedruxundefined
                Phaedrux Moderator @peta
                last edited by

                @peta said in M21: Cannot initialise SD card 0: Card is unusable<LF>ok<LF>:

                I connected the Duet 2 Wifi board additionally via USB to my computer.

                It's possible you created a ground loop. Does that sound possible?

                https://duet3d.dozuki.com/Wiki/USB_ground_loops

                Does the board work otherwise? As in, does is it detected by the PC on USB? Does it show up and take commands in USB terminal?

                Z-Bot CoreXY Build | Thingiverse Profile

                petaundefined 1 Reply Last reply Reply Quote 0
                • petaundefined
                  peta @Phaedrux
                  last edited by

                  @phaedrux
                  Thanks for the quick reply!
                  Yes, I can confirm, the board is otherwise recognised over USB and takes commands (e.g. I could set up the records for a new wifi connection, just couldn't reach the web interface because the sd card wasn't detected).

                  The "ground loop" assumption sounds like a plausible explanation.

                  Would you know of a work around to attach an sd card socket otherwise?
                  (I only know that the PanalDue has a sd card slot. Would this be the only extension with a sd card slot? Would it even be possible to use it as the main sd card interface?)

                  Thanks, Phaedrux!

                  Phaedruxundefined 1 Reply Last reply Reply Quote 0
                  • felekundefined
                    felek @peta
                    last edited by felek

                    @peta This path doesn't look good
                    duet_sd.png

                    petaundefined 1 Reply Last reply Reply Quote 0
                    • petaundefined
                      peta @felek
                      last edited by

                      @felek said in M21: Cannot initialise SD card 0: Card is unusable<LF>ok<LF>:

                      @peta This path doesn't look good

                      Hi felek

                      here are some more pictures:

                      • one with bit better details of the soldering points
                      • one from the back of the board (the usb connector)

                      alt text

                      alt text

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

                        @peta said in M21: Cannot initialise SD card 0: Card is unusable<LF>ok<LF>:

                        Would you know of a work around to attach an sd card socket otherwise?
                        (I only know that the PanalDue has a sd card slot. Would this be the only extension with a sd card slot? Would it even be possible to use it as the main sd card interface?)

                        The Paneldue SD card slot can't be used as the main SD card, only to load Gcode files from.

                        If it was a ground loop damage there may be other damage that isn't apparent. do any other components get hot?

                        Replacing the SD card slot may be an option if you have the experience and tools needed, otherwise maybe finding someone who does.

                        Z-Bot CoreXY Build | Thingiverse Profile

                        petaundefined 1 Reply Last reply Reply Quote 0
                        • petaundefined
                          peta @Phaedrux
                          last edited by

                          @phaedrux said in M21: Cannot initialise SD card 0: Card is unusable<LF>ok<LF>:

                          The Paneldue SD card slot can't be used as the main SD card, only to load Gcode files from.
                          If it was a ground loop damage there may be other damage that isn't apparent. do any other components get hot?
                          Replacing the SD card slot may be an option if you have the experience and tools needed, otherwise maybe finding someone who does.

                          Thank you very much for your reply, your support and for the clarification on the SD card slot of the Paneldue and potential ground loop damage consequences.
                          Unfortunately, neither do I have the access to appropriate de-/re-soldering equipment for handling pcb/electrical components of such scale, let alone the know how for an accurate and exhaustive forensic analysis :(.
                          Nor would I know of someone with access to such equipment or skills.

                          May I ask whether a ground loop damage might be covered by warranty?
                          I purchased it in June 2020 from one official german reseller (https://www.dold-mechatronik.de/).

                          Thank you!

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

                            Unfortunately no such damage is not covered by warranty, since it's akin to a wiring fault.

                            However, we may be able to offer a refurbished unit on exchange at reduced cost. Please contact roland@duet3d.com to inquire about availability. Include a link to this thread.

                            Z-Bot CoreXY Build | Thingiverse Profile

                            petaundefined 1 Reply Last reply Reply Quote 0
                            • petaundefined
                              peta @Phaedrux
                              last edited by

                              @phaedrux said in M21: Cannot initialise SD card 0: Card is unusable<LF>ok<LF>:

                              Unfortunately no such damage is not covered by warranty, since it's akin to a wiring fault.
                              However, we may be able to offer a refurbished unit on exchange at reduced cost. Please contact roland@duet3d.com to inquire about availability. Include a link to this thread.

                              Thanks a lot for the support, troubleshooting/preventive hints and the suggestion with a refurbished unit!
                              And thanks a lot for your guy’s effort and contribution to this community of additivist enthusiasts!

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