Set up J-Link | Qt Creator Documentation

- Qt Creator Documentation
- Set up J-Link
- Qt Creator 19.0.1

Set up EBlink ◦ Set up OpenOCD

# Set up J-Link

J-Link is a line of debug probes by Segger.

To set preferences for J-Link debug probes:

1. Go to Preferences > Devices > Bare Metal.
2. Select Add.
3. Select J-Link.
4. In Name, enter a name for the connection.
5. In Startup mode, select the mode to start the debug server provider in.
6. In Peripheral description file, specify a path to a file that describes the peripherals on the device.
7. In Host, select the host name and port number to connect to the debug server provider.
8. In Executable file, enter the path to the debug server provider executable.
9. In Host interface, select the connection type, IP or USB, or use the default connection.
10. In Target interface, select the target interface type.
11. In Speed, enter the interface speed in kHz.
12. In Device, select the device to connect to.
13. In Additional arguments, enter arguments for the commands.
14. In Init commands, enter the commands to execute when initializing the connection.
15. In Reset commands, enter the commands to execute when resetting the connection.
16. Select Apply to add the debug server provider.

See also How to: Develop for Bare Metal and Developing for Bare Metal Devices.

Set up EBlink ◦ Set up OpenOCD