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

    SD Card corruption again, again

    Scheduled Pinned Locked Moved
    General Discussion
    10
    33
    1.4k
    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.
    • gnydickundefined
      gnydick @Phaedrux
      last edited by

      @Phaedrux Samsung 32GB class 10, not to mention every single card that has come with the boards.

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

        Do you use logging to the SD card?

        https://duet3d.dozuki.com/Wiki/Gcode?revisionid=HEAD#Section_M929_Start_stop_event_logging_to_SD_card

        Z-Bot CoreXY Build | Thingiverse Profile

        gnydickundefined 1 Reply Last reply Reply Quote 0
        • gnydickundefined
          gnydick @Phaedrux
          last edited by

          @Phaedrux I do.

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

            That's a lot of write wear to the SD card if used long term. If it's something you want to continue using consider getting an industrial SD card with higher write endurance.

            Z-Bot CoreXY Build | Thingiverse Profile

            gnydickundefined 1 Reply Last reply Reply Quote 0
            • arhiundefined
              arhi @gnydick
              last edited by

              @gnydick said in SD Card corruption again, again:

              @Phaedrux I do.

              It is much cheaper to setup an UPS than to have logging turned on always

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

                @arhi

                what does an ups have to do with logging?

                arhiundefined 1 Reply Last reply Reply Quote 0
                • gnydickundefined
                  gnydick @Phaedrux
                  last edited by

                  @Phaedrux it's not that much writing, really. the cards have write leveling. considering it's a 32GB card, it will take a VERY long time to wear down the card.

                  1 Reply Last reply Reply Quote 0
                  • gloomyandyundefined
                    gloomyandy
                    last edited by gloomyandy

                    How corrupt are the cards? Can they be reformatted and reused or are they unusable once they fail?

                    1 Reply Last reply Reply Quote 0
                    • Dr_Ju_Juundefined
                      Dr_Ju_Ju
                      last edited by

                      Silly question, but where are you buying them ?? I've had a couple permanently fail, and even though they were supposedly 'branded' items, I doubt they were as they were a lot cheaper than others.

                      Also try connecting them to a PC, whether Windows or Linux, & re-formatting them, I've resurrected a few that way....

                      Julian,

                      Old goat, learning new things….

                      1 Reply Last reply Reply Quote 0
                      • arhiundefined
                        arhi @Veti
                        last edited by

                        @Veti said in SD Card corruption again, again:

                        @arhi

                        what does an ups have to do with logging?

                        I don't see any other reason to have logging "always-on" except if you want to have data to continue after power loss. This is better solved by UPS. For any other reason, it would make sense to log from time to time to check issues if you have them, but not always.

                        32G is a big card, you are probably writing over and over the same place if they are getting worn out quickly (many will lock the card for writing into read-only mode when they encounter write issues and cant remap the blocks any more, many will not fail on writes but silently ignore them). Possible solution would be to either never delete log files and only create new ones or always append to a log file and not truncate it ever. I have no clue how M929 actually work, never had a need for it, I have enough issues with crappy SD cards to force them to take the logging data too... tried many years ago with marling and gave up after few dead cards

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

                          @arhi

                          powerloss recovery is M911 and not debugging.
                          those are two different things.

                          arhiundefined 1 Reply Last reply Reply Quote 0
                          • arhiundefined
                            arhi @Veti
                            last edited by

                            @Veti yes, my mistake, you are only logging basic stuff (Start, stop ..) that should not eat up the SD card, not enough "traffic" ..

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

                              i think it logs every move. so its a lot

                              gnydickundefined 1 Reply Last reply Reply Quote 0
                              • gnydickundefined
                                gnydick @Veti
                                last edited by

                                @Veti it does not log every move. that would be silly.

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

                                  What level of logging are you using? What is the command used?

                                  Z-Bot CoreXY Build | Thingiverse Profile

                                  gnydickundefined 1 Reply Last reply Reply Quote 0
                                  • gnydickundefined
                                    gnydick @Phaedrux
                                    last edited by

                                    @Phaedrux
                                    M929 P"eventlog.txt" S1

                                    1 Reply Last reply Reply Quote 0
                                    • jrocklandundefined
                                      jrockland
                                      last edited by

                                      The problem doesnt come from the boards.
                                      I use multiple duet3d boards with all kind of sd cards and never had that issue.
                                      You might have fakes from amazon/ebay: They look 100% like the real one but are 8g instead of 32g, and as the board think they are 32g it keep writing and destroy the card.

                                      I even once bough a fake from walmart. No joke. It is hard to find good stuff now.

                                      gnydickundefined 1 Reply Last reply Reply Quote 0
                                      • gnydickundefined
                                        gnydick @jrockland
                                        last edited by

                                        @jrockland i don't think < 1GB would do that.

                                        jrocklandundefined 1 Reply Last reply Reply Quote 0
                                        • jrocklandundefined
                                          jrockland @gnydick
                                          last edited by

                                          @gnydick depend how many projects you have on those cards.. my cards usually run around 12+ g when I back them up. But im running a ton of high def projects..

                                          jrocklandundefined gnydickundefined 2 Replies Last reply Reply Quote 0
                                          • jrocklandundefined
                                            jrockland @jrockland
                                            last edited by

                                            @jrockland **those where from when I was running with attach rasp boards..
                                            Probably much smaller now.

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