Exception CLR_E_PIN_UNAVAILABLE

Question only. Not a issue…

Using:
UCM Dev Board Rev E
UCM (Universal Compute Module) UC5550 with WiFi
UC5550 Firmware v0.12.0.ghi

I was trying to see if I could get the SD Card working.

var sd = SdCardController.GetDefault();
var drive = FileSystem.Mount(sd); // Exception CLR_E_PIN_UNAVAILABLE

What is the exception trying to tell me.

Thanks.

Does the exception occur in a brand new project with only the above code?

It is in a working project with a fair amount of code.

Very long strings in reply so not sure what will display.

I created a new application to test
VS 2017 running on windows 10 Pro
(All updated that I know of)

using System;
using System.Collections;
using System.Text;
using System.Threading;

using GHIElectronics.TinyCLR.Devices.SdCard;
using GHIElectronics.TinyCLR.IO;

// Using v0.12.0

namespace TinyCLR_ExceptionTest
{
class Program
{
static void Main()
{

        var sd = SdCardController.GetDefault(); //No error
        var drive = FileSystem.Mount(sd); //Exception

    }
}

}

/*
An unhandled exception of type ‘System.Exception’ occurred in GHIElectronics.TinyCLR.IO.dll occurred

From Output/Debug

The debugging target runtime is loading the application assemblies and starting execution.
Ready.

‘GHIElectronics.TinyCLR.VisualStudio.dll’ (Managed): Loaded ‘C:\Users\Will George\source\repos\TinyCLR-ExceptionTest\TinyCLR-ExceptionTest\bin\Debug\pe..\GHIElectronics.TinyCLR.Devices.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
‘GHIElectronics.TinyCLR.VisualStudio.dll’ (Managed): Loaded ‘C:\Users\Will George\source\repos\TinyCLR-ExceptionTest\TinyCLR-ExceptionTest\bin\Debug\pe..\GHIElectronics.TinyCLR.IO.dll’, Skipped loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled.
‘GHIElectronics.TinyCLR.VisualStudio.dll’ (Managed): Loaded ‘C:\Users\Will George\source\repos\TinyCLR-ExceptionTest\TinyCLR-ExceptionTest\bin\Debug\pe..\TinyCLR-ExceptionTest.exe’, Symbols loaded.
The thread ‘’ (0x2) has exited with code 0 (0x0).
#### Exception System.Exception - CLR_E_PIN_UNAVAILABLE (1) ####
#### Message:
#### GHIElectronics.TinyCLR.IO.FileSystem::Initialize [IP: 0000] ####
#### GHIElectronics.TinyCLR.IO.FileSystem::Mount [IP: 0018] ####
#### TinyCLR_ExceptionTest.Program::Main [IP: 0009] ####
Exception thrown: ‘System.Exception’ in GHIElectronics.TinyCLR.IO.dll
An unhandled exception of type ‘System.Exception’ occurred in GHIElectronics.TinyCLR.IO.dll
*/

We have a new release coming shortly, I’d test again with it. We’ve changed quite a bit around SD cards in it. If the error persists then we can look into it more.