Bill, I just thought I'd give you a little feedback, in case you don't have a mega1284 board. Been trying your new SdFat and SdFat_beta libraries with an older WinXP notebook PC, IDE v1.0.5, and a mega1284 board with pinout almost identical to the Bobuino [I patched DigitalPin.h for the changed pins].
[aside: BTW, you might note that the SdFat library only has the Mighty-1284 variant and doesn't have Bobuino or any others, but SdFat_beta is inclusive].
Also, I am attempting to use SD with an RFM12 radio on the same board, and have had some SPI conflicts. Haven't resolved this as yet, but will provide an update once I know more.
In any case, so far so good with the testing. Here are some results to look at, using SdFat_beta examples. It deals nicely with truncating overly-long file names, and the file sizes all look correct. I also added the RAM display routine.
SdInfo example - 8GB SD card:
avrdude: 13026 bytes of flash verified
-SRAM left: 15398
SdFat version: 20141025
type any character to start
init time: 14 ms
Card type: SDHC
Manufacturer ID: 0X3
OEM ID: SD
Product: SL08G
Version: 8.0
Serial number: 0X98BE190E
Manufacturing date: 7/2014
cardSize: 7948.21 MB (MB = 1,000,000 bytes)
flashEraseSize: 128 blocks
eraseSingleBlock: true
OCR: 0XC0FF8000
SD Partition Table
part,boot,type,start,length
1,0X0,0XB,8192,15515648
2,0X0,0X0,0,0
3,0X0,0X0,0,0
4,0X0,0X0,0,0
Volume is FAT32
blocksPerCluster: 64
clusterCount: 242304
freeClusters: 242171
freeSpace: 7935.46 MB (MB = 1,000,000 bytes)
fatStartBlock: 12596
fatCount: 2
blocksPerFat: 1894
rootDirStart: 2
dataStartBlock: 16384
type any character to start
QuickStart example:
avrdude: 18782 bytes of flash verified
-SRAM left: 15283
SPI pins:
MOSI: 11
MISO: 12
SCK: 13
SD chip select is the key hardware option.
Common values are:
Arduino Ethernet shield, pin 4
Sparkfun SD shield, pin 8
Adafruit SD shields and modules, pin 10
Enter the chip select pin number: 8
Disabling SPI device on pin 10
Card successfully initialized.
Card size: 7948 MB (MB = 1,000,000 bytes)
Volume is FAT32, Cluster size (bytes): 32768
Files found (name date time size):
DATA1030.LOG 2014-11-01 12:33:36 17
TEST1.TXT 2000-01-01 01:00:00 54
DATA1014.LOG 2000-01-01 01:00:00 32
IMAGES/ 2014-11-06 13:16:42
LION3.BMP 2013-10-20 22:46:48 97254
SIM_0108.JPG 2011-08-01 11:10:14 208312
TACHIK~1.JPG 2011-06-30 17:26:16 29867
OTHER/ 2014-11-06 13:16:52
PIC32M~1.PDF 2009-12-16 19:43:20 3250560
AN1140~1.PDF 2009-12-16 19:53:22 478223
TEST0924.TXT 2000-01-01 01:00:00 2016
Success! Type any character to restart.
I did see one funny thing, with SanDisk 4GB card, it indicates the manufacture date was in 2002. Didn't think they even had SD cards back then, plus I'm sure I bought this card not too long ago, so ??
-SRAM left: 15398
SdFat version: 20141025
type any character to start
init time: 681 ms
Card type: SDHC
Manufacturer ID: 0X3
OEM ID: SD
Product: SU04G
Version: 8.0
Serial number: 0X4B130102
Manufacturing date: 4/2002
cardSize: 3965.19 MB (MB = 1,000,000 bytes)
flashEraseSize: 128 blocks
eraseSingleBlock: true
OCR: 0XC0FF8000
SD Partition Table
part,boot,type,start,length
1,0X0,0XB,8192,7736320
2,0X0,0X0,0,0
3,0X0,0X0,0,0
4,0X0,0X0,0,0
Volume is FAT32
blocksPerCluster: 64
clusterCount: 120752
freeClusters: 120727
freeSpace: 3955.98 MB (MB = 1,000,000 bytes)
fatStartBlock: 14496
fatCount: 2
blocksPerFat: 944
rootDirStart: 2
dataStartBlock: 16384
type any character to start