Does anyone know how to bring the SD card on FEZ GameO online?
SDCard sdCard = new SDCard(*);
I tried socket numbers from 0-20 and not one is working it Returns only the error “InvalidSocketException”.
Background:
I’am wrinting currently on a simple loader application for plug-in architecture and therefore it’s needed, for games and my robot tools at the same time, without flashing.
There will be also some GUI stuff available. (works on a different project also on EMX / G120 with Glide UI)
When the application loader is finished it will be available for free.
Ok, i will try it today evening directly via NETMF and will write a driver.
That should save some memory usage.
I will respond my results imediately.
In future its eaysier for me to unsrew than flashing. I want to write more than one plugin, currently i have written 3 for GameO. Or i write an application addon to transport files via USB onto the memory card.
I have tried many things, but does also not working on GameO with NETMF directly.
(on using PersistentStorage throws NotSupported exception, thats may be ok)
Did you have or someone else an idea?
2 different Transcent MicroSD 2 GB (tried with 16/32/64k blocksize)
VST 2012 / Win8
.NETMF and Gadgeteer Package 2013 R2
.NET MF 4.3 (RTM)
GameO aktualized with FEZ_Config_v013.exe (no options changed)
namespace TestMicroSD
{
public class Program
{
public static void Main()
{
// The event never occurs
RemovableMedia.Eject += RemovableMedia_Eject;
RemovableMedia.Insert += RemovableMedia_Insert;
Thats right in the last i have not waiting. That was false.
But when i’m waiting how long? I have waiting 3 time up to 2 hours. The events for eject and insert never occurs. I tried also the other examples but they are not compatible (System.NotSupportedException), it’s not a EMX (there is the code working)
Do have anyone a working solution?
using System;
using Microsoft.SPOT;
using System.IO;
using Microsoft.SPOT.IO;
using System.Threading;
namespace TestMicroSD
{
public class Program
{
public static void Main()
{
// The event never occurs
RemovableMedia.Eject += RemovableMedia_Eject;
RemovableMedia.Insert += RemovableMedia_Insert;
Thread.Sleep(Timeout.Infinite);
}
static void RemovableMedia_Insert(object sender, MediaEventArgs e)
{
Debug.Print("Insert");
}
static void RemovableMedia_Eject(object sender, MediaEventArgs e)
{
Debug.Print("Eject");
}
}
}
@ Gus - thanks, you was a little bit faster than me.
The mobile internet in the current train here in germany is not the best, so i doesn’t see your answer earlier.
I’m now very happy.