WARNING
Before any hardware modifications are done, make sure the board is disconnected from USB or external
power.
• Disconnect the 16.00 MHz crystal by cutting the two straps on the top side of the board next to the crystal (J215,
J216). The crystal should be disconnected when using the pin as GPIO, as this might harm the crystal.
• Connect the I/O lines to the edge connector by placing solder blobs on the circular solder points marked PA0
and PA1 on the bottom side of the board (J213, J214)
Figure 5-6. Crystal Connection and Cut Straps
Top side
Bo
�
om side
J214
J213
J216
J215
16.00 MHz
Crystal
J217
5.2.5
On-Board Debugger Implementation
AVR128DB48 Curiosity Nano features an on-board debugger that can be used to program and debug the
AVR128DB48 using UPDI. The on-board debugger also includes a virtual serial port (CDC) interface over UART and
debug GPIO. Both MPLAB
®
X IDE and Atmel Studio 7 can be used as a front-end for the on-board debugger for
can be used as a front-end for the CDC and debug GPIO.
5.2.5.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
.
Table 5-6. On-Board Debugger Connections
AVR128DB48
Pin
Debugger Pin
Function
Shared Functionality
PB1
CDC TX
UART RX (AVR128DB48 RX line)
PB0
CDC RX
UART TX (AVR128DB48 TX line)
UPDI
DBG0
UPDI
PB3
DBG1
LED0/Debug GPIO1
PB2
DBG2
SW0/Debug GPIO0
PF6
DBG3
RESET
AVR128DB48 Curiosity Nano
Hardware User Guide
©
2020 Microchip Technology Inc.
User Guide
DS50003037A-page 31