microc2_ech15l08armdevelopmenttools
TRANSCRIPT
7/23/2019 MicroC2_eCh15L08ARMDevelopmentTools
http://slidepdf.com/reader/full/microc2ech15l08armdevelopmenttools 1/39
Chapter 15
ARMARM – –
Architecture, ProgrammingArchitecture, Programmingandand
Development ToolsDevelopment Tools
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
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
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
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
7/23/2019 MicroC2_eCh15L08ARMDevelopmentTools
http://slidepdf.com/reader/full/microc2ech15l08armdevelopmenttools 6/39
2011 Microcontrollers-... 2nd Ed. Raj KamalPearson Education
6
RTOS
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
7/23/2019 MicroC2_eCh15L08ARMDevelopmentTools
http://slidepdf.com/reader/full/microc2ech15l08armdevelopmenttools 8/39
2011 Microcontrollers-... 2nd Ed. Raj KamalPearson Education
8
Source Code Development
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
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
7/23/2019 MicroC2_eCh15L08ARMDevelopmentTools
http://slidepdf.com/reader/full/microc2ech15l08armdevelopmenttools 11/39
2011 Microcontrollers-... 2nd Ed. Raj KamalPearson Education
11
Integrated Development Environment
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
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
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.
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
7/23/2019 MicroC2_eCh15L08ARMDevelopmentTools
http://slidepdf.com/reader/full/microc2ech15l08armdevelopmenttools 16/39
2011 Microcontrollers-... 2nd Ed. Raj KamalPearson Education 16
Keil µVision IDE
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)
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
7/23/2019 MicroC2_eCh15L08ARMDevelopmentTools
http://slidepdf.com/reader/full/microc2ech15l08armdevelopmenttools 19/39
2011 Microcontrollers-... 2nd Ed. Raj KamalPearson Education 19
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
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
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
7/23/2019 MicroC2_eCh15L08ARMDevelopmentTools
http://slidepdf.com/reader/full/microc2ech15l08armdevelopmenttools 23/39
2011Microcontrollers-... 2nd Ed. Raj Kamal
Pearson Education 23
Atmel development tools
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
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
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
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)
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
7/23/2019 MicroC2_eCh15L08ARMDevelopmentTools
http://slidepdf.com/reader/full/microc2ech15l08armdevelopmenttools 29/39
2011Microcontrollers-... 2nd Ed. Raj Kamal
Pearson Education 29
Evaluation/Demonstration Board
7/23/2019 MicroC2_eCh15L08ARMDevelopmentTools
http://slidepdf.com/reader/full/microc2ech15l08armdevelopmenttools 30/39
2011Microcontrollers-... 2nd Ed. Raj Kamal
Pearson Education 30
ST Evaluation board
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
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
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
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
7/23/2019 MicroC2_eCh15L08ARMDevelopmentTools
http://slidepdf.com/reader/full/microc2ech15l08armdevelopmenttools 35/39
2011
Microcontrollers-... 2nd Ed. Raj Kamal
Pearson Education 35
Summary
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
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
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
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