The ATtiny416 Xplained Nano contains the Mini Embedded
Debugger (mEDBG) for on-board programming and
debugging. The mEDBG is a composite USB device of two interfaces; a debugger
and a Virtual COM Port.
Together with Atmel Studio, the mEDBG
debugger interface can program and
debug the ATtiny416. On ATtiny416 Xplained Nano, the UPDI interface is connected between the mEDBG and the ATtiny416.
The Virtual COM Port is connected to a UART on the
ATtiny416 and provides an easy way to
communicate with the target application through the terminal software. It offers
variable baud rate, parity, and stop bit settings.
Note: The settings on the ATtiny416 must match the settings given
in the terminal software.
Info: The
virtual COM port in the mEDBG requires the terminal software to set the data terminal
ready (DTR) signal to enable the UART pins connected to the ATtiny416. If the DTR signal is not enabled the UART pins on the
mEDBG are kept in high-z (tri-state) rendering the COM port unusable. The DTR signal is
automatically set by some terminal software, but it may have to be manually enabled in
your terminal.
The mEDBG controls one status LED on the ATtiny416 Xplained Nano. The table below shows how the LED is controlled in different
operation modes.
Table 1. mEDBG LED ControlOperation mode |
Status LED |
Power up |
LED is briefly lit |
Normal operation |
LED is not lit |
Programming |
Activity indicator; the LED
flashes when programming/debugging with the mEDBG |