Community
cancel
Showing results for 
Search instead for 
Did you mean: 
idata
Community Manager
1,362 Views

Flashing Flight Controller on the Aero

Hi all,

I've flashed the Yocto, the BIOS and the FPGA onto the Aero using a bootable USB thumb drive first, and then following the steps laid out in

https://github.com/intel-aero/meta-intel-aero/wiki/02-Initial-Setup https://github.com/intel-aero/meta-intel-aero/wiki/02-Initial-Setup

However, when I changed the directory to where the firmwares of the flight controller is located (cd /etc/aerofc/px4/ and cd /etc/aerofc/ardupilot/) and ran the command to update it (aerofc-update.sh nuttx-aerofc-v1-default.px4 and aerofc-update.sh arducopter-aerofc-v1.px4), it keeps giving me an infinite loop

'Attempting reboot on /dev/ttyS1' along with 'If the board does not respond, unplug and re-plug the USB connector'.

According to this part of the video posted by Paul, https://youtu.be/e9MLnRbMDHo?t=356 https://youtu.be/e9MLnRbMDHo?t=356 , this is to be expected. But I ran the commands at least five times, the longest

run lasting over an hour. It did not terminate with the same message that Paul got in his video.

If anyone has any advice on an alternate method, or pointing out a step I may have missed beforehand, I would be very grateful.

Zameel

0 Kudos
7 Replies
idata
Community Manager
161 Views

I would like to point out that I used the two commands aerofc-force-bootloader-pin.py 1 and aerofc-force-bootloader-pin.py 0 to force the flight stack to go to bootloader. When I tried checking for the version of my FPGA, BIOS, OS and FC, it returned 'unknown' next to AeroFC firmware version.

RKint
Beginner
161 Views

I'm having the same issue. Unable to update flight-controller firmware.

Calling this:

aerofc-update.sh aerofc-v1_default.px4

loops forever.

I found a work-around but it's extremely time consuming. Hopefully someone has a better solution.

Here's how I work around it: Reprogram the FPGA with the recovery version, update flight controller, then reprogram FPGA back to default.

(I shutdown and restart the drone as a precaution after each step)

Details:

cd /etc/fpga/

jam -aprogram aero-rtf-recovery.jam

cd /etc/px4-fw

aerofc-update.sh aerofc-v1_default.px4

cd /etc/fpga/

jam -aprogram aero-rtf.jam

HTH

- Randy

idata
Community Manager
161 Views

Hi zameelshaki/RandyK,

 

 

There is a fix that will be included in the next software release. In the meantime, flashing the flight stack with the following commands should work.

 

 

aerofc-force-bootloader-pin.py 1

 

aerofc-update.sh aerofc-v1_default.px4

 

aerofc-force-bootloader-pin.py 0

 

 

Regards,

 

Jesus
SNET1
New Contributor I
161 Views

I also have the same issue.

I run the following code, but the result is not satisfying....

$ aerofc-force-bootloader-pin.py 1

Writing force bootloader pin...

Unable to set force bootloader pin value

Writing force bootloader pin...

Unable to set force bootloader pin value

$ aerofc-update.sh aerofc-v1_default.px4

Does not work.....

Please help me.

I am installing ubuntun on Intel drone...

idata
Community Manager
161 Views

Hi, inteldrone

 

 

Thank you for your interest in the Intel Aero drone.

 

First, make sure the flight controller is connected before flashing.

 

Also, you have to make sure all your software is up to date. What is the output of this command?

 

aero-get-version.py

 

You should see a message like this (or newer): BIOS_VERSION = Aero-01.00.13

 

OS_VERSION = Poky Aero (Intel Aero linux distro) v1.6.0 (pyro)

 

AIRMAP_VERSION = 1.8

 

FPGA_VERSION = 0xc2

 

Aero FC Firmware Version = 1.6.5

 

 

Regards,

 

Alexandra
LFerr7
New Contributor I
161 Views

I'm having the same problem.

Can someone help?

idata
Community Manager
161 Views

Hi all,

 

 

This issue has been fixed with OS version 1.6.1.

 

Please make sure you are using the latest image.

 

https://downloadcenter.intel.com/download/27399/Intel-Aero-Platform-for-UAVs-Installation-Files?v=t

 

 

Regards,

 

Alexandra
Reply