Include OpenOCD

Registered by Andrey Smirnov on 2014-07-13

OpenOCD is an open source implementation of gdbserver for multiple USB debugger protocols including, but not limited to, CMSIS-DAP, JLink, ST-Link, FTDI-based adapters, etc. It supports features like semihosting, SWD trace, DDC and includes flashing drivers for 20+ varieties of MCUs.

It is the last piece of the picture for GCC ARM Embedded to independently develop for ARM7, ARM9, ARM11, Cortex-M, Cortex-R and Cortex-A(with patches existing to extend OpenOCD to support non-ARM architectures) on all three major platforms: Windows, OSX and Linux

It is the most mature and well tested open source debugger bridge implementation and if any such solution should be included in the release -- that solution should be OpenOCD.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
Andrey Smirnov
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

Agree that OpenOCD is a great tool. If there is anything from tool chain part that should be improved in order to work with OpenOCD, please report it in 'Work Items' or 'Bugs' section.

As for including the openocd in this tool chain release, I have below concerns:
1) It seems to me that both sides have different release cycles.
2) Freddie Chopin is kindly providing the windows binaries.
3) User can install openocd for Mac simply through BREW system.
4) Also according to openocd official document, we need 'pkg-config >= 0.23 (or compatible)' to build openocd. While the pkg-config in our current Ubuntu 8.10 build platform is 0.22.
5) We do have weekly release of another gdb server pyocd at https://launchpad.net/gcc-arm-embedded-misc/pyocd-binary

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.