PSA: Multiple Generated FIT files not being imported as courses on Garmin Edge

This is a public service announcement as this had me scratching my head for a while:

I have written a tool to take a BaseCamp exported GPX file, split the tracks into smaller parts, then generate FIT file courses along with Course Points for near-the-track way points.

The FIT files are fine and open up in various tools, however when trying to import them on device only one or two of the nine files would show up.

It turns out that if the file ID message has the exact same timestamp as another FIT file, the Garmin Edge see them as the same file.

For instance, copying one file to NewFiles, it imports. The copy another file, and the Edge device will then replace the previous one with the new file.

The solution is to ensure that for each FIT file generated the timestamp is unique.

  • This looks like a whea_uncorrectable_error that I've been dealing with too, but I've never found a way to fix it. I would also be interested to read those users who managed to fix it.

  • Hi Krassty,

    if I create FIT files from a larger GPX, I'm using the prevered method from crutlefish:

    => The solution is to ensure that for each FIT file generated the timestamp is unique.

    So, for each FIT file I create  a File ID message with unique timestamp, normally the timestamp of the first trackpoint inside the splitted GPX file.

    And of course, a newly created trackname should be different from all other tracknames on the Edge Upside down