5.
Embedded Debugger Implementation
ATtiny416 Xplained Nano contains a Mini Embedded Debugger (mEDBG) that can be used to program the ATtiny416
using Tiny Program Interface (TPI). The mEDBG also include a Virtual Com port interface over UART. Atmel Studio/
Microchip MPLAB
®
X IDE can be used as a front end for the Mini Embedded Debugger.
5.1
UPDI
The Unified Program Debug Interface (UPDI) uses one pin to communicate with the target. For further information on
how to use the programming capabilities of the mEDBG, see
.
Table 5-1. UPDI Connections
ATtiny416 Pin
Function
Shared Functionality
PA0
UPDI
mEDBG
5.2
Virtual COM Port
The Embedded Debugger acts as a Virtual Com Port gateway by using one of the ATtiny416 UARTs. For further
information on how to use the Virtual COM port, see
.
Table 5-2. Virtual COM Port Connections
ATtiny416 Pin
Function
Shared Functionality
PA1
UART0 TXD (ATtiny416 TX line)
mEDBG CDC RX
PA2
UART0 RXD (ATtiny416 RX line)
mEDBG CDC TX
ATtiny416 Xplained Nano
Embedded Debugger Implementation
©
2019 Microchip Technology Inc.
User Guide
DS50002683B-page 11