ArduPilot / ArduPilot/MissionPlanner

MAVFtp issues random crc error which cancels ftp upload

Open
#2,397 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
2.4k
Forks
2.9k
Avg merge
19h 16m
Merged PRs (30d)
4

Description

MAVFtp issues random crc error which cancels ftp upload

After downloadin map data using the create_terrain.py script and using MAVFtp to upload this map data to a Matek F765 running arduplane 4.06 beta I get this error:
Exception of type 'Ionic.ZipBadCrcException' was thrown.
at MissionPlanner.Controls.MavFTPUI.<>c_DisplayClass13_0.b_2(IProgressReporterDialogueiprd)
at MissionPlanner.Controls.ProgressReporterDialogue.RunBackgroundOperation(Objecto)

This on Windows 10 using USB 2 and no hub. It happens randomly and if I keep trying the upload eventually MAVFtp will upload the file with no issue.

Is this expected?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the upload of map data generated by create_terrain.py to the Matek F765, recording when Ionic.ZipBadCrcException occurs. Trace the reported path through MissionPlanner.Controls.MavFTPUI and ProgressReporterDialogue, then compare failed and successful attempts. Done means the random CRC failure is explained and the upload no longer cancels unexpectedly.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.