deep

a Cross Development Platform for Java

User Tools

Site Tools


openocd:starting_openocd

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
openocd:starting_openocd [2018/08/20 17:33] – created mgehrig2openocd:starting_openocd [2022/11/24 16:06] (current) ursgraf
Line 1: Line 1:
 ====== Starting OpenOCD ====== ====== Starting OpenOCD ======
-OpenOCD requires the correct configuration files. The files for the Zybo board can be downloaded {{ :openocd:openocd_config.zip |here}}. Both files must be copied to the ''/openocd-0.10.0/bin-x64/'' folder.+OpenOCD runs a server to which you can connect  
 +  * to the command line interface of OpenOCD with a telnet connection on port 4444 
 +  * to the GDB server on port 3333
  
-OpenOCD can then be started in shell with ''openocd -f zybo-ftdi.cfg -f zybo.cfg''.+OpenOCD is started automatically when downloading to Zynq7000 based board. Alternatively you can start OpenOCD as follows: 
 +==== Windows ==== 
 +Navigate to your ''openocd-0.10.0'' directory. 
 +  * On the Zybo board start ''startOpenocdZybo.bat'' 
 +  * On the Microzed board start ''startOpenocdMicrozed.bat''
  
-After startup the shell of OpenOCD is blocked. 
  
-With a telnet connection on localhost:4444 the command line interface of OpenOCD can be openedThe Eclipse plugin OpenOCD interface also uses this port+==== Linux ==== 
- +Navigate to your ''openocd-0.10.0'' directory ''cd /opt/deep/openocd'' 
-The gdb connects over port 3333.+  * On the Zybo board start with ''sudo openocd -f digilent_zyboboard.cfg'' 
 +  * On the Microzed board start with ''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''
  
openocd/starting_openocd.1534779227.txt.gz · Last modified: 2018/08/20 17:33 by mgehrig2