ArduPilot / MissionPlanner

Mission Planner Ground Control Station for ArduPilot (c# .net)
http://ardupilot.org/planner/
GNU General Public License v3.0
1.79k stars 2.41k forks source link

Custom firmware .px4 file reports no end flag when uploading #1132

Open ycai47 opened 8 years ago

ycai47 commented 8 years ago

I was trying to add IR Lock precision landing on my quadcopter and I followed http://dev.ardupilot.com/wiki/building-px4-with-make/ to make the .px4 file after I modified the APM_Config.h file to enable precise landing and build from master branch of ardupilot as suggested by this page, https://irlock.readme.io/docs/download-links. However, it keeps giving me an error like this:

The hex file does no contain an end flag

And then followed by:

Failed to read firmware.hex: No end flag in file

Is there anything that needs modified in Utilities/Firmware.cs or it is rooted somewhere else?

meee1 commented 8 years ago

what other usb devices do you have plugged in? I would try unplugging other atmega devices and try again.

ycai47 commented 8 years ago

I tried unplugging everything, even restarting. I finally uploaded with APM Planner 2.0, so that's probably special about Mission Planner.

meee1 commented 8 years ago

can you post your missionplanner.log file for when the error occurs. as for some reason something connected to your pc is being identified with a vid and pid of a apm2 style device.