advantage of realview mdk - pudn.comread.pudn.com/downloads81/doc/312825/11-advantage of... ·...

31
1 Advantage of RealView MDK Lilian Jiang ( ) ARM China 2006 .12 ARM Connected Community Technical Symposium

Upload: others

Post on 03-Sep-2020

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Advantage of RealView MDK - pudn.comread.pudn.com/downloads81/doc/312825/11-Advantage of... · 2007. 1. 9. · 3 Keil an ARM Company Leading supplier of MCU development tools ANSI

1

Advantage of RealView MDK

Lilian Jiang (姜 宁)ARM China

2006 .12

ARM Connected Community Technical Symposium

Page 2: Advantage of RealView MDK - pudn.comread.pudn.com/downloads81/doc/312825/11-Advantage of... · 2007. 1. 9. · 3 Keil an ARM Company Leading supplier of MCU development tools ANSI

2

IntroductionRealView Microcontroller Development Kit

Page 3: Advantage of RealView MDK - pudn.comread.pudn.com/downloads81/doc/312825/11-Advantage of... · 2007. 1. 9. · 3 Keil an ARM Company Leading supplier of MCU development tools ANSI

3

Keil an ARM CompanyLeading supplier of MCU development tools

ANSI C/C++ compilers, Debuggers.Device SimulatorsReal-time kernels, real-time libraries.

Extensive Device Database®Including >1,100 8/16/32 bit MCU’s.

Excellent, Established supportWeb support portal.Global distribution network.

Huge Installed Base100K+ users world wide.

Page 4: Advantage of RealView MDK - pudn.comread.pudn.com/downloads81/doc/312825/11-Advantage of... · 2007. 1. 9. · 3 Keil an ARM Company Leading supplier of MCU development tools ANSI

4

RealView Microcontroller Development Kit

µVision Editor Proj ect Management & Make Utility

µVision Editor Proj ect Management & Make Utility

LibrariesLibraries

µVision DebuggerµVision Debugger

RealView C/C++Compiler

RealView C/C++Compiler

RealViewMacro Assembler

RealViewMacro Assembler

CPU & PeripheralSimulation

CPU & PeripheralSimulation

RealView LinkerRealView Linker

RealView Microcontroller Development Kit

RealView Real-Time Library

RTX Real-Time KernelRTX Real-Time Kernel

TCP/IP Network SuiteTCP, UDP, PPP, and SLIP Interface

HTTP Serv er with CGI ScriptingTelnet Serv er, TFTP Serv erSMTP Client, DNS Resolv er

TCP/IP Network SuiteTCP, UDP, PPP, and SLIP Interface

HTTP Serv er with CGI ScriptingTelnet Serv er, TFTP Serv erSMTP Client, DNS Resolv er

Flash File SystemFlash File System

USB Device InterfaceUSB Device Interface

CAN InterfaceCAN Interface

Third Party Utilities

Software VersionControl System

Software VersionControl System

PC-LINTintensive syntax check

with MISRA support

PC-LINTintensive syntax check

with MISRA support

I-Logix RhapsodyUML 2.0

I-Logix RhapsodyUML 2.0

CAN Connectorfor Dev ice Simulation

CAN Connectorfor Dev ice Simulation

GUI Library with Display Simulation

GUI Library with Display Simulation

MATLAB/SimulinkSimulation Interface

MATLAB/SimulinkSimulation Interface

Keil ULINKJTAG AdapterKeil ULINK

JTAG Adapter

Complete software development environment for ARM based icrocontrollers. Easy to learn and easy to use!

Page 5: Advantage of RealView MDK - pudn.comread.pudn.com/downloads81/doc/312825/11-Advantage of... · 2007. 1. 9. · 3 Keil an ARM Company Leading supplier of MCU development tools ANSI

5

Microcontroller Support

Out of the box support>160 ARM MCU’s.

See www.keil.com/dd

Comprehensive Technical supportSupport know ledge baseApplication NotesDiscusstion Forum

Strong featuresIncluding external signals and I/OFast Instruction Set SimulationInterrupt SimulationOn-Chip Peripheral’s

ADC, DAC, EBI, TimersUART, CAN, I2C….

Instantly begin developing software, without the need for hardware or in-depth knowledge of target MCU.

Page 6: Advantage of RealView MDK - pudn.comread.pudn.com/downloads81/doc/312825/11-Advantage of... · 2007. 1. 9. · 3 Keil an ARM Company Leading supplier of MCU development tools ANSI

6

RealView Microcontroller Development Kit

4 Steps… Ease of Use…Advantage 1

Page 7: Advantage of RealView MDK - pudn.comread.pudn.com/downloads81/doc/312825/11-Advantage of... · 2007. 1. 9. · 3 Keil an ARM Company Leading supplier of MCU development tools ANSI

7

Create Program

Step 1: Select Device & Specify Target Hardware

Step 2: Configure Device &Create Application Code

µVision includes Project Manager and Editor and Debugger

Device Database on Web & µVision. simplif ies Chip Selection and Setup

Page 8: Advantage of RealView MDK - pudn.comread.pudn.com/downloads81/doc/312825/11-Advantage of... · 2007. 1. 9. · 3 Keil an ARM Company Leading supplier of MCU development tools ANSI

8

Flash Dow nload and Target Debugging via ULINK

Debugging via µVision Debugger and Device Simulator

Program Testing

Step 3: Analyze Program with µVision Device Simulation

Step 4: Flash Download and Final Testing in Target Hardware

Page 9: Advantage of RealView MDK - pudn.comread.pudn.com/downloads81/doc/312825/11-Advantage of... · 2007. 1. 9. · 3 Keil an ARM Company Leading supplier of MCU development tools ANSI

9

Simulation and Analysis Tools

Advantage 2

RealView Microcontroller Development Kit

Page 10: Advantage of RealView MDK - pudn.comread.pudn.com/downloads81/doc/312825/11-Advantage of... · 2007. 1. 9. · 3 Keil an ARM Company Leading supplier of MCU development tools ANSI

10

Complete Simulation

Expandable User Defined DLL’s

µVision Device Simulation

Simulation allows software testing with no hardware,providing quick test cycles and improving product quality.

Including external signals and I/OFast Instruction Set SimulationInterrupt SimulationOn-Chip Peripheral’s

ADC, DAC, EBI, TimersUART, CA N, I2C….

Page 11: Advantage of RealView MDK - pudn.comread.pudn.com/downloads81/doc/312825/11-Advantage of... · 2007. 1. 9. · 3 Keil an ARM Company Leading supplier of MCU development tools ANSI

11

ETM TraceETM not available in all systems.

ETM is relatively new to MCU worldIncreasing with ARM9 MCU families

Very rare in ARM7 MCU’s

ETM not always availableRequires additional pinsETM pins shared with other I/O

Eg ADC or GPIO

Additional HardwareCostly

Complete Device SimulationOffers real advantages

Page 12: Advantage of RealView MDK - pudn.comread.pudn.com/downloads81/doc/312825/11-Advantage of... · 2007. 1. 9. · 3 Keil an ARM Company Leading supplier of MCU development tools ANSI

12

µVision Code CoverageSimulation gives extra features not available with JTAG Debuggers.

For example: Code Coverage at Source and Assembly Level.

Execution StatisticsAlways Active for Complete ProjectCoverage Statistic at Module, C Source, and Assembly LevelInstruction Status:- not executed (grey)- fully executed (green)- skipped (orange)- always taken (cyan) Multi-Session Coverage withSave / Restore

Page 13: Advantage of RealView MDK - pudn.comread.pudn.com/downloads81/doc/312825/11-Advantage of... · 2007. 1. 9. · 3 Keil an ARM Company Leading supplier of MCU development tools ANSI

13

µVision Execution ProfilingSimulation provides exact CPU Timing and allows

detailed program execution analysis with different parameters.

Detailed Timing StatisticsActive for Complete Project

Execution TimeNumber of Executions

Flexible ViewsSourceDisassemblerCompete Overview

Page 14: Advantage of RealView MDK - pudn.comread.pudn.com/downloads81/doc/312825/11-Advantage of... · 2007. 1. 9. · 3 Keil an ARM Company Leading supplier of MCU development tools ANSI

14

Timing AnalysisAnalog & Digital I/O Pins and SignalsInternal Variables

Exact TimingUsing Cursor LineTool-Tip Delta Information

Code AnalysisDirect from Analyzer Window

µVision Logic AnalyzerAllows analog and digital signals to be monitored graphically.

Easy, fast analysis of signal timing with code trace.

Page 15: Advantage of RealView MDK - pudn.comread.pudn.com/downloads81/doc/312825/11-Advantage of... · 2007. 1. 9. · 3 Keil an ARM Company Leading supplier of MCU development tools ANSI

15

µVision Debug & Signal Functions

Expand Command SetC Macro Language.Trigger by Breakpoints.Output Analysis.Input Pattern Generation.

Signal FunctionsBackground Execution.Time or Access triggered delays.Input Signal Generation.

Built-In FunctionsTest Output, user queries.Analog Signal Generation.

µVision Simulati on T emplate: A/D Input - Sine Wave Signal

Users define and generate complex input functions as stimulus to simulation models.

// Generate Sine Wave Signal on A/D Channel 0

signal void ADC0_Sine (void) {

float volts; // peak-to-peak voltagefloat frequency; // output frequency in Hz

float offset; // voltage offsetfloat duration; // duration in Secondsfloat val;

long i, end;

volts = 1.4;offset = 1.6;

frequency = 1800;duration = 0.1;

printf ("Sine Wave Signal on AD Channel 0.\n");

end = (duration * 100000);for (i = 0 ; i < end; i++) {val = __sin (frequency * (((float) STATES) / CLOCK)

* 2 * 3.1415926);AIN0 = (val * volts) + offset;

swatch (0.00001); // in 10 uSec steps}

Page 16: Advantage of RealView MDK - pudn.comread.pudn.com/downloads81/doc/312825/11-Advantage of... · 2007. 1. 9. · 3 Keil an ARM Company Leading supplier of MCU development tools ANSI

16

µVision Simulation & JTAG DebuggingSimulation offers real advantages over hardware

JTAG/Trace debugging and analysis.

Page 17: Advantage of RealView MDK - pudn.comread.pudn.com/downloads81/doc/312825/11-Advantage of... · 2007. 1. 9. · 3 Keil an ARM Company Leading supplier of MCU development tools ANSI

17

RealView Microcontroller Development Kit

RealView Compilation Tools

Advantage 3

Page 18: Advantage of RealView MDK - pudn.comread.pudn.com/downloads81/doc/312825/11-Advantage of... · 2007. 1. 9. · 3 Keil an ARM Company Leading supplier of MCU development tools ANSI

18

RealView Compilation Tools

RealView MDK uses Compilation Tools from RVDS 3.0Best in Class Compiler, linker, assembler.

The RealView Compilation tools contain:Highly-optimizing ISO C/C++ compilerSupports ARM, Thumb and Thumb2 Instruction sets.Full C and C++ run-time library support

RogueWave C++ Standard Template Libraries

The RealView Advantages:Smaller, Faster Code

Best in class compilation tools, making code smaller and more efficient. Enabling applications to run faster and reduce system cost.

Page 19: Advantage of RealView MDK - pudn.comread.pudn.com/downloads81/doc/312825/11-Advantage of... · 2007. 1. 9. · 3 Keil an ARM Company Leading supplier of MCU development tools ANSI

19

RealView Compilation Improvement

SDT 2.5

9MB ROM Size46 Benchmarks, 48 Applications

80%

85%

90%

95%

100%

1999 2000 2001 2002 2003 2004 2005 2006

RVCT 3.0

16%

Code Size Reduction

SDT 2.5

90%

95%

100%

105%

110%

115%

120%

125%

130%

135%

1999 2000 2001 2002 2003 2004 2005 2006

RVCT 3.0

+34%

Performance Increase

ADS v1.2RealView 2.0

Page 20: Advantage of RealView MDK - pudn.comread.pudn.com/downloads81/doc/312825/11-Advantage of... · 2007. 1. 9. · 3 Keil an ARM Company Leading supplier of MCU development tools ANSI

20

RealView Microcontroller Development Kit

HardwareAdvantage 4

Page 21: Advantage of RealView MDK - pudn.comread.pudn.com/downloads81/doc/312825/11-Advantage of... · 2007. 1. 9. · 3 Keil an ARM Company Leading supplier of MCU development tools ANSI

21

Detect Illegal Memory AccessesRequirement: Detect illegal accesses that fail in Hardware

MAP command allows to define access rights: read, write, executeOn illegal memory access you may display messages or stop simulation

// Un-aligned memory access create wrong values in Hardware// but are hard to detect during JTAG Debugging

typedef struct { struct {

COLOR Color; INPUT_EVENT Event;

unsigned short Level; unsigned char Buffer[10];

} LEVEL; } Input;

unsigned short SetStruct (void) {

LEVEL *pLevel;

pLevel = (LEVEL *)&Input.Buffer[0]; // set pointer

pLevel->Level = 0x1234; // UN-ALIGN ACCESS!

:

“Better verification with no extra effort ”

Page 22: Advantage of RealView MDK - pudn.comread.pudn.com/downloads81/doc/312825/11-Advantage of... · 2007. 1. 9. · 3 Keil an ARM Company Leading supplier of MCU development tools ANSI

22

Program DebuggingSingle Stepping & Real-Time ExecutionFlash and Softw are BreakpointsMemory Access Breakpoints

Flash ProgrammingDow nload, Verify, and ExecuteDow nload: 20KB / Second

ULINK-2 Cortex-M3 Serial Wire Debug and TracePlug and Play USB InstallationHigher Speed – 80KB/SecondUses Real-Time Library Components

ULINK – USB / JTAG Adapter

Easy to use USB run control adapter, supporting JTAG debug and Flash programming.

Page 23: Advantage of RealView MDK - pudn.comread.pudn.com/downloads81/doc/312825/11-Advantage of... · 2007. 1. 9. · 3 Keil an ARM Company Leading supplier of MCU development tools ANSI

23

Configure under Options - Utilit iesFully Integrated into Build Process

Preconfigured Algorithms> 30 Flash algorithmsOn-chip Flash ROMSelected Boards and vendors

User own AlgorithmsEasily imported into µVision

ULINK Flash Programming

Fully integrated with µVision for seamless Flash programming.

Page 24: Advantage of RealView MDK - pudn.comread.pudn.com/downloads81/doc/312825/11-Advantage of... · 2007. 1. 9. · 3 Keil an ARM Company Leading supplier of MCU development tools ANSI

24

Wide Range Evaluation Boards

Designed for easy set-upExtensive Program Examples.Wide range of peripherals.Popular ARM based MCU’s.

Proven hardware for quick project development and debug.

Page 25: Advantage of RealView MDK - pudn.comread.pudn.com/downloads81/doc/312825/11-Advantage of... · 2007. 1. 9. · 3 Keil an ARM Company Leading supplier of MCU development tools ANSI

25

RealView Microcontroller Development Kit

RealView Real-Time Library

Advantage 5

Page 26: Advantage of RealView MDK - pudn.comread.pudn.com/downloads81/doc/312825/11-Advantage of... · 2007. 1. 9. · 3 Keil an ARM Company Leading supplier of MCU development tools ANSI

26

RealView Real-Time Library

Meets Embedded Developers needsSolves Common Embedded Challenges

Real-Time Systems

Embedded CommunicationDesigned for use with MCU DevicesHigh level of Re-use

Extensive Range of Application ExamplesAs with all Keil tools.Can be used as building blocks.

Royalty FreeRTX (Object) included in RealView MDK.

Extensive library of common ready-to-use components, speed software development.

RealView Real-Time Library

RTX Real-Time KernelRTX Real-Time Kernel

TCP/IP Network SuiteTCP, UDP, PPP, and SLIP Interface

HTTP Serv er with CGI ScriptingTelnet Serv er, TFTP Serv erSMTP Client, DNS Resolv er

TCP/IP Network SuiteTCP, UDP, PPP, and SLIP Interface

HTTP Serv er with CGI ScriptingTelnet Serv er, TFTP Serv erSMTP Client, DNS Resolv er

Flash File SystemFlash File System

USB Device InterfaceUSB Device Interface

CAN InterfaceCAN Interface

Exa

mpl

esE

xam

ples

Page 27: Advantage of RealView MDK - pudn.comread.pudn.com/downloads81/doc/312825/11-Advantage of... · 2007. 1. 9. · 3 Keil an ARM Company Leading supplier of MCU development tools ANSI

27

Kernel Aware DebuggingRTX and µVision are tightly integrated, kernel aware debugging is fully

supported.

Tasks and Event analysisResource Loading

Allowing resource optimisation

Page 28: Advantage of RealView MDK - pudn.comread.pudn.com/downloads81/doc/312825/11-Advantage of... · 2007. 1. 9. · 3 Keil an ARM Company Leading supplier of MCU development tools ANSI

28

HTTP Server with CGI InterfaceServer provides authentication and allows multiple sessions A CGI interface allow s interaction w ith MCU hardw are.

Real-Time Library Examples

Page 29: Advantage of RealView MDK - pudn.comread.pudn.com/downloads81/doc/312825/11-Advantage of... · 2007. 1. 9. · 3 Keil an ARM Company Leading supplier of MCU development tools ANSI

29

MDK Advantage ConclusionEasy to use. And support >160 ARM MCUs

and supply developers the initial assembly code

Integrate RVDS compilation tools

Complete Device Simulation allows software testing with no hardware, providing quick test cycles and improving product quality.

User can program Flash on chip through uLink easily.

Extensive library of common ready-to-use components that accelerate development.

Page 30: Advantage of RealView MDK - pudn.comread.pudn.com/downloads81/doc/312825/11-Advantage of... · 2007. 1. 9. · 3 Keil an ARM Company Leading supplier of MCU development tools ANSI

30

Get More Information

Application Notes

Evaluation software download

Program Examples

Device Database

Support Knowledge

Discussion Forum

Customers use www.keil.com on a daily basis to obtain program examples, latest technical information, and support.

Page 31: Advantage of RealView MDK - pudn.comread.pudn.com/downloads81/doc/312825/11-Advantage of... · 2007. 1. 9. · 3 Keil an ARM Company Leading supplier of MCU development tools ANSI

31

Thanks !