4.5.1.1 UPDI OCD Features

The UPDI OCD for newer tinyAVR, newer megaAVR, and AVR E/D devices is based on the UPDI physical interface, which is a single pin programming and debugging interface.

Other tinyAVR and megaAVR features include:

  • Memory-mapped access to device address space (NVM, RAM, I/O)
  • No limitation on the device clock frequency
  • Unlimited number of user program breakpoints
  • Two hardware breakpoints
  • Support for advanced OCD features
  • Non-intrusive run-time chip monitoring without accessing the system registers
  • Interface for reading the result of the CRC check of the Flash on a locked device

Other AVR E/D features include:

  • Two hardware breakpoints
  • Change of flow, interrupt, and software breakpoints
  • Run-time read-out of Stack Pointer (SP) register, Program Counter (PC), and Status Register (SREG)
  • Register file read- and writable in Stopped mode

For devices where the UPDI pin is shared, it can be re-configured into a GPIO or /RESET pin. For details, see UPDI High-Voltage Activation Information.

For older devices the debugWIRE OCD is available. For more on OCD features, see debugWIRE OCD Features.