IAR Embedded Workbench for AVR

The complete development toolchain IAR Embedded Workbench for AVR provides one toolbox in one view, giving you one uninterrupted workflow.

01

User-friendly IDE

Integrated development environment with project management tools and editor including linker and library tools, example projects and code templates for AVR.

02

Powerful build tools

The IAR C/C++ Compiler is a highly optimizing C and C++ compiler for AVR. It offers configuration files for all AVR Classic, ATmega and FPSLIC families, including devices with the enhanced cores, relocating AVR assembler and run-time libraries.

03

Comprehensive debugger

The C-SPY Debugger provides a AVR simulator, support for RTOS-aware debugging on hardware and extensive hardware debugger support.

04

Integrated code analysis

IAR Embedded Workbench for AVR provides integrated static code analysis through the add-on product C-STAT, ensuring code quality as well as proving alignment with standards such as MISRA C:2012.

05

On-demand training included

When you buy a license of IAR Embedded Workbench for AVR, you get access to free training courses through our IAR Academy on Demand offering.

Latest releases

We are constantly updating and refining our tools with new features, new device support and extended capabilities.

Latest release: 8.10

  • New linker
    A new AVR-specific linker is introduced with this release. It is based on the previous (generic) XLINK linker, but the new version can automatically select runtime libraries based on the object file attributes. 

  • Support for the C18 and C++17 language standards
    The compiler and libraries add support for the language standards known as C18 and C++17. 

  • Additional GNU C language extensions
    In extended language mode, the IAR C/C++ Compiler supports a number of new GCC-style operators, attributes, and expressions. See the compiler release notes for details.

  • Unicode support
    The Unicode standard for consistent encoding, representation, and handling of text is now supported. This means that you can use Unicode characters (alphabetic, numeric, symbols, emoji, etc) in the source code.

  • Editor and IDE enhancements

    • Editor themes - a new way to set up the colors and fonts in the text editor
    • Syntax feedback - instant syntax suggestions while typing
    • Improved parameter hints
    • Window color themes - dark mode
    • Gray out inactive code support

     

  • Iarbuild enhancements
    The iarbuild command line build utility now supports:

    • Generating a Ninja build file based on the IAR Embedded Workbench project format
    • Generating a JSON description of the Embedded Workbench project
    • More C-STAT reporting and configuration methods

     

  • 64-bit Windows application
    IAR Embedded Workbench now runs as a 64-bit Windows application.

  • Visual Studio Code support
    The IAR Build and IAR C-SPY Debug extensions available on Microsoft Marketplace enable you to work in Visual Studio Code (with IAR Embedded Workbench installed) to:

    • Build IAR Embedded Workbench projects
    • Run the C-STAT static analysis tool
    • Debug applications using the same range of hardware/debug probes as in IAR Embedded Workbench.

     

  • C-STAT enhancements

    • MISRA C:2012 Amendment 1
      The static analysis tool C-STAT has extended its coverage of the MISRA C:2012 Coding Standard and now fully supports MISRA C:2012 Amendment 1. This amendment adds 14 additional rules to MISRA C:2012 with a focus on security concerns highlighted by the ISO C Secure Guidelines. Several of these address specific issues pertaining to the use of untrustworthy data, a well-known security vulnerability.

    • Improved performance
      Depending on the project, the analysis can be up to 40% faster and memory consumption reduced by up to 20%, compared to the previous version of C-STAT.

     

  • Updated device support
    The device support files have been updated to the most recent version from Microchip.

  • Updated user documentation
    The user documentation has been updated to reflect the product changes.

Read complete release notes

Version 7.30

Improved Source Browser

The following improvements have been made to the Source Browser: 
- The source browser data is generated faster as it is now running as a separate thread
- New Source Browser Log window
- Status indicator in the status bar
- Enhanced feedback in case source browsing data cannot be generated

 

Support for new devices

Support for ATtiny1624, ATtiny1626, and ATtiny1627 has been added. 

Read complete release notes

Version 7.20

Translator platform improvements

General improvements and fixes.

Support for new devices

Support for ATmega808, ATmega809, ATmega1608, ATmega1609, and AT90SCR400 has been added.

Read full release notes

Wide support for MCU devices

Supported AVR devices

IAR Embedded Workbench provides powerful capabilities for applications based on AVR MCUs.

See all supported devices
avr_new_supporteddevices.png

Getting started

Example projects for IAR Embedded Workbench for AVR is available at the Atmel Start site.

"Create a C project from scratch in the IAR Embedded Workbench for Microchip AVR microcontrollers, build it, program the microcontroller, and debug it".

Application note written by Alexandru Niculae, Microchip Technologies Inc. and Felipe Torrezan, IAR Systems

What type of license do you need?

Our tools are available in a flexible license model to suit your company needs. Together with our support and update agreements, you get the support you need in multiple time zones and multiple languages. Send a request for quote or contact sales to get started.

Read more about Licenses

Want to know more?

We are present worldwide to help you wherever you are, and we are happy to answer any questions you might have about our products.

Get quote

Want to use this product in your development projects? Our sales team is here to guide you to the right solution. Complete this form, and we will get back to you with a price quote tailored to your needs.

* read our Privacy policy

User guides and documentation

Languages and standards

The IAR C/C++ compilers offer different dialects of the C and C++ programming languages, as well as different extensions specific for embedded programming (please note that not all language standards are supported for all target implementations). The compiler can be instructed to disable extensions for strict conformance to the standards. 

A wide range of industry-standard debug and image formats compatible with most popular debuggers and emulators are supported. This includes ELF/DWARF where applicable.

ISO/ANSI C/C++ Compliance

The IAR C/C++ compilers adhere to a freestanding implementation of the following C programming language standards:

  • INCITS/ISO/IEC 9899:2018, known as C18 (Latest version only).
  • The compiler supports all C++17 features. The C++ library supports C++14 with no C++17 additions.  (Latest version only).
  • ISO/IEC 14882:2015, known as C++14
  • INCITS/ISO/IEC 9899:2012, known as C11
  • ANSI X3.159-1989, known as C89

The ISO/ANSI C/C++ Compliance level varies between the different compilers. For complete information, please refer to the IAR C/C++ Compiler user documentation in your chosen product.

IEEE 754 standard

IAR Embedded Workbench supports the IEEE 754 standard for floating-point arithmetic.

MISRA C

MISRA C is a software development standard for the C programming language developed by MISRA, The Motor Industry Software Reliability Association. Its aims are to facilitate code safety, portability and reliability in the context of embedded systems, specifically those systems programmed in ISO C.

The first edition of the MISRA C standard, "Guidelines for the use of the C language in vehicle based software", was produced in 1998. In 2004, a second edition was produced with many substantial changes to the guidelines, including a complete renumbering of the rules. Additionally MISRA C:2012 with extended support and MISRA C++:2008 for identifying unsafe code constructs in the C++ standard have also been added to the standards.

IAR Embedded Workbench features an add-on product C-STAT so you can check compliance with rules as defined by MISRA C:2004, MISRA C++:2008 and MISRA C:2012.

Test validation

We use the following commercial test suites to test conformance of our tools to the standards:

  • Plum Hall Validation test suite for ISO/IEC C conformance
  • Perennial EC++ Validation Suite for C++ conformance
  • Dinkum C++ Proofer to test how our libraries conform to the C and C++ standard as well as test our STL implementation against the C++ standard.

In addition to the commercial suites, we use several in-house test suites for testing new features, regression testing, corrected errors, etc.

C-SPY target system and RTOS support

C-SPY target system support

  • Simulator
  • AVR JTAGICE mkII
  • AVR JTAGICE3
  • AVR® ONE!
  • AVR Dragon
  • Atmel-ICE
  • AVR Crypto Controller ROM-monitor for the Atmel Smart Card Development Board (SCDB) and the Voyager development system (optional add-ons, order separately)
  • AVR Studio via compatible output format (full support for Atmel ICE via the Atmel debugger interface)

RTOS support

  • OSEK Run Time Interface (ORTI) support included
  • Micrium µC/OS-II Kernel Awareness Plugin included

Each RTOS plugin installs a number of new windows in C-SPY, most importantly the task or thread list windows where task-specific breakpoints can be specified and task-specific steps executed. Different inspector windows display the contents of the internal data structures of the RTOS such as timers, queues, semaphores, resources and mailboxes.

Download free trial

IAR Embedded Workbench for AVR - Free trial version

The evaluation license is free of charge and allows you to try the software for 14 days to evaluate its efficiency and ease of use. 

You will be asked to register to get your license when you click download.

Please note the following for the 14-day time-limited version:

  • Time limit for evaluation license is 14 days
  • Not allowed to be used for product development or any commercial use
  • Source code for runtime libraries is not included
  • No support for MISRA C
  • Limited technical support
Download

We do no longer support Internet Explorer. To get the best experience of iar.com, we recommend upgrading to a modern browser such as Chrome or Edge.