

However, again, the only supported file system for SD cards by default is FAT/FAT32, which does impose a file system limit - 32GB. In theory, these MCUs have no actual hardware limitations on the size of SD cards they can read. It literally just gives block level access to the storage. It has nothing to do with the SD controller - that is purely just a block device controller, and has no idea about the file system on the storage device.

The M5Paper factory test sample is also limited to FAT/FAT32 file systems. My M5Paper works perfectly with a number of SDHC cards I have lying around, but haven't tested with a larger card yet. As pretty much all high-capacity (32GB and above) cards you can buy today are SDXC, I'm thinking this is the issue at the core. Officially, the ESP32 supports SD/SDHC/SDXC cards, however there are numerous reports about SDXC cards often not working properly. Sorry if any of it turns out to be I'm fairly certain the issues you were facing with SD cards are simply caused by the higher capacity. Exfat is the factory default above 32GB because it's more suited to larger capacity cards and the SD card controller has to understand exfat format (I think?).Ĭan anyone else confirm any of the above as working and good information? Even if you were logging data like crazy for a long time, what would you really do with it all?įAT32 isn't limited to 32GB, it'll work up to 2TB with single files max. (I also used 64GB cards formatted like that for a couple of my raspberry pi boards.)īut I've never tried storing more than a few gigabytes on any system anyway.

I've 'successfully' tested a 64GB card before, reformatted to FAT32 and not exfat. Perhaps 16GB is listed as the 'maximum' as this will definately work? Anything above that might have some issues, so 16GB should be the safe option.ĭepending on the hardware in the cores, it might be an issue with the SPI SD card slot controller, I'm not sure.
ARDUINO SD CARD ISSUES CODE
This in turn stems from 1) Not reading the datasheet for your parts and 2) blindly relying on libraries you dont understand and havent code reviewed. I didn't really understand why some of them worked or didn't work, perhaps transfer speed for video data?Īctually it was here on the here and that's not an ESP32. 1 1 Typically this is a symptom of overlapping pin assignments in the various libraries. I vaguely remember a m5stack post about one of the camera boards where there was a table of compatible and incompatible sd cards. I did some research on the net, and I think cards formatted to FAT32 at least up to 32GB 'should' be ok. The ATOM GPS Development Kit doesn't show any details for the TF/SD max card size at all, probably 16GB! The Arduino is brand new and seems to be working just fine.I'd like to know why all the M5Stack cores (and the Atom TF card) show 16GB as the maximum SD card size. I am thinking that there is something electrically wrong with the shield. This is the output from the card analysis program. A disk utility shows that the cards have no damage. All cards work fine on the computer via a card reader.

I am very frustrated with this, and now I don't have a card that the shield will read. The one it could read had no files, and when I copied sound files to the card, the shield could no longer read the card. The shield could read one, but not the other.
ARDUINO SD CARD ISSUES WINDOWS
Today I got a Windows machine and formatted them both with the Panasonic program.
ARDUINO SD CARD ISSUES MAC OS
I am using Mac OS and following the instructions and using the terminal program to set them to FAT 16. Sooner or later I have gotten the card to work again (this has happened 3 times with 2 different cards). I have fiddled with the cards re-formatting them in several different ways. For example, in my case, version 1.1.0 did not work with the module. Make sure to use the latest version of the SD library (Sketch -> Include Library -> Manage Libraries -> Search for SD). But if I turn it off and then on later, it can no longer read the SD card. As mentioned before, reading and writing an SD card is very simple when the standard SD library of the Arduino IDE is used. But when I power it up with the battery it works fine at first. The power is going through an adjustable voltage regulator and a 10,000 uF capacator, which reduces the voltage to 9 vdc. Then I hooked it up to a 12 volt sealed acid 12 amp hour battery. I am using an Atmel 328 with a WAVE shield. I have read all of the posts about SD cards and still am finding them inscrutable.
