However, a problem arises when the GPS runs AFTER acquiring a first signal, and then subsequently losing it. The Arduino completely stops writing anything to the SD card after a fix is lost.
... 10 more post.
michinyon, writing the code to the SD file as is works just fine.
Alrighty then, all solved, is it ?
Unless it has been improved since last year, the SD file system only allows you to access one file at a time. You seem to be writing to two of them. How are you doing that, then ? I see you closing the files a lot, but never where you open them . How does that work, then ? You say that the data logging stops unexpectedly ( see the thread title, and the first post ), but you are convinced that writing to the SD card is working "just fine". Well, which is it ?