Hi,
Does anyone know how to write to NAND file system I get a error (below). I used PersistentStorage. I did a test to see if its formatted comes back false.
An unhandled exception of type ‘System.NotSupportedException’ occurred in System.IO.dll
using System;
using System.Threading;
using System.IO;
using Microsoft.SPOT;
using Microsoft.SPOT.Hardware;
using Microsoft.SPOT.Presentation;
using Microsoft.SPOT.Presentation.Media;
using GHIElectronics.NETMF.IO;
using Microsoft.SPOT.IO;
using GHIElectronics.NETMF.Hardware;
using GHIElectronics.NETMF.USBHost;
using GHIElectronics.NETMF.USBClient;
using GHIElectronics.NETMF.System;
namespace ChipworkXTester
{
public class Program
{
public static void Main()
{
PersistentStorage NandDrive = new PersistentStorage("NAND");
NandDrive.MountFileSystem();
string rootDirectory = VolumeInfo.GetVolumes()[0].RootDirectory;
File.Create(rootDirectory + @ "\test.txt");
}
}
}
Thanks
Nathan