This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
openocd:start [2020/12/09 21:51] – [OpenOCD] ursgraf | openocd: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:starting_openocd|]] | + | * [[:installation# |
- | * [[openocd:installation_gdb|]] | + | * [[openocd:starting_openocd|Starting OpenOCD]] |
- | * [[openocd:how_to_use_gdb|]] | + | * [[openocd:using_openocd|Details of Using OpenOCD]] |
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:// | 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:// | ||
- | |||
- | |||
===== The OpenOCD Toolchain ===== | ===== The OpenOCD Toolchain ===== | ||
- | [{{: | + | OpenOCD |
- | + | ||
- | The same graphical debugger interface can be used with the OpenOCD toolchain | + | |
- | 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: | ||
- | To use this toolchain, OpenOCD together with an eclipse | + | Make sure to have the necessary |
- | ===== The gdb-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 debug information in STABS or DWARF format is also provided, | + | === Installation of the GDB === |
+ | The "GNU Arm Embedded Toolchain" | ||
- | More information under [[.: | + | === How to Use the GDB === |
+ | [[.: | ||
- | To use this toolchain, OpenOCD and [[.: | ||