19
1 IAR Embedded Workbench® for AVR Version 4.30

IAR Embedded Workbench® for AVR Version 4 - Baite · 4 IAR Embedd Workbench IDE Linker, libraries C-SPY debugger C/C++ compilers assembler Project manager HW systems plug-ins RTOS

Embed Size (px)

Citation preview

1

IAR Embedded Workbench® for AVRVersion 4.30

2

Highlights in v4.30

• Support has been added for the following new Atmel devices:

– AT90USB82, AT90USB162

– AT90PWM216, AT90PWM316,

– ATmega48P, ATmega88P, ATmega168P, ATmega328P

3

Easy-to-use IDE

• Powerful Project Manager arranging multiple projects in a workspace with an hierarchical representation

• Dockable and floating windows management

• Smart source browser and quick function navigation

• Flexible ways to build project via batch build, pre/post-build or custom build which can easily integrate external tools in the build process.

• Integration with source code control systems

• Feature-rich editor with multi-byte character support and context-sensitive online help

• Modular and extensible architecture allowing easy plugins from 3rd parties

4

IAR Embedd Workbench IDE

Linker, libraries

C-SPY debugger

C/C++ compilers assembler

Project manager

HW systems plug-ins

RTOS plug-ins

Simulator

Text editor

Custom plug-ins (editors, source code control systems, etc.)

• AVR JTAGICE mkII• AVR ICE200• AVR JTAGICE• AVR Crypto Controller ROM-monitor, etc.

• ORTI • Micrium µC/OS-II, etc

A Modular and Extensible Architecture

5

Hierarchical project representation

Smart Source Browser for quick function/variable navigation

Powerful Project Manager can arrange multiple projects in one workspace

Multi-byte character support

Set breakpoint before debugging

Editable code template for easy code inserting

Integration of source code control systems

6

A Flying Start

• A getting started guide and ready-made example project for Atmel STK500 board

• Project templates for C, C++, assembler and library projects

• Extensive device support with ready-made header files, device description files and linker configuration files (up-to-date chip support list on the product page on the www.iar.com/ewavr)

• Extensive step-by-step tutorials

• Online flash demo showing all the major features

• Context-sensitive online help for easy lookup of keywords and library functions

• Efficient coding hints for embedded application

7

Highly Optimizing C/C++ Compiler (1/2)

• Support for C, EC++ and Extended EC++ including C++ templates, namespaces, STL etc.

• MISRA C checker for automatic checking of most MISRA C rules

• Multiple levels of optimizations for code size and execution speed

• Floating-point values are represented by 32- and 64-bit numbers in standard IEEE format

• Comprehensive language extensions allow detailed tailoring of embedded applications

– Extended function and data keywords to support AVR-specific features

– Pragma directives to control, for example how to allocate memory

– Intrinsic functions for direct access to low-level processor operations in, for example, time-critical routines.

8

Highly Optimizing C/C++ Compiler (2/2)

• Support for all devices in AVR Classic, megaAVR, tinyAVR, CAN AVR, LCD AVR, USB AVR, AT90SC Secure Microcontrollers and FPSLIC families, including devices with the enhanched core

• Fuse and lock bits programming

• Add the keyword __nested that modifies the enter code of an interrupt function to allow for nested interrupts

• Flexible segment commands allow detailed control of code and data placement

• Efficient layout of stack/static/global variables

9

Extended Support for Embedded C++

• Adaption of C++ to the specific requirements of embedded applications, including support for

• C++ templates

• Standard Template Library (STL)

• Namespaces

• Full support for memory attributes in C++

• Class memory, multiple heaps etc.

• C++ cast variants static_cast<>, const_cast<>, and reinterpret_cast<>

• Mutable specifier

10

MISRA C Checker

• MISRA C – Defined set of rules describing how to develop ”safe” C from M otor I ndustry Software Reliability A ssociation (MISRA)

• MISRA C checker supports automatic checking of most of these rules

– Rule-checking and logging

– Covers automatic checking of 101 of 127 rules

– Several un-covered rules require manual checking

– Comprehensive documentation (IAR Embedded Workbench MISRA C Reference Guide)

11

Libraries and Library Tools

• All required ISO/ANSI C and C++ libraries included

• All low-level routines such as writechar and readchar provided in full source code

• Lightweight runtime library, user-configurable to m atch the needs of the application; full source included

• Library tools with template projects for creating and maintaining library projects, libraries and library modules

• Add pre-built libraries that use the MUL instructio n when the –cpu options is used

12

C-SPY® Debugger (1/3)

• Complex code and data breakpoints with new breakpoint category―Log breakpoint

• Very fine granularity execution control (function call-level stepping)

• Stack window to monitor the memory consumption and integrity of the stack

• Runtime backtrace via C call stack

• Profiling and code coverage performance analysis tools

• Trace utility with expressions to examine execution history

• RTOS-aware debugging via OSEK Run-Time Interface (ORTI) plug-in for any ORTI-compliant OS

13

C-SPY® Debugger (2/3)

• Versatile monitoring of registers, structures, call chain, locals, global variables and peripheral registers

• Smart STL container display in Watch window

• Symbolic memory window showing memory content annotated with global symbols

• Static watch window showing global and static variables, including function and class statics

• I/O and interrupt simulation

• True editing-while-debugging

• Convenient file/function/variable accessing in different windowswith Drag and drop model

14

• The C-SPY debugger for AVR supports the following hardware target systems:

– AVR® ICE200

– AVR® JTAGICE

– AVR® JTAGICE mkII

– AVR® Crypto Controller ROM-monitor for the Atmel Sma rt Card Development Board (SCDB) and the Voyager development system (optional add-ons, order separately)

– AVR Studio via compatible output format (fully support Atmel ICE via the Atmel debugger interface)

• Built-in RTOS plugins:

– OSEK Run Time Interface (ORTI)

– Micrium µC/OS-II RTOS

C-SPY® Debugger (3/3)

15

Fuse and lock bits programming

Extensive hardware debugging support

MISRA C checker

Extended EC++ support

Multibyte support in editor and compiler

16

Profiling and code coverage helps you to analize yo ur application and locate the bottle-necks

Stack unwinding even at high optimization levels

Complex code and data breakpoints View registers in different groups

17

Runtime stack analysis Static watch window displays global and static variables, including function and class statics

Trace utility in simulator to examine execution history

Symbolic memory window displays memory content annotated with global symbols .

18

Customer Support

• Support and Update Agreement (SUA)

– Free software updates

– First class world-wide technical support by telephone, e-mail and fax

– VIP Support contracts available

• ”My Pages” at www.iar.com– Read about new product releases– Download product updates– Transfer licenses to co-workers– Manage your contact information

19

Road Map

Version 5.10 Q4, 2007

• New compiler platform

• More new device support

• Improvements on code speed optimization