-
Notifications
You must be signed in to change notification settings - Fork 52
Checksum error in log file #49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I believe this is related to previous issues. It will be very hard to eliminate all possible logging errors while supporting BT SPP in both directions at unknown throughput rates. Just so I understand, you saw 1 error in 1MB log file? That's a good data point for me to know. And you used Stefal's conversion script to convert UBX to POS. Ok, neat. That could be a much easier tool to test checksum errors. What are the 'second must be in 0..59' errors? |
Concerning the previous issue with BT congestion, I don't know if this is related. I'm using 1 Hz for all frequencies/parameters so need for bandwidth should be limited. I will check circumstances on some samples. About the '0..59' error, this seems to be related to underlying libraries used for reading and converting ubx files, something like time was 10 mn 59 sec 999 1/1000s. After conversion and rounding, it should end up like 10 mn 60 s (instead of 11 mm 00 s). |
During several test in v1.7RC I got corrupted data.
… In the car return trip, corrupted data appears when I tried to start WIFI AP (the car was parked at the red dot) |
35 errors during the first minute of the test. |
I have some decent progress to report. I believe I've reduced, and possibly eliminated, the number of write errors. I need to run some very long logs but it looks promising. Changes I made:
|
But, after upgrade, SPI frequency is still at 8 MHz in debug menu. I will make some testing at this frequency before increasing it to 16 MHz. |
The default was increased but your SD card settings file has it set to 8MHz. If you want, you can do a factory reset and it will make it 16MHz. |
Default settings (NMEA at 4 Hz)
The last test in v1.7 with errors was in fact a trip of 48 km and 48 mn, and a record of 87 seconds taken 3 days after (during WIFI AP test ??) So it seem that since V1.8RC there is no corrupted data 😃 |
|
|
@pyrog - How are you quantifying errors? I am running Stefal's ubx_convert and seeing no checksum errors. 900MB took more than 20 minutes 😲 |
Last Monday, I made a car travel 2x300 km. I didn't found any checksum error in UBX files (and also no reboot). v1.8RC-Oct1 |
I use JOSM (an OpenStreetMap editor).
|
Ah very good, thanks Pyrog! I've just discovered @PaulZC integrity tool . It's pretty handy.
The above test was on RTK Express, 4Hz, 7 messages enabled, static antenna, no NTRIP or BT connection. On 5,357,603 messages, across 24 hours of logging, in a 870MB file, I had 3 corrupt messages or 0.00006%. So, while not flawless, it is 'good enough for government work' as we say in the USA.
A 2nd test (above) was run on different hardware (RTK Express Plus), 4Hz, 7 messages enabled, static antenna, BT connected and NTRIP provided. 5.6M messages with no corruptions detected. Thanks for your help guys! I'm closing this one as it seems to be fixed in v1.8 firmware. Please open a new issue if you start detecting errors again. |
When trying to convert ubx files logged with Surveyor or Express to .pos file, I often get a checksum error (script : https://github.com/Stefal/ubx-to-gpx).
When logging with the adalogger, I never see such an error (logger : https://github.com/PaulZC/F9P_RAWX_Logger).
Error message:

Sample file displaying one checksum error:
SFE_Express_210704_224834.zip
Right now, it is not critical as I still get the expected .pos file. RTKLib is also not complaining.
The text was updated successfully, but these errors were encountered: