Me again. GHI Premium and Spider

Quick question.

Using Firmware
I cannot get my SD Card to work. Using SD Card 1.2 with a 16 GB SanDisk.
I read someplace in here that SD/SDHC is OK and no size limit… Is that correct?

using GHI.Premium.IO;
using GHI.Premium.System;
using GHI.Premium.Hardware;

static PersistentStorage ps;

ps = new GHI.Premium.IO.PersistentStorage("SD");
ps always returns null

SD is formatted FAT32 and I can obtain
VolumeInfo vi = sdCard.GetStorageDevice().Volume;

I just cannot mount it.

Anything I should be aware of?

Thank you again!

@ andre.m - Is this something new?
With 4.2.7 i implemented it like this.

new PersistenStorrage("SD")
Wait for Removable storrage inserted event

This still works for me with 4.2.9 on G120 (Tested with 4.2.7 and 4.2.8 also with Cobra I)

@ andre.m -

Thank You AGAIN!

My Cobra (I) has EMX as well, and it works fine with PersistentStorrage(SD) and Mounting.
just curious, as Long as it works :wink:

@ Reinhard Ostermeier - you still need this in plain NETMF applications. If you use Gadgeteer project and classes then Mainboard implementation does it for you internally.

@ Architect - Ah, thats why I did it that way. I don’t use Gadgeteer.
Thank you for the info.