New ethermega - SD card failure

Combining the power of the ATmega2560 MCU with onboard Ethernet, a microSD card slot, an efficient switchmode power supply, and a small prototyping area. [Product page]
Post Reply
disquek
Posts: 2
Joined: Fri Feb 01, 2013 5:02 am

New ethermega - SD card failure

Post by disquek » Fri Feb 01, 2013 5:08 am

Hi,

I'm trying to test the SD card in my new Freetronics etherMega. I formatted the SD card as fat (4gb). When I try any of the examples such as cardInfo I get "initialization failed".

I've set the pinMode(53, OUTPUT); as described in the comments.

I'm using IDE 1.0.3 also tried 1.5.1r2. Power is USB. Windows 7.

Any thoughts?
-Kyle

disquek
Posts: 2
Joined: Fri Feb 01, 2013 5:02 am

Re: New ethermega - SD card failure

Post by disquek » Fri Feb 01, 2013 5:50 pm

So after some poking around, here is what I've found.

It will see the card if the car has either a file on it, or a non-null label.

If the card is freshly formatted and has no label, it will not see it.

So I'm guessing this is a bug in the SD car libraries.

-Kyle

Post Reply