Developing with AVR

Getting Started AVR in MPLAB X® IDE - PLAYLIST.

For existing AVR users familiar with Atmel Studio 7, some similarities and differences with MPLAB X are emphasized.

For existing PIC MCU users of MPLAB X, an overview of AVR bare-metal programming references and how they are used is given in the typical process of writing AVR code.

Prerequisites

Even if you don't have the hardware, you will be able to watch the videos to see the flow and the end result.

Hardware:
  • ATmega324PB Xplained Pro (ATMEGA324PB-XPRO)
  • Atmel ICE (ATATMEL-ICE) debugger is used in the video, however it is possible to use the EDBG debugger on the ATMEGA324PB-XPRO
Software Prerequisites:
  • MPLAB X 5 or higher
  • XC8 2.05 or higher
  • To use the AVR-GCC toolchain, Atmel Studio 7 must be installed

Icon Key Identifiers

The following icons are used in this document to identify different assignment sections and to reduce complexity.

Info: Delivers contextual information about a specific topic.
Tip: Highlights useful tips and techniques.
Todo: Highlights objectives to be completed.
Result: Highlights the expected result of an assignment step.
Attention: Indicates important information.
Execute: Highlights actions to be executed out of the target when necessary.