OpenOCD runs a server to which you can connect
OpenOCD is started automatically when downloading to a Zynq7000 based board. Alternatively you can start OpenOCD as follows:
Navigate to your openocd-0.10.0
directory.
startOpenocdZybo.bat
startOpenocdMicrozed.bat
Navigate to your openocd-0.10.0
directory cd /opt/deep/openocd
sudo openocd -f digilent_zyboboard.cfg
sudo openocd -f microzedboard.cfg
Alternatively, you could start openOCD anywhere and indicate the path to search for config files and scripts with
sudo openocd -s /home/…/openocd -f digilent_zyboboard.cfg
sudo openocd -s /home/…/openocd -f microzedboard.cfg