USB Mass Storage Failes

USB Mass Storage Connect example from Beginners guide to NETMF failes in FEZmini:

PersistentStorage sdPS = new PersistentStorage(“SD”);
USBC_MassStorage ms = USBClientController.StandardDevices.StartMassStorage();
ms.AttachLun(0, sdPS, “”, “”);
ms.EnableLun(0);

(Debug is on COM1)

#### Exception System.Exception - 0xffffffff (1) ####
#### Message: 
#### GHIElectronics.NETMF.USBClient.USBC_MassStorage::EnableLun [IP: 0000] ####
#### FEZ_Mini_Application_STOX.Program::Main [IP: 0412] ####

A first chance exception of type ‘System.Exception’ occurred in GHIElectronics.NETMF.USBClient.dll

Some one forgot to Unmount the File System from the PersistentStorage… ::slight_smile: