I would like to build a gps tracker, which sends datas to UART, and after I process this, I save the interesting datas to sdcard in gpx format. I debug the code in UART. I noticed, if I remove the sdcard commands from my code, on the serial terminal the datas appear correctly. But, if I want to write to the sdcard, some of the valuable datas are lost. In this case on the serial terminal show the same thing, which is in the sdcard. Now I'm trying to find out what happenin, that I seperated the sdcard module, and only the ISP programmer, and the USB--TTL adapter connected to the uc. Same results. Can anybody help me to find out what happening? I attach the full atmel studio solution to save space. In realterm I use the send function, to send the "send.txt" file byte by byte with 1 ms delay.
Joined: Tue. Jul 30, 2013
Posts: 56 View posts