Don't Format SD cards with OS utilities!

pylon:
I do use the OS utilities to format an SD card but I use a more flexible OS -> Linux. So your advice is correct for Windows users but Linux users should use the internal command as the SD card association doesn't provide a formatting tool for Linux.

So on Linux users may issue the command:

mkfs.vfat -F 32 -s 64 -S 512 /dev/sdb1

given that the card is available as /dev/sdb on the system.
This command does the same as the formatter from the SD card association (use 32kB clusters with a FAT32 file system).

Never worked for me... SD.begin(cable select slot) returns 0.

SOLUTION:

In fact you have to (using Linux):

  1. have root rights (su root)
  2. in bash (shell) --> msdosfs -I /dev/sdd (assuming /dev/sdd is the sdcard device)
  3. in arduino 1.8.5 --> verify you installed the SdFAT library
    Use the example called SdFormatter
  4. Change the cable select port to 4 for the arduino with LCD module with SD card reader
  5. Load the program in the arduino and follow the instructions using the serial monitor