Problem downloading log files

Within the past couple of weeks (I don’t know if it coincides with an Arducopter update) I’ve struggled to download log files from the Matek H743WING board in my heli. MP connects okay and shows the correct number of log files (usually only 4 or 5 because I delete after I’ve downloaded them) but when I select a file, or all files, to download the progress bar starts as normal going to about 98.3% in about 30 seconds, but then it refreshes and starts again from about 5% at a glacial pace. The download I’m doing at the moment is at 10.5% after about 17 minutes. At that pace it will take close to 3 hours, which is what happened recently when I first encountered the problem.

I’ve disconnected and reconnected to MP, shut down MP and started it again, and rebooted my Laptop (Windows 10) without any improvement. Any ideas please?

This could be the same problem as described here:

It does sound exactly the same, but the other thread that’s linked in it sounds slightly different. But I don’t see any resolution to the problem. I did try QGroundControl, but I couldn’t get it to see any files, whereas MP at least sees them, and downloads them eventually.

I can access the SD card in this heli, so I’ll check out copying them direct.

I encountered a similar issue, I found that if the log download was slow, restarting the flight controller and then downloading again would normalize the process.

FC was powered down as well, but no change.

When it first happened to me, after downloading the first file in about 3 hours I returned to the task next day (everything switched off overnight) and downloads then worked as normal. I’ll see if that’s the case this afternoon.

Sounds like a MAVFTP issue, causing the download to fallback to non-MAVFTP operation.

Can you try it using mavproxy?

Oops, too late!

This afternoon I tried MP again a few times, powering down the FC and reloading MP each time, with the same result. I then tried QGC and it was able to download the files without any problem – 5 files in about 2 minutes.

I then went back to MP and was able to review the files as normal, so I then used MP to delete all files and it did so without any issue. That’s why I can’t try Mavproxy!

So does it sound like unistalling and reinstalling MP would help – is that where MAVFTP resides?

No need to uninstall, updating should do the job.

There’s only a Beta update found. Is it safe to update to that, and can I roll back if there’s a problem?

You should always use betas from MP. They work a lot better than the stable releases.

Thanks amilcarlucas. I’ve updated to the Beta version 1.3.28 build 1.3.9007.4717 and that seems to have done the job. I downloaded 4 files from another heli without any problem.

One minor issue now though – I’ve got a 3 x 2 display in the bottom left of the MP Quick screen, each containing a big red X, but double-clicking the boxes and selecting a parameter doesn’t cause the parameter to be displayed.

I was unable to populate the 3 x 2 display in the MP Quick screen, so I uninstalled 1.3.28 build 1.3.9007.4717 and uploaded and installed the current stable release 1.3.28 build 1.3.8979.17128 again. That’s restored the configurable 3 x 2 display for me, but once again I have the same problem downloading log files as I’ve described in my opening post. I downloaded the files I wanted using QGC, and then MP was able to delete them from the heli without any problem.

I have similar problems with using MP 1.3.82 build 1.3.8979.17128. Tried to solve updating to the latest beta 1.3.9118.9104, but it disconnected immediately when I pressed “download log” button.
I tested with another drone and this time MP didn’t disconnect, but after downloading about 97% of the file jumped back to 20% and stuck there.
I’m running WIn 11 and installed MP fresh on it.

Please, what is current situation about this issue? Isn’t there any special workabout for WIn11?

I’m still on Windows 10, and MP file download still behaves just as you describe rptacek. My only ‘workaround’ is to use QGC to download the files. MP can still read them and delete them normally. My problem when I installed a beta MP was it didn’t display selected parameters/values in the boxes at the bottom left of the main screen. It did download log files okay though, but I reverted back to the stable release because of the missing displays.

I tried mavproxy the other day, but I can’t figure how to use it :frowning_face: Since QGC is doing the job for me, I didn’t persevere with mavproxy.

I just also installed QGC, but honestly within some 5 minutes I couldn’t find where to download logfiles with it. Can you please give me a hint where is it hidden?
In which MP version log downloading works for you (even there are not working some displays)?
Thanks!

Once it’s up and running QGC will connect to your vehicle within a short period of you plugging it in to a USB slot – no need to select USB port or to “Connect” like with MP.

When it’s connected, click on the “Q” symbol at the top left and you should get a menu in the middle of the screen which includes “Analyse tools”. Click on that and then click on “Refresh” at the right side, and you’ll then see a list of your log files.

Thank you! With the Qground control downloading logfiles normally works. On the same PC, cable, drone and file downloading with the MP always fails!
Usually it looks like in this video, but sometimes it instead disconnecting gets to some 98% and then gets back to some 20% and starting to go again crazy slow.
Different versions of the MP (newer beta or previous stable) doesn’t help.
PC is brand new cleanly installed PC with Win 11.
I think I should report it on Github as an issue.

It seems to be a problem between your MP and your PC.
The mission planner log file download has two steps.

  1. Fetching the data from FC via Mavlink to some Buffer. this is the slow phase going upto 98% or 99%. 100% is not shown but second phase is started
  2. Storing the buffer to the log file. This is the “get back” to 20%.
    This second phase failed on your PC

Mine was working fine for a few years then just stopped working. Nothing has changed about my PC except the regular Windows 10 automatic updates. So, any ideas what app or program executes the second phase? Is it part of Mavlink or Windows or something else? Or is the problem maybe due to some lack of storage or memory?

I don’t have a clear answer.
I noticed this 2 steps just as I download some larger .bin logs from my rover. With small files this all happens to fast to follow the readings in the mission planner log download window.

This is the problem of modern SW development.
HW needs to be perfect from the beginning, SW needs updates :grinning:
I think by the win update some pointers, drivers or something else was changed that now tis mission planner function no more correct.
I don’t think this is a problem of the FC Firmware or the Mavlink in principle
Maybe you can reinstall MP