Connecting to External Microcontrollers

The figure and table below show where the programming and debugging signals must be connected to program and debug external microcontrollers. The on-board debugger can supply power to the external hardware, or use an external voltage as a reference for its level shifters. Read more about the power supply in Power Supply.

The on-board debugger and level shifters actively drive data and clock signals (DBG0, DBG1, and DBG2) used for programming and debugging, and in most cases, the external resistor on these signals can be ignored. Pull-down resistors are required on the ICSP™ data and clock signals to debug PIC® microcontrollers.

DBG3 is an open-drain connection and requires a pull-up resistor to function.

AVR128DB48 Curiosity Nano has a pull-up resistor, R200, connected to its #RESET signal (DBG3). The location of the pull-up resistor is shown in the Assembly Drawing in the appendix.

Remember:
Figure 1. Curiosity Nano Standard Pinout
Table 1. Programming and Debugging Interfaces
Curiosity Nano Pin UPDI ICSP™ SWD
DBG0 UPDI DATA SWDIO
DBG1 CLK SWCLK
DBG2
DBG3 #MCLR #RESET