SDCard constructer exception

I have two emx boards one with an mirco SD and one with a SD, my code works on the unit with the SD card, but gives the following exception on the board with the mirco SD , (same code, same project) Should I do or change the code for the mirco SD.



Exception occurs

sd = new SDCard();

Thanks for any help

@ sieslynner - can you post a complete example? Can you try a different micro SD card?

@ sieslynner -

Exception at that line almost relate to connection or bad card. Try reinsert it again or different card.

@ Dat - Yes thank you , the card module (hardware) was broken