I’ve existing code that has / is currently working. After uprading the bootloader & firmware, and updating all the libraries, it refuses to mount the SD Card
Imports GHIElectronics.Gadgeteer.FEZCobraIIEco
If Mainboard.IsSDCardMounted = False Then
Debug.Print("Mounting SD Card")
Mainboard.MountStorageDevice("/SD")
End If
If I inspect the Mainboard object, this is what I see:
“
IsSDCardInserted Unable to evaluate expression. Boolean
IsSDCardMounted Unable to evaluate expression. Boolean
LDR0 {Microsoft.SPOT.Hardware.InterruptPort} Microsoft.SPOT.Hardware.InterruptPort
LDR1 {Microsoft.SPOT.Hardware.InterruptPort} Microsoft.SPOT.Hardware.InterruptPort
MainboardName GHI Electronics FEZ Cobra II Eco String
MainboardVersion Rev B String
MassStorageDevice Nothing Gadgeteer.StorageDevice
NativeBitmapConverter {Gadgeteer.Mainboard.BitmapConvertBPP} Gadgeteer.Mainboard.BitmapConvertBPP
NativeBitmapCopyToSpi Nothing Gadgeteer.Mainboard.BitmapCopyToSpi
SDCardStorageDevice {Gadgeteer.StorageDevice} Gadgeteer.StorageDevice
RootDirectory \SD String
Volume {Microsoft.SPOT.IO.VolumeInfo} Microsoft.SPOT.IO.VolumeInfo
DeviceFlags 0 UInteger
FileSystem FAT String
FileSystemFlags 0 UInteger
IsFormatted Unable to evaluate expression. Boolean
Name SD String
RootDirectory \SD String
SerialNumber 0 UInteger
TotalFreeSpace 3932291072 Long
TotalSize 3942645760 Long
VolumeID 0 UInteger
VolumeLabel String
VolumePtr 2694780460 UInteger
Mainboard.IsMassStorageConnected Unable to evaluate expression. Boolean
Mainboard.IsSDCardInserted Unable to evaluate expression. Boolean
”
As shown above, It detects (via Gadgeteer.Storagedevice) that the card is inserted, as it correctly reports the size of the Card, and the Name / Root directory. (These do not show up, if the card is removed), but (via Mainboard.IsSDcardInserted), it is unable to evaluate.
Any help on this would be appreciated, because every example I’ve looked at provides me with the same result, yet when I use the similar code on a Raptor, I’ve no issues.
Thanks