Can .fit file be broken in the middle of writing?

I'm recording activities on Garmin Forerunner 55.

The activity history in my Forerunner 55 shows that there are about 6 hours of activity, but even if I try to sync with Express, it is not uploaded to Garmin Connect.

When I connect a forerunner to my PC and look at the "Activity/" folder, I have a .fit file of 165 kb, but when I try to upload it directly to the GC, it says, "The file type you are importing is not supported."

And when I connected the forerunner to PC, the forerunner's memory was almost full.

Considering that the size of that .fit file is too small for six hours of data, I suspect that the .fit file was written and stopped in the middle.

Is there any way to check this problem?

When I decode with the FitSDK, it prints this:

[RuntimeError('FIT Runtime Error at byte: 16 CRC Error')]

Top Replies

All Replies

  • possible, any special actions you did at that time period
    • I tried to implement an app that records raw sensor data in FIT files. And my app wanted to save data every six hours. So, I tried to record it automatically with the code. (Start recording at 00:00:00, then abort and save at 05:59:55. And after 5 seconds, I start recording again at 06:00:00.
    you can check if you can get the content repaired
    • when I try to import data in Garmin Connect, it prints We don't support the file type you tried to import.
    run your fit file throug Fit File Tools's section remover without any removal
    • Wow. This one  worked!

    PROBLEM) The elapsed time is well detected (as 5:59:55), when i uploaded it to Garmin Connect.

    However, the actual data is only a fraction of the duration (for example,12min or only 3 hours)

    I still have no idea why this happened.

    But at least, thanks to your help, I can get the part of the data.

    Thank you very much!