5.2.4.1 On-Board Debugger Connections
The table below shows the connections between the target and the debugger section. All connections between the target and the debugger are tri-stated as long as the debugger is not actively using the interface. Hence, since there are little contaminations of the signals, the pins can be configured to anything the user wants.
For further information on how to use the capabilities of the on-board debugger, see On-Board Debugger Overview.
PIC18F16Q40 Pin | Debugger Pin | Function | Shared Functionality |
---|---|---|---|
RB5 | CDC TX | UART RX (PIC18F16Q40 RX line) | Edge connector |
RB7 | CDC RX | UART TX (PIC18F16Q40 TX line) | Edge connector |
RA0 | DBG0 | ICSPDAT | Edge connector |
RA1 | DBG1 | ICSPCLK | Edge connector |
RC0 | DBG2 | SW0/GPIO | Edge connector, SW0 |
RA3 | DBG3 | MCLR | Edge connector |