Using JTAG debugging

JTAG debuggers use a connector to write an image directly into RAM, setting the machine to the start address, and then resuming the processor. The launch configurations for a JTAG device let you select which image to use (the supported types are ELF and SRecord).

The QNX Momentics IDE supports the JTAG: Using the Abatron BDI2000 JTAG Debugger with a QNX Neutrino kernel image. Each of these debuggers (each of which has an associated launch configuration type) writes a QNX Neutrino image directly into RAM in a slightly different way:


Updates to the launch configuration types

These launch configuration types are used for JTAG debugging in the IDE:


Updates to the Debug perspective

In the IDE, the Debug perspective includes buttons to control the processor state through the JTAG device. These buttons start, reset, and halt the device, and link to the corresponding GDB commands for the Abatron and Macraigor devices, and the corresponding PRACTICE command for the Lauterbach Trace32 Debugger.

The Lauterbach Trace32 In-Circuit Debugger plugin don't include a Debug perspective; it launches its own Trace32 software that contains its own buttons for performing actions.

Related concepts
Controlling your debug session
More debugging features
Related tasks
Debugging your program (building an executable for debugging)