Appendix F. The Host-Target Link

The host-target link allows the debugger to communicate with the debug monitor running on the target computer. The link uses an RS-232C interface connected to a serial port on the host computer, and connected to a compatible serial port on the target computer.

The connecting cable must include a null modem. This is because both the host serial port and target serial port are configured to be connected to a terminal. The null modem is simply a cross over that wires the outputs from one port to the inputs of the other. Details of the wiring are given in Section F.1.

F.1. RS-232 Information

The RS-232 standard is given in Table F-1.

Table F-1. The RS-232 Standard

DB-25DCEDB-9   
1  AAxProtective Ground
2TXD3BAITransmitted Data
3RXD2BBOReceived Data
4RTS7CAIRequest To Send
5CTS8CBOClear To Send
6DSR6CCOData Set Ready
7GND5ABxSignal Ground
8CD1CFOReceived Line Signal Detector
9  --xReserved for data set testing
10  --xReserved for data set testing
11   xUnassigned
12SCF  OSecndry Rcvd Line Signl Detctr
13SCB  OSecondary Clear to Send
14SBA  ISecondary Transmitted Data
15DB  O Transmisn Signl Elemnt Timng
16SBB  OSecondary Received Data
17DD  O Receiver Signal Element Timing
18   xUnassigned
19SCA  ISecondary Request to Send
20DTR 4CDIData Terminal Ready
21CG  OSignal Quality Detector
22 9CEORing Indicator
23CH/CI  I/OData Signal Rate Selector
24DA  ITransmit Signal Element Timing
25   xUnassigned

The wiring of a null modem cable is given in Table F-2.

Table F-2. Null Modem Wiring and Pin Connection

 25 Pin9 Pin 9 Pin25 Pin 
FG (Frame Ground)1N/A<---------->N/A1FG
TD (Transmit Data)23<---------->23RD
RD (Receive Data)32<---------->32TD
RTS (Request To Send)47<---------->85CTS
CTS (Clear To Send)58<---------->74RTS
SG (Signal Ground)75<---------->57SG
DSR (Data Set Ready)66<---------->420DTR
DTR (Data Terminal Ready)204<---------->66DSR