RegisterSearchFAQMemberlistUsergroupsLog in
Reply to topic Page 1 of 1
SD Card Logging issue
Author Message
Reply with quote
Post SD Card Logging issue 
I'm having issues with SD card logging. I have had the logging working in the past with RCP GPS channels and a custom LUA script to log RPM, Brake pressure and a few other items on my Evo X. I did not log anything for a few months and then switched over to the 2.11.0 firmware and then new 1.8.0 RCP app software. Now I'm having issues with the SD card log files. The log files are being created when I press the log button and the files are proportional in size compared to the length of time I let the logging continue. So the longer I leave the RCP in log mode the larger the files. The problem is the log files contain no data. I looked at the log files with a few different programs and finally with a hex editor found that there is no actual data, it is all binary zeros. What type of incorrect settings could cause this, or where should I begin looking to figure this out?

View user's profile Send private message
Reply with quote
Post  
Correction to the first post, I was actually running the most recent 1.9.0 RCP app not the 1.8.0. That wasn't related to the issue though. The problem was that I used this card for the RC, then lost my GoPro SD card and used this RC SD card for the GoPro until I found a new one. For whatever reason the GoPro files and/or format made it incompatible with the RCP when I switched back. Formatting the SD card solved my issue.

View user's profile Send private message
Reply with quote
Post  
Hi,

Glad you figured it out. Yes, formatting the SD card is a good first step for troubleshooting!


_________________
Brent Picasso
Founder, Autosport Labs
Facebook | Twitter
View user's profile Send private message Send e-mail
Reply with quote
Post  
Does the format of SD card affect the logging ?
if yes i would like to know why is it so?

Thank You

View user's profile Send private message
Reply with quote
Post  
Yes, it affects the logging. A proper and clean format allows computers to write data correctly to storage drives, including SD cards.


_________________
Brent Picasso
Founder, Autosport Labs
Facebook | Twitter
View user's profile Send private message Send e-mail
Reply with quote
Post  
The GoPro puts several directories in the root directory when it formats a card. That is probably confusing the issue.

View user's profile Send private message
Reply with quote
Post  
Actually, it doesn't matter if other folders and files are present. When RCP goes to create a log, it looks for the next available log file name it can create - RC_1, RC_2 and so on. It's very simple and deterministic, ignoring anything else that might be present on the SD.

A fresh format ensures the file allocation table is not corrupt, and that data shows up where it's expected when written.


_________________
Brent Picasso
Founder, Autosport Labs
Facebook | Twitter
View user's profile Send private message Send e-mail
Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum