Main Site Documentation

FEZ Domino mountfilesystem hang


#1

Hey Community,

I am using the below code to mount an SD card on startup.


while (!PersistentStorage.DetectSDCard()) System.Threading.Thread.Sleep(50);
ps = new PersistentStorage("SD");
ps.MountFileSystem();

The issue I have is that, the line ps.MountFileSystem() will hang until i pause and then resume program execution. once i do this the SD card mounts and works fine.

What am I doing wrong?


#2

This product pre-dates my GHI experience!!! But I’m not sure what you are describing with pause and resume – using visual studio debugger? If so, which statement do you pause on?

aside: this question is probably better asked on the .NET Micro Framework forum board. You might consider re-posting it on a new thread there, then add a post here redirecting to the new thread.


#3

Hi Jeff,

thanks for the help on the location of the post, i wasn’t sure where to put it.

I have asked and included a better description which hopefully answers the questions you had.

please see https://www.ghielectronics.com/community/forum/topic?id=16042