Serial connection

QNX SDP8.0Programmer's GuideDeveloper

If the host and target systems are connected via a serial port, then you should start the debug agent (pdebug) with the following command:
pdebug devicename[,baud]

This indicates the target's communications channel (devicename) and specifies the baud rate (baud).

For example, if the target has a /dev/ser2 connection to the host, and we want the link to be 115,200 baud, we would specify:
pdebug /dev/ser2,115200
Figure 1Running the process debug agent with a serial link at 115200 baud.

Serial debugging

The QNX OS target requires a supported serial port. The target is connected to the host using either a null-modem cable, which allows two identical serial ports to be directly connected, or a straight-through cable, depending on the particular serial port provided on the target. The null-modem cable crosses the Tx/Rx data and handshaking lines. Most computer stores stock both types of cables.

Figure 2Null-modem cable pinout.

Null-modem cable pinout
Page updated: