Emlid

Community Forum

Edge - Arducopter 3.5.x, 3.6.x, 3.7dev compilation


(Marc Lebret) #1

Hello,

I have an Emlid Edge card with official Emlid 3.5.5 Arducopter.

This firmware is working well but quite old…

If Edge is not an option with Waf and 3.5 arducopter branch, Waf accept to compile copter version from 3.6 or Master branch. However 3.6.7 or 3.7dev version of arducopter do not run on Edge. I have a red blinking led (error) when trying it.

Is it an Edge hardware limitation somewhere or a software problem?

Thanks for your help,

Marc


(Tatiana Andreeva) #3

Hi @mlebret,

I’ll try to reproduce it and get back to you with updates.


(Dmitriy Ershov) #4

Hi Marc,

We reproduced the described behavior, thanks for reporting. We will dig into the issue and report back once there are news.


(Marc Lebret) #5

Thanks for your work,

There is some clues with how data (some parameters) is stored (permanently?) in the Edge card or the Rpi compute module.

There is no easy way to clear memory when installing a fresh 1.5 image (some old parameters are still present somewhere) and if I try to run emlidtool with a recent arducopter 3.6.x, there is a wrapper error msg.

Marc


(Lucas De Marchi) #6

I just built and ran arducopter from master branch and it’s working fine. What exactly is not working for you?


(Marc Lebret) #7

Hi Lucas,

When compiling from Master (1 month ago) or 3.6.7 branch, Arducopter start but hang somewhere and Edge light is blinking Red.

If I replace the 3.5.5 arducopter with 3.6.7 in the fresh EmlidEdge image file, I have the Startup error (in the Emlidtool window).

Thanks,

Marc


(Lucas De Marchi) #8

I only tried on master branch. I compiled it and left it running during night with no problem.


(Marc Lebret) #9

Thanks for the information,

I will have another try.

Marc


(Marc Lebret) #10

Hello,

Something is missing…

Marc


(Lucas De Marchi) #11

what toolchain did you use?


(Lucas De Marchi) #12

it should work with

~/p/buildroot/output/host/bin/arm-linux-gnueabihf-gcc --version
arm-linux-gnueabihf-gcc (Linaro GCC 7.3-2018.05) 7.3.1 20180425 [linaro-7.3-2018.05 revision d29120a424ecfbc167ef90065c0eeb7f91977701]

(Marc Lebret) #13

I use Ubuntu (Linux on Windows10).

I will look at Linaro gcc, (HowToInstall).

Emlid should made Edge arducopter compiled version available at firmware.ardupilot.org like they do for Navio family.

Thnaks,

Marc


(Lucas De Marchi) #14

Humn… Those firmware there are built by the ArduPilot devs themselves. I will take a look on adding Edge.


(Marc Lebret) #15

Stable version should be fine.


(Marc Lebret) #16

Hello Lucas,

I downloaded Arducopter 3.6.7 for Edge from firmware repository. It is now installed and running. I will check all settings and calibration later.

Thanks,

Marc