connect -url tcp:127.0.0.1:3121
source E:/Smart_ZYNQ_SP_SL/SDK/26_PS_LCD_TEST_SP2/LCD_TEST/LCD_TEST.sdk/zynq_wrapper_hw_platform_0/ps7_init.tcl
targets -set -nocase -filter {name =~"APU*" && jtag_cable_name =~ "HelloFpga JTAG-SP2 03SD89A"} -index 0
rst -system
after 3000
targets -set -filter {jtag_cable_name =~ "HelloFpga JTAG-SP2 03SD89A" && level==0} -index 1
fpga -file E:/Smart_ZYNQ_SP_SL/SDK/26_PS_LCD_TEST_SP2/LCD_TEST/LCD_TEST.sdk/zynq_wrapper_hw_platform_0/zynq_wrapper.bit
targets -set -nocase -filter {name =~"APU*" && jtag_cable_name =~ "HelloFpga JTAG-SP2 03SD89A"} -index 0
loadhw -hw E:/Smart_ZYNQ_SP_SL/SDK/26_PS_LCD_TEST_SP2/LCD_TEST/LCD_TEST.sdk/zynq_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 =~ "HelloFpga JTAG-SP2 03SD89A"} -index 0
ps7_init
ps7_post_config
targets -set -nocase -filter {name =~ "ARM*#0" && jtag_cable_name =~ "HelloFpga JTAG-SP2 03SD89A"} -index 0
dow E:/Smart_ZYNQ_SP_SL/SDK/26_PS_LCD_TEST_SP2/LCD_TEST/LCD_TEST.sdk/LCD_TEST/Debug/LCD_TEST.elf
configparams force-mem-access 0
targets -set -nocase -filter {name =~ "ARM*#0" && jtag_cable_name =~ "HelloFpga JTAG-SP2 03SD89A"} -index 0
con
