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

Minimum SD card size?

Scheduled Pinned Locked Moved
Duet Hardware and wiring
4
8
371
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.
  • undefined
    theolodian
    last edited by theolodian 1 Oct 2022, 12:22 10 Jan 2022, 11:04

    I guess this is the right place to ask this? What is the minimum SD card size, in standalone mode? It looks like the FAT32 partition is currently 250MB? The RPi partition is 3.32GB, so I guess 4GB for SBC mode.

    7adaca6a-d31e-4e87-bd02-3327a572e290-image.png

    As SBC mode is still broken for our needs I am having to make this reliable in standalone mode. That means using an SLC uSD card with power fail protection. It is £100 for a 4GB one. It is £34 for a 1GB one. Hence my query. Cheers.

    undefined undefined undefined 3 Replies Last reply 10 Jan 2022, 11:07 Reply Quote 0
    • undefined
      jay_s_uk @theolodian
      last edited by 10 Jan 2022, 11:07

      @theolodian it relies on how big your gcode files are really.
      if you print something and then are happy to delete the files then 1gb would be fine.
      if you want to keep loads of past files, then larger is better

      Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

      undefined 1 Reply Last reply 10 Jan 2022, 11:11 Reply Quote 2
      • undefined
        theolodian @jay_s_uk
        last edited by theolodian 1 Oct 2022, 12:20 10 Jan 2022, 11:11

        @jay_s_uk Thanks. This changes my whole approach to the API as well, so I will have to get up to speed on that in standalone mode.

        Here is the uSD card in case anyone else wants to know. https://uk.rs-online.com/web/p/micro-sd-cards/1874667

        undefined 1 Reply Last reply 14 Jan 2022, 10:14 Reply Quote 1
        • undefined
          engikeneer @theolodian
          last edited by 10 Jan 2022, 12:27

          @theolodian you obviously have some quite significant requirements, but as a data point I had a (clone) duet wifi which came with a 128Mb sd card which ran fine. I could only have one or two gcode files on it at a time, but it ran fine. I've now swapped it to 4GB and can be lazy and never have to delete a file 🙂

          E3D TC with D3Mini and Toolboards.
          Home-built CoreXY, Duet Wifi, Chimera direct drive, 2x BMG, 300x300x300 build volume
          i3 clone with a bunch of mods

          1 Reply Last reply Reply Quote 1
          • undefined
            rjenkinsgb @theolodian
            last edited by rjenkinsgb 1 Oct 2022, 13:02 10 Jan 2022, 13:01

            @theolodian said in Minimum SD card size?:

            That means using an SLC uSD card with power fail protection.

            I do not see any advantage in using such a card.

            If power fails in the middle of a file write, as data in the SD filesystem is being updated, something will be corrupt no matter what card you use. The data in Duet RAM buffers is lost and no card can magically recover data never sent to it.

            Also, internal power failure protection has been a feature of the SD card standards for at least a decade & possibly rather more.

            I'd think you are better off with normal but good quality SDs such as Sandisk Extreme Pro, and take image copies of the configured machines so you can recreate the working cards in a couple of minutes if it ever needed.

            I use those, the 64GB ones are on offer - only £14 at Amazon, checking just now; about the same as the 32GB usually are.

            Robert J.

            Printers: Overlord pro, Kossel XL+ with Duet 6HC and "Frankentron", TronXY X5SA Pro converted to E3D toolchange with Duet 6HC and 1LC toolboards.

            undefined 1 Reply Last reply 10 Jan 2022, 13:32 Reply Quote 0
            • undefined
              theolodian @rjenkinsgb
              last edited by theolodian 1 Oct 2022, 13:39 10 Jan 2022, 13:32

              @rjenkinsgb My concern is when the internal management of the SD card moves data around to manage wear. If the power goes off then it corrupts the whole partition.

              These are to be in machines in factories that I do not have ready access to. Robustness is paramount. We were trying to achieve this with a RPi running off of an SSD...

              undefined 1 Reply Last reply 10 Jan 2022, 14:18 Reply Quote 0
              • undefined
                rjenkinsgb @theolodian
                last edited by 10 Jan 2022, 14:18

                @theolodian
                The simple thing is to ask Sandisk tech support:

                https://kb-eu.sandisk.com/app/utils/chat

                Robert J.

                Printers: Overlord pro, Kossel XL+ with Duet 6HC and "Frankentron", TronXY X5SA Pro converted to E3D toolchange with Duet 6HC and 1LC toolboards.

                1 Reply Last reply Reply Quote 0
                • undefined
                  theolodian @theolodian
                  last edited by 14 Jan 2022, 10:14

                  SLC cards work great so far. Obviously it will probably be a long time before I can comment on how robust they might be, however it seems like cheap insurance if you want less worries about SD card failures.

                  I just used a Windows PC to copy the files from the visible (FAT32) partition of the old card to the already formatted new card.

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