Adafruit Datalogging shield assembled RTC, with MEGA ADK

Hi
I have

  • one Arduino MEGA ADK
  • one Adafruit Datalogging shield assembled + RTC, with MEGA ADK (not stacked)
  • one SD card (formatted FAT with SDFormatterv4, 1 GB)
  • I am using jumpers (so I am free of connections, no stacking)
  • one OLED 4x20 display from NHD (working perfectly)
    I have read documents and tutorials (some) on SD datalogging
    The RTC is using SCL, SDA (I2C) and is working perfectly (display on OLED). +5V & GND are OK
    Now I try to learn the datalogging (SD)
    I have linked (jumpers)
    Mega Shield
    50 MISO 12
    52 SCK 13
    51 MOSI 11
    53 SS 10
    4 for CS 4
    I have loaded the sketch "cardinfo updated 9 apr 2012)
    The serial terminal is printing the error message (repeatedly)
    Please help me on that problem
    Regards
    Louis
    (France)

The serial terminal is printing the error message (repeatedly)

What error message?

Hi
The error message from Cardinfo sketch:
while (!card.init(SPI_HALF_SPEED, chipSelect)) {
Serial.println("initialization failed. Things to check:");
Serial.println("* is a card is inserted?");
Serial.println("* Is your wiring correct?");
Serial.println("* did you change the chipSelect pin to match your shield or module?");
}
Good SD card iserted
wiring correct ?? not sure
CS pin OK ?? not sure
Louis

Links to the hardware you have are better than vague descriptions.