iar embedded workbench® for 8051 version 7 - … · 3 iar embedd workbench ide linker, libraries...

21
1 IAR Embedded Workbench® for 8051 Version 7.30A

Upload: trankhuong

Post on 07-Aug-2018

290 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: IAR Embedded Workbench® for 8051 Version 7 - … · 3 IAR Embedd Workbench IDE Linker, libraries C-SPY debugger C/C++ compilers assembler Project manager HW systems plug-ins RTOS

1

IAR Embedded Workbench® for 8051 Version 7.30A

Page 2: IAR Embedded Workbench® for 8051 Version 7 - … · 3 IAR Embedd Workbench IDE Linker, libraries C-SPY debugger C/C++ compilers assembler Project manager HW systems plug-ins RTOS

2

Highlights in version 7.30

• More efficient banked memory model

• Support files for many new devices added -complete list at www.iar.com/ew8051

• Supportfiles for many new devices added

• New and updated example applications

Page 3: IAR Embedded Workbench® for 8051 Version 7 - … · 3 IAR Embedd Workbench IDE Linker, libraries C-SPY debugger C/C++ compilers assembler Project manager HW systems plug-ins RTOS

3

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.)

• IAR ROM-monitor• Analog Devices ROM-monitor• Chipcon JTAG interface• Infineon Debug Access Server (DAS), etc

• OSEK ORTI

Modular and Extensible Architecture

Page 4: IAR Embedded Workbench® for 8051 Version 7 - … · 3 IAR Embedd Workbench IDE Linker, libraries C-SPY debugger C/C++ compilers assembler Project manager HW systems plug-ins RTOS

4

Easy-to-use IDE

• Powerful Project Manager can arrange multiple projects in a workspace

• Smart Source Browser - Easy navigation to functions, types, variables and macros and with filtering possibilities

• Improved context-sensitive help

• Open architecture allows easy expansion of the standard tool chain

– External editor

– Source code control system integration

Page 5: IAR Embedded Workbench® for 8051 Version 7 - … · 3 IAR Embedd Workbench IDE Linker, libraries C-SPY debugger C/C++ compilers assembler Project manager HW systems plug-ins RTOS

5

Powerful Project Manager can arrange multiple projects in one workspace

Source Browser for quick navigation to function/variable definitions and declarations

View registers in groups

Setting breakpoint, editing while debugging

Docking windows, multiple views

Page 6: IAR Embedded Workbench® for 8051 Version 7 - … · 3 IAR Embedd Workbench IDE Linker, libraries C-SPY debugger C/C++ compilers assembler Project manager HW systems plug-ins RTOS

6

A Flying Start

• Ready-made chip I/O register definition files for over 350 chips

• Project templates for C, C++ and assembler projects• Sample projects for various evaluation boards

• Comprehensive documentation with efficient coding hints

• Context-sensitive online help with library function and keyword lookup

Page 7: IAR Embedded Workbench® for 8051 Version 7 - … · 3 IAR Embedd Workbench IDE Linker, libraries C-SPY debugger C/C++ compilers assembler Project manager HW systems plug-ins RTOS

7

IAR C/C++ Compiler

• Highly optimized ISO/ANSI standard C/C++* compiler

• Customizable C/C++* library, pre-built and in source form• Comprehensive language extensions allow detailed tailoring of embedded

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

placement

• Multiple levels of optimizations for code size and execution speed

• Major functions of the optimizer can be controlled individually, for example loop unrolling

Page 8: IAR Embedded Workbench® for 8051 Version 7 - … · 3 IAR Embedd Workbench IDE Linker, libraries C-SPY debugger C/C++ compilers assembler Project manager HW systems plug-ins RTOS

8

8051-Specific Compiler Support

• Multiple code and data models, (where applicable)

• Extensive set of language features for PROMable embedded code, including memory keywords, intrinsic functions, interrupt functions, memory-mapped I/O ports, etc.

• User control of register usage for optimal performance• Support for DATA, IDATA, XDATA, PDATA and BDATA

• Support for multiple DPTR in compiler and libraries

• Bitwise addressing for SFRs• Possibility to use up to 32 virtual registers

• Highly optimized reentrant code models make the project portablebetween different targets

Page 9: IAR Embedded Workbench® for 8051 Version 7 - … · 3 IAR Embedd Workbench IDE Linker, libraries C-SPY debugger C/C++ compilers assembler Project manager HW systems plug-ins RTOS

9

Compiler Design

• For optimal performance, each code model combines the reentrant calling convention with static overlay depending on data model chosen.

• Usage of virtual registers to lower the register usage pressure.

• Generic pointers will not be default in any libraries. • Support for multiple data-pointers.

• Flexible on the command line to make configuration easy from IDE.

• A design that covers most extended 8051-derivatives known today.

Page 10: IAR Embedded Workbench® for 8051 Version 7 - … · 3 IAR Embedd Workbench IDE Linker, libraries C-SPY debugger C/C++ compilers assembler Project manager HW systems plug-ins RTOS

10

MISRA C support

• MISRA C – Defined set of rules describing how to develop ”safe” C from Motor Industry Software Reliability Association (MI SRA)

• MISRA C checker– 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)

Page 11: IAR Embedded Workbench® for 8051 Version 7 - … · 3 IAR Embedd Workbench IDE Linker, libraries C-SPY debugger C/C++ compilers assembler Project manager HW systems plug-ins RTOS

11

Extended Embedded C++

• Adaption of C++ to the specific requirements of embeddedapplications

• Support for C++ templates, namespaces, mutable specifier, static cast, reinterpret cast and const cast

• Multiple inheritance and virtual inheritance

• All required ISO/ANSI C libraries and extended C/EC++ library available, including Standard Template Library (STL)

• STL Container Awareness in C-SPY gives a unique overview of elements in STL container data types; the contents of complex collections like lists and maps can be displayed as if they weresimple sequences like an array

Page 12: IAR Embedded Workbench® for 8051 Version 7 - … · 3 IAR Embedd Workbench IDE Linker, libraries C-SPY debugger C/C++ compilers assembler Project manager HW systems plug-ins RTOS

12

C-SPY® Debugger (1/3)

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

• True editing-while-debugging

• 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

Page 13: IAR Embedded Workbench® for 8051 Version 7 - … · 3 IAR Embedd Workbench IDE Linker, libraries C-SPY debugger C/C++ compilers assembler Project manager HW systems plug-ins RTOS

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

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

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

• C-SPY Debugger plugin SDK available for 3rd party debuggers

Page 14: IAR Embedded Workbench® for 8051 Version 7 - … · 3 IAR Embedd Workbench IDE Linker, libraries C-SPY debugger C/C++ compilers assembler Project manager HW systems plug-ins RTOS

14

C-SPY® Debugger (3/3)

The C-SPY Debugger supports the following HW target systems:

• Configurable IAR ROM-monitor for the NXP LPC935, TI MSC1211

• Analog Devices ROM-monitor for the ADu83x, ADu84x and ADE7169F16 devices

• Chipcon JTAG interface for the Chipcon CC2430 SoC ZigBeedevelopment kit

• Infineons Debug Access Server (DAS) for the Infineon XC8xx device family

• Manley Electronics ME52HU emulator

• Silicon Laboratories USB and serial (EC2) JTAG adapters

• Generic IAR ROM-monitor project template included for user reconfiguration for additional 8051 boards and kits

Page 15: IAR Embedded Workbench® for 8051 Version 7 - … · 3 IAR Embedd Workbench IDE Linker, libraries C-SPY debugger C/C++ compilers assembler Project manager HW systems plug-ins RTOS

15

Fine grained single stepping on function call level

Extensive online help

Call stack information

Easy simulation of interrupts

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

Page 16: IAR Embedded Workbench® for 8051 Version 7 - … · 3 IAR Embedd Workbench IDE Linker, libraries C-SPY debugger C/C++ compilers assembler Project manager HW systems plug-ins RTOS

16

RTOS-awareness debuggingExtensive hardware debugging support Extensive output format

support

Page 17: IAR Embedded Workbench® for 8051 Version 7 - … · 3 IAR Embedd Workbench IDE Linker, libraries C-SPY debugger C/C++ compilers assembler Project manager HW systems plug-ins RTOS

17

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

Page 18: IAR Embedded Workbench® for 8051 Version 7 - … · 3 IAR Embedd Workbench IDE Linker, libraries C-SPY debugger C/C++ compilers assembler Project manager HW systems plug-ins RTOS

18

Benchmark – compared tools

• IAR Systems: version 7.20 of IAR Embedded Workbench for 8051 (EW8051)

– using the xdata reentrant calling convention which is fully compatible with the ANSI C standard.

• Keil Software: version 7.50 of C51 compiler (PK51)

– using the static overlay calling convention which reduces the size of the generated code but also limits the way functions can be called.

Page 19: IAR Embedded Workbench® for 8051 Version 7 - … · 3 IAR Embedd Workbench IDE Linker, libraries C-SPY debugger C/C++ compilers assembler Project manager HW systems plug-ins RTOS

19

Benchmark – code examples

• The following code examples are used in this benchmark:

• embOS_test embOS (RTOS) from Segger

• dhry Standard benchmark

• decrypt Decrypt algorithm

• patricia MiBench image recognition package

Page 20: IAR Embedded Workbench® for 8051 Version 7 - … · 3 IAR Embedd Workbench IDE Linker, libraries C-SPY debugger C/C++ compilers assembler Project manager HW systems plug-ins RTOS

20

Benchmark - result

(See benchmark at http://www.iar.com/ew8051 for more details)

Total size of linked code

0

5000

10000

15000

20000

25000

embOS_test dhry decrypt patricia

EW8051 V7.20

PK8051 V7.50

Page 21: IAR Embedded Workbench® for 8051 Version 7 - … · 3 IAR Embedd Workbench IDE Linker, libraries C-SPY debugger C/C++ compilers assembler Project manager HW systems plug-ins RTOS

21

The Winning Choice for 8051 users!

• Easy-to-use – The feature-rich toolkit makes your embedded development efficient

and comfortable!

• Most compact and efficient code– The most compact code on the market saves you more space on the

board.

• Total solution – Design, verification, automatic coding and testing, IAR Systems

brings your idea to target in half the time!

• Professional support – You can reach us anywhere via our worldwide sales offices and

distributors!