Xilinx SDK Problem Solution in Ubuntu

Problem1: Documention and Example can't open, Xilinx SDK  Ubuntu.

Step1: Click the Document link or Example link.

We can see the error message from the terminal where you execute vivado command.

step1

The message said ‘GLIBCXX_3.4.9’ not found.

And the location locked is :

/opt/Xilinx/Vivado/2013.4/ids_lite/ISE/lib/lin64/libstdc++.so.6

Step2:find the GLIBC edition vivado want from the following location:

bash$: strings /usr/lib/i386-linux-gnu/libstdc++.so.6 |grep GLIBCXX

step2

‘GLIBCXX_3.4.9’ located in this file /usr/lib/i386-linux-gnu/libstdc++.so.6

Step3: Make a link from /opt/Xilinx/Vivado/2013.4/ids_lite/ISE/lib/lin64/libstdc++.so.6     in step1

to /usr/lib/i386-linux-gnu/libstdc++.so.6    in step2, like the following screen:

step3

bash$: mv libstdc++.so.6 libstdc++.so.6.bak

make sure you backup the old version of libstdc++lib.

bash$: ln /usr/lib/i386-linux-gnu/libstdc++.so.6 libstdc++.so.6

Try to click ‘Documention’ again and see if it works~

bash$:/opt/Xilinx/Vivado/2013.4/ids_lite/ISE/lib/lin64# ll | grep 'libstd*'

Problem2: Console not avaiable in debugging program.

Step1: Make sure you have installed two parts of drivers:

Part1:crypress-UART driver ( compile USB(CDC-ACM) in linux kernel) this will be installed automatically if you have installed Vivado successfully.

Part1(test): make sure /dev/ttyACM0 show up when you link the board to your computer.

Part2:Additional diligent-program driver is needed, you can download them from the website of digilent   you can also download them from my cloud storage:

digilent.adept.runtime_2.10.2-i686.tar.gz

libCseDigilent_2.4.3-i686.tar.gz

then install them by follow documents inside of the package.

Step2: Open your Project , right click the name of Project –> Run as –> Run Configurations

Step3: Double Click the bottom item of left window, choose STDIO_Connection, and choose JTAG_UART as port, apply and run.

Step4: Open minicom configur seriel port to ttyACM0. You can see the output.

原文地址:https://www.cnblogs.com/shenerguang/p/3726575.html