1.工具安装
参考[ADALM-PLUTO for End Users]安装驱动和IIO (https://wiki.analog.com/university/tools/pluto/users)
驱动安装不是很顺利win10的禁用了数字签名后串口的驱动还是有点问题,Win7一切都比较顺利。
2.资料获取
Hardware,firmware,Source,FPGA HDL等资源获取 在ADALM-PLUTO for Developers
git的位置https://github.com/analogdevicesinc
3Vivado 编译ZYNQ HDL部分
3.1创建ADI提供的IP
需要先配置几个ADI提供的 IP,就是ADI提供的hdl-hdl_2017_r1/ library里面。
每一个都需要在IP目录下执行一下.tcl
cd ./library/axi_ad9361
source ./axi_ad9361_ip.tcl
update_compile_order -fileset sources_1
close_project
cd ../axi_dmac/
source ./axi_dmac_ip.tcl
update_compile_order -fileset sources_1
close_project
cd ../util_fir_dec
source ./util_fir_dec_ip.tcl
update_compile_order -fileset sources_1
close_project
cd ../util_fir_int
source ./util_fir_int_ip.tcl
update_compile_order -fileset sources_1
close_project
cd ../util_axis_resize/
source ./util_axis_resize_ip.tcl
update_compile_order -fileset sources_1
close_project
cd ../util_axis_fifo/
source ./util_axis_fifo_ip.tcl
update_compile_order -fileset sources_1
close_project
cd ../util_cdc
source ./util_cdc_ip.tcl
update_compile_order -fileset sources_1
close_project
cd ../../projects/pluto
source ./system_project.tcl
3.2创建PL部分工程:
在hdl-hdl_2017_r1\projects\pluto下运行脚本tcl创建工程,编译生产bit文件,导出hardware部分
3.3 SDK创建FSBL应用程序
打开FSBL部分的引导调试信息:
编译输出fsbl.elf
后面会用到,这里也可以直接用JATG接口调试了。