MP3 player shield: Can’t access SD card.

Hi all

I monuted the mp3 player shield version 4.1.11 on a Arduino Mega 2560 following the [hookup guide carefully.

However the FilePlayer example from the SFEMP3Shield library did not work. The following error keeps popping up:

Can’t access SD card. Do not reformat.

SD errorCode: 0XF,0X0

Searching for a suitable solution I came across this page:

http://mpflaga.github.io/Sparkfun-MP3-P … ig_8h.html


Support forArduino Mega’s REQUIRES additional jumpers. As the SPI are not on the same pins as the UNO/Duemilanove. When using a mega with SFE compatible shields jump the following pings :

Mega’s 51 to the MP3’s D11 for MOSI

Mega’s 50 to the MP3’s D12 for MISO

Mega’s 52 to the MP3’s D13 for SCK


I’m pretty sure this is the solution for my problem.

Do I have to add these jumpers while the pins D11, D12 and D13 of the shield stay connected to the Arduino board via the headers?

The other way would be to cut the header connections of these three pins so that only the jumper connections to the mega pins 51, 50 and 52 remain.

Your help is much appreciated.

p.s. Wouldn’t it be handy to add this info to the hookup guide?](https://learn.sparkfun.com/tutorials/mp3-player-shield-hookup)

CaptainFeature:
Do I have to add these jumpers while the pins D11, D12 and D13 of the shield stay connected to the Arduino board via the headers?

The other way would be to cut the header connections of these three pins so that only the jumper connections to the mega pins 51, 50 and 52 remain.

The connection should only be to 51, 50, and 52, so you would need to cut the D11-13 pins.

CaptainFeature:
p.s. Wouldn’t it be handy to add this info to the hookup guide?

Probably, though it's fairly well known that those pins are relocated on the Mega.

Thank you Darrellg

It works fine like this.

Kind Regards

Marcel