Home Forums Sparkfun MP3 Shield Library Support Forum How do I troubleshoot an Error 4 Code? Reply To: How do I troubleshoot an Error 4 Code?


Error Code 4 indicates that the library did not get back the expected value back from the VS1053 chip, while trying to initialize it just after reset or boot. Where you are able to read the SdCard.

After commenting out the above mentioned line; Did it play successfully?

Note: SM_LINE1 & SM_SDINEW are DEFINE’s of bit masks of the SM_MODE register. On these bit positions on the VS1053 should be the only values set true in the SM_MODE register after reset. Your prints showing 0x0 is indicating you are likely not talking to the Chip.

I am not familiar with the Seeeduino (Duemilanove clone). I would expect it to be equal to the Duemilanove not requiring anything special. Check you solder connections of the headers and perhaps ohm out the connections from chip to chip. And check that the pins are working as expected all they from the Duemilanove to the VS1053.

I also see the  Seeeduino (Duemilanove clone) has a 3V vs 5V switch. Ensure it is 5V, if you have not modified the SFEMP3Shield for 3V operations, as noted in the GitHub Page. If this is the problem, let me know I will update the Troubleshooting Guide to additionally include this about the Seeeduino (Duemilanove clone). Although I doubt this the problem.