Help with broken .fit file from Garmin 540

Hey all - wondering if anyone on here has the know how of .fit file resurrection.

I did an outdoor ride this morning, recorded on a Garmin edge 540. On the device itself, I can see the breadcrumb trail of my ride, it shows the distance, speed, elevation change, power etc. BUT when uploading to Garmin Connect the map isn’t showing, Strava won’t accept the file saying “the file is empty” and the ride doesn’t show up on the trainerroad calendar either.

I’ve mucked around with fitfiletools to see if I can get anything working but no such luck.
Help would be most appreciated! I want my internet points!

Have you tried https://www.fitfileviewer.com/

Out of luck then. What is the size of the fit file?

The files have a preamble, and ending, and if the end is missing or blown, the file won’t be inhaled as valid.

I’d make a copy of the blown file and open it, and a known good file, and compare the syntax, especially the ending. And look at the general pattern of the good file and scroll the blown one. It’s possible that there is a small bit of it missing at the beginning or end and that had tainted it. Good luck…

You could look at the 540 directory when attached to a computer and see if the file on the watch works. Long shot there,

1 Like

Easier said than done, given the format is binary, and the mix of definition and data records.

1 Like

8kb …. So, tiny.

Thanks for all the suggestions. I’ll have a rummage around and see what u can salvage. I don’t really care at all about the GPS, speed or distance, but I’d love to be able to upload the power, cadence and HR to trainerroad.

That sounds far too small to have your ride data intact.

What’s weird is I can look at the lap averages for every data field etc on Garmin connect

I agree
My last Garmin ride 50 miles has a .fit of 800+ kb

1 Like

You could try Gotoes Combine FIT, GPX, CSV or TCX files for Garmin or Strava. Merge Heart Rate Power and GPS

It is? So many are XML text files. Bummer…

Brian from Gotoes was incredibly helpful. I’m also working with Trainerroad support on a solution at their end.

1 Like

A fit file has a specific record type for laps, plus summary. It’s quite possible to have summary and lap data without the second by second record data,

Edge has been FIT a long time. Previously these used TCX or CRS (subset for pure courses). These latter formats are XML based and human readable. TC stands for training centre, Garmin software over twenty years old now.

Ah, that’s it… My only experience with the fit files was when the Edge I had had a bug that didn’t ‘close’ the file properly if it was turned off prior to being connected to a computer to grab the data. It was an early 5xx series, and wow, years ago. Too many years ago.

Garmin suggested a way to recover the files and ‘end’ them, and I was able to post most of them. The bug was fixed within days, but left a lot of people hanging. I remember actually losing a couple of rides somehow in that process. I got a good zing on the support agent, but it wasn’t their fault, but who tested that release? Good grief…

(That was also the same Edge that would crash at the same point on a ride, at the same place, no matter what direction I approached it. THAT one was bizarre AF, and was eventually fixed too without comment as to why, and if it effected other people across the globe at different spots :face_with_spiral_eyes: :crazy_face:)

1 Like