3.1 On-Board Debugger Overview
AVR64EA48 Curiosity Nano contains an on-board debugger for programming and debugging. The on-board debugger is a composite USB device consisting of several interfaces:
- A debugger that can program and debug the AVR64EA48 in both MPLAB® X IDE and Microchip Studio
- A mass storage device that allows drag-and-drop programming of the AVR64EA48
- A virtual serial port (CDC) that is connected to a Universal Asynchronous Receiver/Transmitter (UART) on the AVR64EA48 and provides an easy way to communicate with the target application through terminal software
- A Data Gateway Interface (DGI) for code instrumentation with logic analyzer channels (debug GPIO) to visualize program flow
The on-board debugger controls a Power and Status LED (marked PS) on the AVR64EA48 Curiosity Nano board. The table below shows how the different operation modes control the LED.
Operation Mode | Power and Status LED |
---|---|
Boot Loader mode | The LED blinks slowly during power-up |
Power-up | The LED is ON |
Normal operation | The LED is ON |
Programming | Activity indicator: The LED blinks slowly during programming/debugging |
Drag-and-drop programming |
|
Fault | The LED blinks rapidly if a power fault is detected |
Sleep/Off | The LED is OFF. The on-board debugger is either in a sleep mode or powered down. This can occur if the board is externally powered. |
Info: Slow blinking is approximately 1 Hz, and rapid blinking is about 5 Hz.