Sd card funtion well, but sometime the firmare stop, without any message.
After some tests to discover where the programm didn' function, I changed the original sketch in the string declaration , in this way :
Original :
String dataString = "";
A likely source of your problem is right there. There are major problems with the String class. Quit using it.