SD shield with Duemilanove

Hi Forum,

I'm trying to get the Libelium SD memory card shield running with a Duemilanove using SDuFAT. It looks like the card is not initializing. I've tried different 2GB cards.

The IDE is Arduino 0018 on an Acer Aspire 7740G running Linux - Ubuntu 9.10.
I have a temperature / humidity sensor logging away and would like to store the sample data.

The sketch loads and runs OK until it has to perform an actual card operation - then it just hangs. It will execute the 'H' (HELP) command quite happily but that simply lists the Terminal commands and does not access the card.

I had a check through the files and noticed in the mmc header file, 'mmc.h', the software was tested on a ATMega32. Also, in 'mmc.cpp', the pin assignments were wrong - I changed them from 2,3,4,5 to 10,11,12,13 but still no luck. I see later on in the same file there is further set-up declared but that is getting beyond my newbie capabilities with C++.

Does anyone out there have SDuFAT running on this hardware that could maybe point me in the right direction as to what I should do ?

All I need to do is store 512 byte data strings until a client requests the data, send it up and start logging again.

Will be very grateful for any help or advice.

Many thanks,

Semper_linux

No wonder nobody wanted to reply to this one - cause of the problem was a faulty SD card shield.

Got a replacement from the supplier OK but it was faulty as well.

I contacted Libelium giving them an opportunity to comment before I updated this topic. That was about 2 weeks ago and no reply to date.The local supplier has discontinued the line.

In the meantime, I ordered an SD card logger shield from Adafruit last Thursday.
It was shipped on Saturday and arrived this (Wednesday) morning.
Unit was built over lunch-time and it's logging away like a professional - less than 6 days after ordering.

Moral of the story ?
Libelium obviously have very substandard production and QA control.
I will not buy from them again

On the other hand, the product from Adafruit is half the price, has an RTC, properly manages voltage correction, is a much sturdier design, has prototyping space and so on and so on.

If you're looking for an SDcard shield then,............................