-
Notifications
You must be signed in to change notification settings - Fork 0
使用xsct的脚本模式
minichao9901 edited this page May 13, 2024
·
1 revision
在该项目的.sdk目录下面,找到sdk烧录程序的脚本,把它copy到.sdk的根目录下,这里也是xsct的启动目录。
connect -url tcp:127.0.0.1:3121
source D:/FPGA/Z7-Nano/my_adc_dac_hdmi_no_subset_converter/my_adc_dac_hdmi_no_subset_converter.sdk/system_wrapper_hw_platform_0/ps7_init.tcl
targets -set -nocase -filter {name =~"APU*" && jtag_cable_name =~ "Digilent JTAG-HS3 210299737458"} -index 0
rst -system
after 3000
targets -set -filter {jtag_cable_name =~ "Digilent JTAG-HS3 210299737458" && level==0} -index 1
fpga -file D:/FPGA/Z7-Nano/my_adc_dac_hdmi_no_subset_converter/my_adc_dac_hdmi_no_subset_converter.sdk/system_wrapper_hw_platform_0/system_wrapper.bit
targets -set -nocase -filter {name =~"APU*" && jtag_cable_name =~ "Digilent JTAG-HS3 210299737458"} -index 0
loadhw -hw D:/FPGA/Z7-Nano/my_adc_dac_hdmi_no_subset_converter/my_adc_dac_hdmi_no_subset_converter.sdk/system_wrapper_hw_platform_0/system.hdf -mem-ranges [list {0x40000000 0xbfffffff}]
configparams force-mem-access 1
targets -set -nocase -filter {name =~"APU*" && jtag_cable_name =~ "Digilent JTAG-HS3 210299737458"} -index 0
ps7_init
ps7_post_config
targets -set -nocase -filter {name =~ "ARM*#0" && jtag_cable_name =~ "Digilent JTAG-HS3 210299737458"} -index 0
dow D:/FPGA/Z7-Nano/my_adc_dac_hdmi_no_subset_converter/my_adc_dac_hdmi_no_subset_converter.sdk/test/Debug/test.elf
configparams force-mem-access 0
targets -set -nocase -filter {name =~ "ARM*#0" && jtag_cable_name =~ "Digilent JTAG-HS3 210299737458"} -index 0
con