3.2 On-Board Debugger Connections
The table below shows the connections between the target and the debugger. All the connections between the target and the debugger are tri-stated when the debugger is not using the interface. Therefore, there are few contaminations of the signals, for example, the pins can be configured to anything the user wants.
Info: The 12-edge connections closest to
the USB connector on Curiosity Nano boards have a standardized pinout. The program/debug
pins have different functions depending on the target programming interface.
| Debugger Pin | PIC32CM6408JH00064 Pin | Description | |
|---|---|---|---|
| CDC TX | PA17 | USART1 RX | USB CDC TX line |
| CDC RX | PA16 | USART1 TX | USB CDC RX line |
| DBG0 | PA31 | SWDIO | Debug data line |
| DBG1 | PA30 | SWCLK | Debug clock line |
| DBG2 | PB31 | GPIO | Debug GPIO0/SW0 |
| DBG3 | nRESET | RESET | Reset line |
| ID | ID line for extensions | ||
| NC | No connect | ||
| VBUS | VBUS voltage for external use. | ||
| nVOFF | Voltage Off input. Disables the target regulator and target voltage when pulled low. | ||
| VTG | Target voltage | ||
| GND | Common ground | ||
