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?
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.
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