Set up J-Link
J-Link is a line of debug probes by Segger.
To set preferences for J-Link debug probes:
- Go to Preferences > Devices > Bare Metal.
- Select Add.
- Select J-Link.
- 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 Host interface, select the connection type, IP or USB, or use the default connection.
- In Target interface, select the target interface type.
- In Speed, enter the interface speed in kHz.
- In Device, select the device to connect to.
- 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.