watonomous.github.io

  1. Software Division
  2. Software Division Home
  3. Perception Group
  4. FPGA

[ Software Division : Problems That Were Fixed ]

Created by [ Rowan Dempster] on Dec 28, 2019

This is not a complete list of things that needed to be fixed:

Issue 1:
USB blaster didn't recognize the FPGA
Fix: There was a patch for our version of quartus:
https://www.intel.com/content/altera-www/global/en_us/index/support/support-resources/knowledge-base/component/2019/why-does-my-usb-blaster-ii-not-work-when-using-intel--quartus---.html

Issue 2:
/perl/bin/perl was not in the right directory
Fix: Get the binary from the support files folder and place it in the quartus directory

Issue 3:
Errors loading shared files
Fix: Get patch 1 for our version of quartus:
https://www.intel.com/content/altera-www/global/en_us/index/support/support-resources/knowledge-base/tools/2018/error-while-loading-shared-libraries--libicudata-so-61--cannot-o.html

Issue 4:
Incorrect USB blaster rules
Fix:

SUBSYSTEM=="usb", ATTR=="6010", MODE="0666"
SUBSYSTEM=="usb", ATTR=="6810", MODE="0666"

Issue 5:
Multiple USB rules missing
Fix:
Current versions are on discord (see pinned)

Issue 6:
Multiple scripts don't work as intended due to bad paths
Fix:
Some have hardcoded paths in them, others have been improved so they work as intended

This is verbatim from Kenny's discussion with Intel Mentors:

firstly, for openvino there are flags that enable to paths to the board_env.xml to be changed
these are the right paths:

AOCL_BOARD_PACKAGE_ROOT is set to /opt/altera/aocl-pro-rte/aclrte-linux64/board/a10_ref. Using that.
Adding /opt/altera/aocl-pro-rte/aclrte-linux64/bin to PATH
Adding /opt/altera/aocl-pro-rte/aclrte-linux64/host/linux64/lib to LD_LIBRARY_PATH
Adding /opt/altera/aocl-pro-rte/aclrte-linux64/board/a10_ref/linux64/lib to LD_LIBRARY_PATH

for the sim computer
to change the flags, go to /home/fpga/fpga_support_files/setup and change the following to:
USE_HDDLF=0
and
have_aocl=1
\^ this is to prevent this error: board_env.xml cannot be found or something
The next error i got after going into root for permissions is the following:

root@nn2rtl:/home/fpga/fpga_support_files# aocl install
Do you want to install /opt/altera/aocl-pro-rte/aclrte-linux64/board/a10_ref? [y/n] y
aocl install: Running install from /opt/altera/aocl-pro-rte/aclrte-linux64/board/a10_ref/linux64/libexec
./make_all.sh: 3: export: 18.1/qprogrammer/bin:/opt/altera/aocl-pro-rte/aclrte-linux64/bin:/opt/altera/aocl-pro-rte/aclrte-linux64/host/linux64/bin:/home/fpga/intelFPGA_pro/17.1: bad variable name
aocl install: failed.

this is an issue between 17 and 18, might explain why whoever u asked said to use 17 only
but our mentor just now said uninstall everything and reinstall quartus 19 and openvino 2019

Document generated by Confluence on Dec 10, 2021 04:01

Atlassian