peggy_y

开发环境安装+BIST测试

0
阅读(958)

1、板卡连线,播跳线

 

 

١  Y60CZl

 

参考:E:\ZYNQ7000\Documentation\Zynq-7000 getting started guide.pdf

2、BIST测试

①安装vivado和xilinx sdk

软件安装中遇到问题:双击xsetup.exe无反应

解决:

打开解压后的Vivado安装包的bin目录下,可以看到xsetup.exe本质上是调用xsetup.bat (个别版本是xsetup2.bat)这个批处理文件。

接下来我们可以尝试用管理员模式运行命令行启动程序cmd.exe,切换到bin目录再运行xsetup.bat,此时会发现提示“Administrative permissions are not available. Please restart the command line shell as Administrator.”可是我们已经明明使用了管理员权限来运行安装程序了啊?

这个有可能是因为未知的系统权限原因(或者与未知的软件冲突),此时我们只要先备份xsetup.bat,然后用记事本打开xsetup.bat,找到如下代码:

  1. %SYSTEMROOT%\System32\net session >nul 2>&1  

  2. if NOT %errorLevel% == 0 (  

  3. echo ERROR: Administrative permissions are not available. Please restart the command line shell as Administrator.  

  4. set EXITCODE=1  

  5. goto :end  

  6. )  

把这几行代码全部删除,然后保存xsetup.bat并关闭,再在xsetup.bat上点击右键选择管理员权限运行就可

启动Vivado的安装了。

②安装usb uart驱动

USB to UARI Bridge Driver Installer  Cornpleting the Installation of the  CP210x USB to UART Bridge Driver  The drives tuccetsfuly hstdled the convlet.  YO.' cot-nect you device to the cornputer. If device  c•ne ilttructicms, please read them first.  rive Nne  V Sic-on Laboratories Ida.  to use

在设备管理器中将Silicon Labs CP210x USB to UART串口设置为COM1~COM4的端口号

③安装Tera Term串口调试工具

开启板卡开关,在调试工具中选择刚刚设置的串口号,在Setup > Serial Port... 中将波特率设置为115200。

④在dos中运行如下命令

Administrator: Comma•ui Prompt  Microsoft Windows [Uers ion 6.1.76M]  Copyright (c) 2ØØ9 Nicrosoft  C : Sready_f or_down load _bist. bat  rights reserved.

得到BIST菜单

EO Cortrol  -?ØØØ All progrannable SOC  Evaluation Kit  ose Feature to Test:  : ps UART rest  11C rest  : ps rest  SCUGIC Test  : ps DCFG Test  PS  DDR3 &mry Test  PS  Interrupt Test  : PS  Uatchdog Timr Test  PL LED rest  : PL DIP SWITCH rest  PL  Push Button