Does SD module work on Hydra for anyone? I have tried different sd cards, all of them fat32 formatted, but I always get message: SDCard ERROR : Unable to mount SD card. Is card formatted as FAT32?
It could be power issue.
With 12V/1A I still get this error.
Not sure then. Maybe it is the card. Can we brow the card to test on our end?
It is strange. I re-formated one card and the message disappered. When I check the sdCard variable, it shows that card is inserted and mounted, but the member _device is null. If I call then sdCard.UnmountSDCard(); sdCard.MountSDCard(); it initializes the _device member but this code
string rootDirectory = sdCard.GetStorageDevice().RootDirectory;
StreamWriter textFile = new StreamWriter(rootDirectory + @ “\hello.txt”);
causes
#### Exception System.IO.IOException - CLR_E_FILE_IO (1) ####
#### Message:
#### Microsoft.SPOT.IO.NativeFileStream::.ctor [IP: 0000] ####
#### System.IO.FileStream::.ctor [IP: 00d1] ####
#### System.IO.FileStream::.ctor [IP: 000a] ####
#### System.IO.StreamWriter::.ctor [IP: 000e] ####
#### System.IO.StreamWriter::.ctor [IP: 0006] ####
#### HydraTest.Program::ProgramStarted [IP: 0111] ####
#### HydraTest.Program::Main [IP: 0015] ####
A first chance exception of type ‘System.IO.IOException’ occurred in Microsoft.SPOT.IO.dll
A first chance exception of type ‘System.IO.IOException’ occurred in System.IO.dll
An unhandled exception of type ‘System.IO.IOException’ occurred in System.IO.dll
Re-formatted again, with 8kB sector size and now it auto-mounts on start correctly and I can read and write files. So problem solved ;-).