Xilinx SDK Problem Solution in Ubuntu

本文介绍了在使用 Xilinx SDK 进行 FPGA 开发过程中遇到的问题及解决方案,包括文档链接和示例无法打开的问题,以及调试程序中无法使用控制台的问题。针对文档链接问题,提供了版本兼容性的解决方案;对于调试控制台不可用的情况,则给出了安装必要驱动和配置调试端口的具体步骤。

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值