microc2_ech15l08armdevelopmenttools

39
7/23/2019 MicroC2_eCh15L08ARMDevelopmentTools http://slidepdf.com/reader/full/microc2ech15l08armdevelopmenttools 1/39 Chapter 15 ARM ARM  –  – Architecture, Programming Architecture, Programming and and Development Tools Development Tools

Upload: manikandan

Post on 17-Feb-2018

220 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: MicroC2_eCh15L08ARMDevelopmentTools

7/23/2019 MicroC2_eCh15L08ARMDevelopmentTools

http://slidepdf.com/reader/full/microc2ech15l08armdevelopmenttools 1/39

Chapter 15

ARMARM –  – 

Architecture, ProgrammingArchitecture, Programmingandand

Development ToolsDevelopment Tools

Page 2: MicroC2_eCh15L08ARMDevelopmentTools

7/23/2019 MicroC2_eCh15L08ARMDevelopmentTools

http://slidepdf.com/reader/full/microc2ech15l08armdevelopmenttools 2/39

2011 Microcontrollers-... 2nd Ed. Raj KamalPearson Education

2

Lesson 08

ARM MICROCONTROLLER

System Development Tools

Page 3: MicroC2_eCh15L08ARMDevelopmentTools

7/23/2019 MicroC2_eCh15L08ARMDevelopmentTools

http://slidepdf.com/reader/full/microc2ech15l08armdevelopmenttools 3/39

2011 Microcontrollers-... 2nd Ed. Raj KamalPearson Education

3

Project Creation/System DevelopmentProject Creation/System Development

Page 4: MicroC2_eCh15L08ARMDevelopmentTools

7/23/2019 MicroC2_eCh15L08ARMDevelopmentTools

http://slidepdf.com/reader/full/microc2ech15l08armdevelopmenttools 4/39

2011 Microcontrollers-... 2nd Ed. Raj KamalPearson Education

4

System Development Procedure

ProjectCreation

Use RTOS or

C Compiler

Source File

Creation

Target DeviceSelect

Testing Simulating

STAGE 1

STAGE 2

STAGE 3

ConfiguringTool Settings

Use RTOS or

Assembler

Debugging

STAGE 4 Absolute File

Creation

Hex-File

Creation

Code Burning

ROM/Flash

Device

Programmer

Locator

Page 5: MicroC2_eCh15L08ARMDevelopmentTools

7/23/2019 MicroC2_eCh15L08ARMDevelopmentTools

http://slidepdf.com/reader/full/microc2ech15l08armdevelopmenttools 5/39

2011 Microcontrollers-... 2nd Ed. Raj KamalPearson Education

5

A development tool support example

• ST Microelectronics ST30,

STR710 and STR720,

• Atmel AT91x,

• Philips LPC2104, LPC2105,

LPC2106, and NetSilicon NS7520

and NET+50 in the IDE.

DARM from Keil

Page 6: MicroC2_eCh15L08ARMDevelopmentTools

7/23/2019 MicroC2_eCh15L08ARMDevelopmentTools

http://slidepdf.com/reader/full/microc2ech15l08armdevelopmenttools 6/39

2011 Microcontrollers-... 2nd Ed. Raj KamalPearson Education

6

RTOS

Page 7: MicroC2_eCh15L08ARMDevelopmentTools

7/23/2019 MicroC2_eCh15L08ARMDevelopmentTools

http://slidepdf.com/reader/full/microc2ech15l08armdevelopmenttools 7/39

2011 Microcontrollers-... 2nd Ed. Raj KamalPearson Education

7

RTOS functions integrate

Multitasking

real-timesystem

C compilerC compiler

Software

development in C

so that source

Hex-file

development

directly by

linker/locator

Keil RTXA

Page 8: MicroC2_eCh15L08ARMDevelopmentTools

7/23/2019 MicroC2_eCh15L08ARMDevelopmentTools

http://slidepdf.com/reader/full/microc2ech15l08armdevelopmenttools 8/39

2011 Microcontrollers-... 2nd Ed. Raj KamalPearson Education

8

Source Code Development

Page 9: MicroC2_eCh15L08ARMDevelopmentTools

7/23/2019 MicroC2_eCh15L08ARMDevelopmentTools

http://slidepdf.com/reader/full/microc2ech15l08armdevelopmenttools 9/39

2011 Microcontrollers-... 2nd Ed. Raj KamalPearson Education

9

Assembler and Compiler Options

Page 10: MicroC2_eCh15L08ARMDevelopmentTools

7/23/2019 MicroC2_eCh15L08ARMDevelopmentTools

http://slidepdf.com/reader/full/microc2ech15l08armdevelopmenttools 10/39

2011 Microcontrollers-... 2nd Ed. Raj KamalPearson Education

10

Assembler

C Compiler Source

Source Code

Development

Industry standard for Assembler and compiler

ARM RealView

compiler

and Developer Suite

ARM AD5

GNU Tools

CARM Kit from Keil

A kit of Assembler

and compiler

Page 11: MicroC2_eCh15L08ARMDevelopmentTools

7/23/2019 MicroC2_eCh15L08ARMDevelopmentTools

http://slidepdf.com/reader/full/microc2ech15l08armdevelopmenttools 11/39

2011 Microcontrollers-... 2nd Ed. Raj KamalPearson Education

11

Integrated Development Environment

Page 12: MicroC2_eCh15L08ARMDevelopmentTools

7/23/2019 MicroC2_eCh15L08ARMDevelopmentTools

http://slidepdf.com/reader/full/microc2ech15l08armdevelopmenttools 12/39

2011 Microcontrollers-... 2nd Ed. Raj KamalPearson Education 12

Assembler

C Compiler Source

Library

Linker/Locator

Linking

Integrated

Development

IDE Features

Specific target hardware support

Control structures forloops and decision

blocks

Library Manager

Page 13: MicroC2_eCh15L08ARMDevelopmentTools

7/23/2019 MicroC2_eCh15L08ARMDevelopmentTools

http://slidepdf.com/reader/full/microc2ech15l08armdevelopmenttools 13/39

2011 Microcontrollers-... 2nd Ed. Raj KamalPearson Education 13

Integrated Development

Environment (IDE)

• Include flash programming and target

debugging

Page 14: MicroC2_eCh15L08ARMDevelopmentTools

7/23/2019 MicroC2_eCh15L08ARMDevelopmentTools

http://slidepdf.com/reader/full/microc2ech15l08armdevelopmenttools 14/39

2011 Microcontrollers-... 2nd Ed. Raj KamalPearson Education 14

Integrated Development

Environment (IDE)

• Accurate peripheral simulation and

timing.

Page 15: MicroC2_eCh15L08ARMDevelopmentTools

7/23/2019 MicroC2_eCh15L08ARMDevelopmentTools

http://slidepdf.com/reader/full/microc2ech15l08armdevelopmenttools 15/39

2011 Microcontrollers-... 2nd Ed. Raj KamalPearson Education 15

Integrated Development

Environment (IDE)

• support to standard device databases

Page 16: MicroC2_eCh15L08ARMDevelopmentTools

7/23/2019 MicroC2_eCh15L08ARMDevelopmentTools

http://slidepdf.com/reader/full/microc2ech15l08armdevelopmenttools 16/39

2011 Microcontrollers-... 2nd Ed. Raj KamalPearson Education 16

Keil µVision IDE

Page 17: MicroC2_eCh15L08ARMDevelopmentTools

7/23/2019 MicroC2_eCh15L08ARMDevelopmentTools

http://slidepdf.com/reader/full/microc2ech15l08armdevelopmenttools 17/39

2011 Microcontrollers-... 2nd Ed. Raj KamalPearson Education 17

Development complete set of tools

(IDE)

Project manager • Editor and make features (means

integrating assembling, compiling

and linking for the embedded

application)

Page 18: MicroC2_eCh15L08ARMDevelopmentTools

7/23/2019 MicroC2_eCh15L08ARMDevelopmentTools

http://slidepdf.com/reader/full/microc2ech15l08armdevelopmenttools 18/39

2011 Microcontrollers-... 2nd Ed. Raj KamalPearson Education 18

Assembling

Compiling, Library, Library

Manager

Standard GNU tools support

option

ARM (AD5) Assembler support

option

Linking, Hex-file generation

Integration

Keil µVision IDE

Specific target hardware support

Specific target Debug supports

Page 19: MicroC2_eCh15L08ARMDevelopmentTools

7/23/2019 MicroC2_eCh15L08ARMDevelopmentTools

http://slidepdf.com/reader/full/microc2ech15l08armdevelopmenttools 19/39

2011 Microcontrollers-... 2nd Ed. Raj KamalPearson Education 19

Page 20: MicroC2_eCh15L08ARMDevelopmentTools

7/23/2019 MicroC2_eCh15L08ARMDevelopmentTools

http://slidepdf.com/reader/full/microc2ech15l08armdevelopmenttools 20/39

2011 Microcontrollers-... 2nd Ed. Raj KamalPearson Education 20

For programming a device for the

application using assembly language

 program developed with use of macrosand control structures

Hex-file development

Page 21: MicroC2_eCh15L08ARMDevelopmentTools

7/23/2019 MicroC2_eCh15L08ARMDevelopmentTools

http://slidepdf.com/reader/full/microc2ech15l08armdevelopmenttools 21/39

2011 Microcontrollers-... 2nd Ed. Raj KamalPearson Education 21

ARM RealView® developer kit

Page 22: MicroC2_eCh15L08ARMDevelopmentTools

7/23/2019 MicroC2_eCh15L08ARMDevelopmentTools

http://slidepdf.com/reader/full/microc2ech15l08armdevelopmenttools 22/39

2011Microcontrollers-... 2nd Ed. Raj Kamal

Pearson Education 22

Targeted compiler

Targeted GUI debugger

Smaller code size

JTAG run control device

Increased systemperformance/mW

Reduced system memory cost

ARM

RealViewRealView®®

ARMARM RealViewRealView®® developer kitdeveloper kit

ST specificST specific

ICE micro editionICE micro edition

Page 23: MicroC2_eCh15L08ARMDevelopmentTools

7/23/2019 MicroC2_eCh15L08ARMDevelopmentTools

http://slidepdf.com/reader/full/microc2ech15l08armdevelopmenttools 23/39

2011Microcontrollers-... 2nd Ed. Raj Kamal

Pearson Education 23

Atmel development tools

Page 24: MicroC2_eCh15L08ARMDevelopmentTools

7/23/2019 MicroC2_eCh15L08ARMDevelopmentTools

http://slidepdf.com/reader/full/microc2ech15l08armdevelopmenttools 24/39

2011Microcontrollers-... 2nd Ed. Raj Kamal

Pearson Education 24

Development boards

Software-Application

Development

Software-Device Drivers

JTAG and ICE interfaces

Debugger

Compiler

AT91 and Other

Atmel MCUs

Atmel development toolsAtmel development tools

Real-time Operating Systems(RTOS), TCP/IP stacks and

application-specific

Page 25: MicroC2_eCh15L08ARMDevelopmentTools

7/23/2019 MicroC2_eCh15L08ARMDevelopmentTools

http://slidepdf.com/reader/full/microc2ech15l08armdevelopmenttools 25/39

2011Microcontrollers-... 2nd Ed. Raj Kamal

Pearson Education 25

Keil µVision IDE debugger 

Page 26: MicroC2_eCh15L08ARMDevelopmentTools

7/23/2019 MicroC2_eCh15L08ARMDevelopmentTools

http://slidepdf.com/reader/full/microc2ech15l08armdevelopmenttools 26/39

2011Microcontrollers-... 2nd Ed. Raj Kamal

Pearson Education 26

I2C, CAN

SPI, UART

I/O Ports

PWM Modules device

A/D Converter, D/AConverter,

Interrupts

µVision

Keil µVision debugger Accurate Simulation

ST and Phillips specific

on-chip peripherals

Page 27: MicroC2_eCh15L08ARMDevelopmentTools

7/23/2019 MicroC2_eCh15L08ARMDevelopmentTools

http://slidepdf.com/reader/full/microc2ech15l08armdevelopmenttools 27/39

2011Microcontrollers-... 2nd Ed. Raj Kamal

Pearson Education 27

UDE (Universal Debug Engine)

Page 28: MicroC2_eCh15L08ARMDevelopmentTools

7/23/2019 MicroC2_eCh15L08ARMDevelopmentTools

http://slidepdf.com/reader/full/microc2ech15l08armdevelopmenttools 28/39

2011Microcontrollers-... 2nd Ed. Raj Kamal

Pearson Education 28

Breakpoints support

Set the complex event-trigger

conditions

JTAG support

for 32-bit TriCore MCU

Stepping in ROM/FLASH

UDE

UDE ToolUDE Tool

for ST10F16x, ST10F26xand ST10F280 MCUs

for SAB C16x,

C166CBC MCUs

Page 29: MicroC2_eCh15L08ARMDevelopmentTools

7/23/2019 MicroC2_eCh15L08ARMDevelopmentTools

http://slidepdf.com/reader/full/microc2ech15l08armdevelopmenttools 29/39

2011Microcontrollers-... 2nd Ed. Raj Kamal

Pearson Education 29

Evaluation/Demonstration Board

Page 30: MicroC2_eCh15L08ARMDevelopmentTools

7/23/2019 MicroC2_eCh15L08ARMDevelopmentTools

http://slidepdf.com/reader/full/microc2ech15l08armdevelopmenttools 30/39

2011Microcontrollers-... 2nd Ed. Raj Kamal

Pearson Education 30

ST Evaluation board

Page 31: MicroC2_eCh15L08ARMDevelopmentTools

7/23/2019 MicroC2_eCh15L08ARMDevelopmentTools

http://slidepdf.com/reader/full/microc2ech15l08armdevelopmenttools 31/39

2011Microcontrollers-... 2nd Ed. Raj Kamal

Pearson Education 31

ARM Powered STR710 ARM MCU System DevelopmentARM Powered STR710 ARM MCU System Development

BoardBoard

Page 32: MicroC2_eCh15L08ARMDevelopmentTools

7/23/2019 MicroC2_eCh15L08ARMDevelopmentTools

http://slidepdf.com/reader/full/microc2ech15l08armdevelopmenttools 32/39

2011Microcontrollers-... 2nd Ed. Raj Kamal

Pearson Education 32

STR710FZ2T6 ARM7TDMITM

2x16 LCD, LEDs

Piezo-buzzer and test-buttons

2M bits embedded flash

10 serial communications

iSTR710-EVAL

board

Complete development platform for the STR71x flash

MCUs for development target

2Mbits embedded flash

Tools support from ST, ARM,

Ashling, GreenHills, Hitex, IAR

and PLS

Page 33: MicroC2_eCh15L08ARMDevelopmentTools

7/23/2019 MicroC2_eCh15L08ARMDevelopmentTools

http://slidepdf.com/reader/full/microc2ech15l08armdevelopmenttools 33/39

2011Microcontrollers-... 2nd Ed. Raj Kamal

Pearson Education 33

Phillips LPC 21xx development

 board

Page 34: MicroC2_eCh15L08ARMDevelopmentTools

7/23/2019 MicroC2_eCh15L08ARMDevelopmentTools

http://slidepdf.com/reader/full/microc2ech15l08armdevelopmenttools 34/39

2011

Microcontrollers-... 2nd Ed. Raj Kamal

Pearson Education 34

Keil DemoBoard for LPC21xx ARM MCUs

Page 35: MicroC2_eCh15L08ARMDevelopmentTools

7/23/2019 MicroC2_eCh15L08ARMDevelopmentTools

http://slidepdf.com/reader/full/microc2ech15l08armdevelopmenttools 35/39

2011

Microcontrollers-... 2nd Ed. Raj Kamal

Pearson Education 35

Summary

Page 36: MicroC2_eCh15L08ARMDevelopmentTools

7/23/2019 MicroC2_eCh15L08ARMDevelopmentTools

http://slidepdf.com/reader/full/microc2ech15l08armdevelopmenttools 36/39

2011

Microcontrollers-... 2nd Ed. Raj Kamal

Pearson Education 36

We learntDevelopment tools needed

• RTOS, Assembler, C Compiler, IDE,Target debugging tool,

Linker/Locator, Monitor and PROM

programmer

Page 37: MicroC2_eCh15L08ARMDevelopmentTools

7/23/2019 MicroC2_eCh15L08ARMDevelopmentTools

http://slidepdf.com/reader/full/microc2ech15l08armdevelopmenttools 37/39

2011

Microcontrollers-... 2nd Ed. Raj Kamal

Pearson Education 37

We learnt

•  Need of IDE device databases, on-linehelp, automatic correction help and

interactive feature using the dialogs

Page 38: MicroC2_eCh15L08ARMDevelopmentTools

7/23/2019 MicroC2_eCh15L08ARMDevelopmentTools

http://slidepdf.com/reader/full/microc2ech15l08armdevelopmenttools 38/39

2011

Microcontrollers-... 2nd Ed. Raj Kamal

Pearson Education 38

We learnt

• Demo/Evaluation Boards need• Accurate Device Debuggers need

Page 39: MicroC2_eCh15L08ARMDevelopmentTools

7/23/2019 MicroC2_eCh15L08ARMDevelopmentTools

http://slidepdf.com/reader/full/microc2ech15l08armdevelopmenttools 39/39

2011

Microcontrollers-... 2nd Ed. Raj Kamal

Pearson Education 39

End of Lesson 08 on

ARM MICROCONTROLLERSystem Development Tools