Set up OpenOCD
OpenOCD (Open On-Chip Debugger) is an on-chip debug solution for targets based on the ARM7 and ARM9 family with Embedded-ICE (JTAG) facility. It enables source level debugging with the GDB compiled for the ARM architecture.
To set preferences for OpenOCD:
- Go to Preferences > Devices > Bare Metal.
- Select Add.
- Select OpenOCD.
- In Name, enter a name for the connection.
- In Startup mode, select the mode to start the debug server provider in.
- In Peripheral description file, specify a path to a file that describes the peripherals on the device.
- In Host, select the host name and port number to connect to the debug server provider.
- In Executable file, enter the path to the debug server provider executable.
- In Root scripts directory, enter the path to the directory that has configuration scripts.
- In Configuration file, enter the path to the device configuration file.
- In Additional arguments, enter arguments for the commands.
- In Init commands, enter the commands to execute when initializing the connection.
- In Reset commands, enter the commands to execute when resetting the connection.
- Select Apply to add the debug server provider.
See also How To: Develop for Bare Metal and Developing for Bare Metal Devices.
© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.