Community
cancel
Showing results for 
Search instead for 
Did you mean: 
SNET1
New Contributor I
1,164 Views

Install ubuntu and flashing issues

Hi I have two issues during following https://github.com/intel-aero/meta-intel-aero/wiki/90-(References)-OS-user-Installation 90 (References) OS user Installation · intel-aero/meta-intel-aero Wiki · GitHub

1. The mavlink seemed not to work correctly, as when I type "sudo systemctl restart mavlink-router",

it reported "Job for mavlink-router.service failed because the control process exited with error code".

The wifi is connected with public campus wifi for internet.

Do I have to connect intel-aero-rtf SSID "AERO-xxxxxx"?

Also, I filled qgc.conf file with

[UdpEndpoint wifi] 

Mode = Normal

 

Address = 192.168.1.147

The address is "AERO-xxxxxx" ip.

2. I tried to install fpga and fc, there are two problems:

1) I successfully flased the fpga, but the versions of fpga were still unknown when I typed apt-get-version.py.

2) I could not flash the flight controller, as it reported "unable to read force bootloader pin value".

I attach what I got so far.

$ sudo get_aero_version.py

BIOS_VERSION = Aero-01.00.13

OS_VERSION = Ubuntu 16.04.3 LTS"

AIRMAP_VERSION = unknown

FPGA_VERSION = unknown

AeroFC firmware version = unknown

$ uname -a

Linux intel-aero-rtf-ubuntu 4.10.0-28-generic # 32~16.04.2-Ubuntu SMP Thu Jul 20 10:19:48 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

1.

$ sudo systemctl restart mavlink-router

Job for mavlink-router.service failed because the control process exited with error code. See "systemctl status mavlink-router.service" and "journalctl -xe" for details.

2.

$ sudo jam -aprogram /etc/fpga/aero-rtf.jam

Jam STAPL Player Version 2.5 (20040526)

Copyright (C) 1997-2004 Altera Corporation

Device # 1 IDCODE is 031820DD

configuring SRAM device(s)...

full-chip erasing Max 10 FPGA device(s) ...

programming Max 10 FPGA DSM block ...

performing operation on MAX 10 FPGA CFM0 block at sector 4 ...

performing operation on MAX 10 FPGA CFM0 block at sector 5 ...

performing operation on MAX 10 FPGA UFM block at sector 1 ...

performing operation on MAX 10 FPGA UFM block at sector 2 ...

performing operation on MAX 10 FPGA UFM block at sector 3 ...

DONE

Exit code = 0... Success

3.

$ sudo aerofc-update.sh nuttx-aerofc-v1-default.px4

BIOS_VERSION = Aero-01.00.13

OS_VERSION = Ubuntu 16.04.3 LTS"

AIRMAP_VERSION = unknown

FPGA_VERSION = unknown

AeroFC firmware version = unknown

Updating firmware on AeroFC

Writing force bootloader pin...

Unable to set force bootloader pin value

Reading force bootloader pin...

Unable to read force bootloader pin value

Loaded firmware for 41,0, size: 932900 bytes, waiting for the bootloader...

If the board does not respond within 1-2 seconds, unplug and re-plug the USB connector.

4. I tried the following as well.

$ aerofc-force-bootloader-pin.py 1

Writing force bootloader pin...

Unable to set force bootloader pin value

Reading force bootloader pin...

Unable to read force bootloader pin value

$ sudo aerofc-update.sh aerofc-v1_default.px4

it does not work with the same error

Please help me to set it up,,,,,

0 Kudos
3 Replies
idata
Community Manager
83 Views

Hello Inteldrone,

 

 

Thank you for your interest in the Intel Aero drone.

 

 

Please make sure to first flash the FPGA and FC firmware. Please follow this guide and flash each of them and then run the aero-get-version.py command again: https://github.com/intel-aero/meta-intel-aero/wiki/02-Initial-Setup

 

 

Your output should be something like this: AIRMAP_VERSION = 1.8 FPGA_VERSION = 0xc2 Aero FC Firmware Version = 1.6.5 Hope this helps. Regards, Octavian
SNET1
New Contributor I
83 Views

Hi,

thanks for your reply.

However, it seems not to be helpful for me.

I am going to use ubuntu and ROS with the intel aero rtf, and already installed ubuntu by following https://github.com/intel-aero/meta-intel-aero/wiki/90-(References)-OS-user-Installation 90 (References) OS user Installation · intel-aero/meta-intel-aero Wiki · GitHub.

Do you mean that use the original firmware provided by intel?

I do not understand your intention.

Could you please read through all my post?

Could you give me the answer in regard to the error of "sudo systemctl restart mavlink-router" as well?

Thank in advance.

SNET1
New Contributor I
83 Views

I found the answer.

https://github.com/intel-aero/meta-intel-aero/issues/291 Cannot connect to flight controller and FPGA after Ubuntu installation · Issue # 291 · intel-aero/meta-intel-aero · GitHu…

According to the above link, it is related with Linux kernel.

By following https://github.com/intel-aero/meta-intel-aero/wiki/90-%28References%29-OS-user-Installation%23get-ve... https://github.com/intel-aero/meta-intel-aero/wiki/90-(References)-OS-user-Installation# get-version,

when you power on the intel aero rtf, you can see GRUB screen.

I always choose the first one.....then the kernel version is the following..

$ uname -a 

Linux intel-aero-rtf-ubuntu 4.10.0-28-generic # 32~16.04.2-Ubuntu SMP Thu Jul 20 10:19:48 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

But, we need the version of Linux 4.4.x to install FPGA and FC!!

So how to choose Linux 4.4.x version of kernel?

Turn on the intel aero rtf... and in GRUB, you can see the default boot mode is the second one... press enter key... then you can see Linux 4.4.x...

That is, it is already set to select Linux 4.4.x kernel.............

I did not know why GRUB default set as like that...

Anyhow.. it is solved...

So keep setting up your intel drone by following https://github.com/intel-aero/meta-intel-aero/wiki/90-(References)-OS-user-Installation# get-version 90 (References) OS user Installation · intel-aero/meta-intel-aero Wiki · GitHub

Thank you.

Reply