The Atmel megaAVR OCD is based on the JTAG physical interface. It supports the following features:
Complete program flow control
Four program memory (hardware) breakpoints (1 is reserved)
Hardware breakpoints can be combined to form data breakpoints
Unlimited number of program breakpoints (using BREAK instruction) (except ATmega128[A])
For special considerations regarding this debug interface, see Special Considerations.