简体   繁体   中英

GPS SD Card Data Logger in 16F819 raw type issue

I did a GPS data logger application with PIC 16F819, my sd card format type fat32. i run my application and sent gps record to sd card.then, i couldnt see any text file or file. it saved it probably native raw type. I used a hex editor but this is not showed me relevant characters. My used project http://www.gedanken.demon.co.uk/gps-sd-logger/ How i can see the datas!!..

From the linked page (emphasis mine),

The data is written to the SD card in blocks of 512 bytes (the native SD card block size). One block is written each second and padded to 512 bytes with zero bytes. Starting and stopping is recorded by a blank block in the SD card. There is no file system on the SD card so it needs to be read byte by byte (easy in Linux using a USB adapter and reading the raw device). To read the card I have a simple C program that extracts the NMEA data and writes one file for each time that the box was awake.

You need to read the card directly, which is easy on Linux or OS X but will differ between platforms. Feed the binary data to the C program he should have also posted on the site. (I didn't look.)

This assumes the hardware and everything is working correctly, which is not a safe assumption for a project simply built from online instructions. Probably you should contact the author of that page, he likely won't mind giving a little help.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM