← All tools

Message & Error Explainer

What an ArduPilot message means and what to do about it

Українська

An upload of a mission, fence or rally points did not finish

WarningMissions, fence, rally points, terrain

What ArduPilot says:

Also explained here: 1 more
  • Only N items are supported

ArduPilot asks the ground station for the items one at a time, repeating a request about every second. When no item has arrived for 8 seconds it gives up: “… upload timeout”. “Only N items are supported” means the upload is larger than the storage holds, and “Out of memory for upload” that there was no free memory to receive a fence. “Flight plan update rejected” and “Error replacing item” are a partial update that named items which do not exist.

What to do, most likely first

  1. The telemetry link is weak or busy and items got lost.

    CheckLook at the link quality on the ground station while uploading; a long mission over a slow radio takes many seconds per hundred items.

    FixUpload over USB or with the aircraft close by, then read the mission back and compare.

  2. The mission has more items than the board's storage holds.

    CheckThe number in “Only N items are supported” is the limit of this board.

    FixShorten the mission, or keep it on the microSD card: set BRD_SD_MISSION to the size in kilobytes (each waypoint takes 15 bytes) and reboot.

  3. Two ground stations, or a ground station and a companion computer, uploaded at the same time.

    FixUpload from one place at a time.

After “Mission upload timeout” the mission on board is not the old one and not the new one: the items that did arrive were already written over the old ones. Upload again and read it back. A fence is different: it is replaced only when all of it has arrived.

Parameters to look at

ParameterWhat it is
BRD_SD_MISSION SDCard Mission size
BRD_SD_FENCE SDCard Fence size
The code that sends it

Fence upload timeout

libraries/GCS_MAVLink/MissionItemProtocol_Fence.cpp MissionItemProtocol_Fence::timeout() · Open in ArduPilot Copter-4.7.1

Error replacing item (N)

libraries/GCS_MAVLink/MissionItemProtocol_Fence.cpp MissionItemProtocol_Fence::complete() · Open in ArduPilot Copter-4.7.1

Rally upload timeout

libraries/GCS_MAVLink/MissionItemProtocol_Rally.cpp MissionItemProtocol_Rally::timeout() · Open in ArduPilot Copter-4.7.1

Mission upload timeout

libraries/GCS_MAVLink/MissionItemProtocol_Waypoints.cpp MissionItemProtocol_Waypoints::timeout() · Open in ArduPilot Copter-4.7.1

And 3 more messages, sent from the same places.

Written here for Copter 4.6. In the tool you choose your vehicle and version, see your own parameter values beside the ones named here, and drop a flight log to have every message in it explained.

Open it in the Message & Error Explainer