connect -url tcp:127.0.0.1:3121
source C:/Users/cnm/Desktop/work/gpio_emio/gpio_emio.sdk/system_wrapper_hw_platform_0/ps7_init.tcl
targets -set -nocase -filter {name =~"APU*" && jtag_cable_name =~ "Digilent JTAG-SMT2 C305BD74ABCD"} -index 0
loadhw -hw C:/Users/cnm/Desktop/work/gpio_emio/gpio_emio.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-SMT2 C305BD74ABCD"} -index 0
stop
ps7_init
ps7_post_config
targets -set -nocase -filter {name =~ "ARM*#0" && jtag_cable_name =~ "Digilent JTAG-SMT2 C305BD74ABCD"} -index 0
rst -processor
targets -set -nocase -filter {name =~ "ARM*#0" && jtag_cable_name =~ "Digilent JTAG-SMT2 C305BD74ABCD"} -index 0
dow C:/Users/cnm/Desktop/work/gpio_emio/gpio_emio.sdk/gpio_emio/Debug/gpio_emio.elf
configparams force-mem-access 0
targets -set -nocase -filter {name =~ "ARM*#0" && jtag_cable_name =~ "Digilent JTAG-SMT2 C305BD74ABCD"} -index 0
con
