Music Shield SD read error


I am quickly putting this up at work, I will add further detail when I make it home so apologies.

I have followed the directions here - - trying both of the options under Arduino 1.0.

I have setup vMicro in Visual Basic to get some debugging and I see the device reporting the error - SD error: 5error: open file failed - with and without a number in the message but the same one.

Is it more likely an issue with the card as my PC can read and write to it ok, I have tried both a 128GB and also found a 512 MB SD Card.

I will add code when I get home this evening.

This is the base sketch, any other info needed, anyone give me a pointer?

//  File MusicPlayWithName.ino
//  Demo code for playing any existing music file on Micro SD card by file name
//  Author: Icing Chang
//  Version: 1.0
//  Time: Oct 21, 2010
//  Changing records:
//  This library is free software; you can redistribute it and/or
//  modify it under the terms of the GNU Lesser General Public
//  License as published by the Free Software Foundation; either
//  version 2.1 of the License, or (at your option) any later version.
//  This library is distributed in the hope that it will be useful,
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
//  Lesser General Public License for more details.
//  You should have received a copy of the GNU Lesser General Public
//  License along with this library; if not, write to the Free Software
//  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA

 To make this demo code run sucessfully, you need to download the fat16lib 
 into your Arduino library at the following address:

#include <Arduino.h>
#include <avr/io.h>
#include "config.h"
#include "player.h"
#include "vs10xx.h"

#include <Fat16.h>
#include <Fat16Util.h>
#include "newSDLib.h"

void setup()





  if (!initialSDCard())

  RED_LED_ON();//light red LED

void loop()
  playFile("Happy.mp3"); //play the song with the name you give.



Did you download the correct Fat16 library like the note in the code states? It looks like this library is quite messy with different versions of different things required for different examples. It also suggests overwriting core files (portpins.h) which I would be very hesitant to do.

Thanks for your reply,

I was very careful with the files, so I am confident the right ones were used with the right code.

I will wipe it all clean again and try it from scratch today.

Does anyone have a newer example of using this board? I haven't even started trying to program when I want the board to play the file yet.


Thanks for your response, as above, I tried again from scratch and it worked.