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

Both sides previous revisionPrevious revision
Next revision
Previous revision
openocd:starting_openocd [2020/12/09 21:56] ursgrafopenocd:starting_openocd [2022/11/24 16:06] (current) ursgraf
Line 1: Line 1:
 ====== Starting OpenOCD ====== ====== Starting OpenOCD ======
-Start the OpenOCD server as follows:+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
  
-===== Windows =====+OpenOCD is started automatically when downloading to a Zynq7000 based board. Alternatively you can start OpenOCD as follows: 
 +==== Windows ====
 Navigate to your ''openocd-0.10.0'' directory. Navigate to your ''openocd-0.10.0'' directory.
   * On the Zybo board start ''startOpenocdZybo.bat''   * On the Zybo board start ''startOpenocdZybo.bat''
   * On the Microzed board start ''startOpenocdMicrozed.bat''   * On the Microzed board start ''startOpenocdMicrozed.bat''
  
-These commands will  
-With a telnet connection on localhost:4444 the command line interface of OpenOCD can be opened. The Eclipse plugin //OpenOCDinterface// also uses this port. 
  
-The gdb connects over port 3333. +==== Linux ==== 
- +Navigate to your ''openocd-0.10.0'' directory ''cd /opt/deep/openocd'' 
-===== Linux ===== +  * On the Zybo board start with ''sudo openocd -f digilent_zyboboard.cfg'' 
-Run OpenOCD with the correct config file: +  * On the Microzed board start with ''sudo openocd -f microzedboard.cfg'' 
-cd /opt/deep/openocd +Alternatively, you could start openOCD anywhere and indicate the path to search for config files and scripts with 
-sudo openocd -f microzedboard.cfg or sudo openocd -f digilent_zyboboard.cfg+  * ''sudo openocd -s /home/.../openocd -f digilent_zyboboard.cfg'' 
 +  * ''sudo openocd -s /home/.../openocd -f microzedboard.cfg''
  
openocd/starting_openocd.1607547382.txt.gz · Last modified: 2020/12/09 21:56 by ursgraf