deep

a Cross Development Platform for Java

User Tools

Site Tools


openocd:start

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:start [2020/12/09 11:54] – [OpenOCD] ursgrafopenocd:start [2021/01/14 16:37] (current) – [OpenOCD] ursgraf
Line 2: Line 2:
 OpenOCD is the software part of a debugger. Together with a hardware adapter OpenOCD is the software part of a debugger. Together with a hardware adapter
 OpenOCD is a complete debugger and can be used as a replacement for an expensive debugger such as the BDI3000 from Abatron. OpenOCD is a complete debugger and can be used as a replacement for an expensive debugger such as the BDI3000 from Abatron.
-  * [[openocd:installation|]] +  * [[:installation#install_libraries_to_access_the_hardware|Download and Installation]] 
-  * [[openocd:installation_gdb|]] +  * [[openocd:starting_openocd|Starting OpenOCD]] 
-  * [[openocd:starting_openocd|]] +  * [[openocd:using_openocd|Details of Using OpenOCD]]
-  * [[openocd:how_to_use_gdb|]] +
  
 The hardware adapter forms the electrical interface to the processor and must also be matched to the processor. The adapter is already integrated on the Zybo board. For the Microzed board you need a  [[https://wiki.bu.ost.ch/infoportal/embedded_systems/jtaghs3/start|JTAG-HS3 adapter]]. The hardware adapter forms the electrical interface to the processor and must also be matched to the processor. The adapter is already integrated on the Zybo board. For the Microzed board you need a  [[https://wiki.bu.ost.ch/infoportal/embedded_systems/jtaghs3/start|JTAG-HS3 adapter]].
- 
- 
  
 ===== The OpenOCD Toolchain ===== ===== The OpenOCD Toolchain =====
-[{{:openocd:cliopenocdtoolchain.png?600|//OpenOCD Toolchain//}}] +OpenOCD starts running as a server and waits for connections from clients (telnet, GDB) and processes the commands issued through those channels. OpenOCD will launch the GDB and telnet server even if it cannot establish a connection with the target. In general, it is possible for the JTAG controller to be unresponsive until the target is set up correctly via e.g. GDB monitor commands in a GDB init script.
- +
-The same graphical debugger interface can be used with the OpenOCD toolchain as with the PowerPC and the BDI-3000. OpenOCD and the FT2232 on the Zybo take over the function of the BDI-3000.+
  
-The Eclipse Plugin can be downloaded from [[https://github.com/MarcelGehrig/openOCDInterface.git | this ]] repository. This toolchain can also be used to download a compiled deep application to the ARM target.+==== Using Telnet Connection ==== 
 +[{{:openocd:cliopenocdtoolchain.png?600|//OpenOCD toolchain using telnet connection from eclipse plugin//}}]
  
-To use this toolchainOpenOCD together with an eclipse plugin must be [[openocd:installation|installed]] and [[.:starting_openocd | started]]. +Make sure to have the necessary plugin installedsee [[:installation#install_libraries_to_access_the_hardware|Download and Installation]]. 
  
  
-===== The gdb-OpenOCD-toolchain ===== +===== Using GDB Connection ===== 
-{{:openocd:gdbopenocdtoolchain.png|}} +[{{:openocd:gdbopenocdtoolchain.png|//OpenOCD toolchain using GDB connection//}}]
-//Picture 2: The gdb-toolchain//+
  
-This toolchain uses OpenOCD in combination with the GNU debugger, the gdb. +This toolchain uses OpenOCD in combination with the GNU debugger, the GDB. The GDB can be used to load a deep application onto the target. For this it must have been packed in an ELF format. If debug information in STABS or DWARF format is also provided, the debugger can also be used to debug the deep application directly to the target.
-The gdb can be used to load a deep application onto the target if it has been packed in an ELF format.+
  
-If debug information in STABS or DWARF format is also provided, the debugger can also be used to debug the deep application directly to the target.+=== Installation of the GDB === 
 +The "GNU Arm Embedded Toolchain" includes the GDB debugger. The toolchain can be downloaded from [[https://developer.arm.com/open-source/gnu-toolchain/gnu-rm/downloads|]].
  
-More information under [[.:how_to_use_gdb|How to use the gdb-OpenOCD-Toolchain]]+=== How to Use the GDB === 
 +[[.:how_to_use_gdb|Using the GDB with deep]]
  
-To use this toolchain, [[openocd:installation|OpenOCD]] and [[.:installation_gdb|gdb]] must be installed. 
  
openocd/start.1607511242.txt.gz · Last modified: 2020/12/09 11:54 by ursgraf