I'm having a strange error with my VS1053 v2 breakout when using the ogg_example. The first file is created fine, however, the second and any subsequent files are corrupted, all looking identical despite being fed different content. I'm getting no errors over the serial monitor so I'm a little confused.
I have formatted my SD, downloaded the library again, added the newly downloaded plugin to the SD and uploaded the new example just to make sure its nothing to do with the library but no luck thus far.
Any suggestions are much appreciated!
VS1053 ogg record producing corrupt files
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_bill
- Posts: 88088
- Joined: Sat Feb 07, 2009 10:11 am
Re: VS1053 ogg record producing corrupt files
When you say the first file, do you mean the first file on the card, or the first file after a restart?
-
- Posts: 2
- Joined: Sun Mar 02, 2014 1:42 pm
Re: VS1053 ogg record producing corrupt files
The first file after each restart. For the moment, I'm just resetting the Arduino each time I need a new file, but its not really a working solution moving forward.
- adafruit_support_bill
- Posts: 88088
- Joined: Sat Feb 07, 2009 10:11 am
Re: VS1053 ogg record producing corrupt files
One cause of corrupted files that I know of is overruns when writing the file. If the file writes can't keep up with the data rate, you will get gaps in the data and a corrupted file. Not sure why the first file after a restart would be different though. If you post your code we can take a look.
You might also ask over at the VLSI solutions forum. They probably have some better insight into the problem: http://www.vsdsp-forum.com/phpbb/index.php
You might also ask over at the VLSI solutions forum. They probably have some better insight into the problem: http://www.vsdsp-forum.com/phpbb/index.php
Please be positive and constructive with your questions and comments.