G400D SDCard Issue

I am just testing a G400D v1.3 and I have a problem with sd card.
I am using a Powered Hub and an USB Client SP module to power the HDR break out board using port 4.

The microSd card module (v1.3) is attached on port 10.

the code is directly the one from documentation. I am using SDK 4.3.6.

The error is:

[quote]Step into: Stepping over non-user code ‘Program…’
#### Exception System.Exception - 0xffffffff (1) ####
#### Message:
#### GHI.IO.Storage.SDCard::NativeConstructor [IP: 0000] ####
#### GHI.IO.Storage.SDCard::.ctor [IP: 0029] ####
#### GHI.IO.Storage.SDCard::.ctor [IP: 0005] ####
#### Program::Main [IP: 0008] ####
A first chance exception of type ‘System.Exception’ occurred in GHI.Hardware.dll
An unhandled exception of type ‘System.Exception’ occurred in GHI.Hardware.dll[/quote]

it happens on


SDCard sd_card = new SDCard();

I am not using the mainboard driver, it’s just microframework project

@ leforban - Just to be sure, can you post a complete and minimal program?

Hi John

I don’t know what was wrong. I have restarted the code this morning and it suddenly works…