ID_322C_Wolf_HEW_Top_10 - Renesas e

Download Report

Transcript ID_322C_Wolf_HEW_Top_10 - Renesas e

ID 322C: Using HEW's Many
Capabilities to Boost Software
Development Productivity
Renesas Electronics America Inc.
Axel Wolf
Marketing Manager, Development Tools
12 October 2010
Version: 1.1
Axel Wolf
 Marketing Manager, Development Tools
 Responsible for marketing HEW
within the Renesas Electronics America
Product Marketing Group
PREVIOUS EXPERIENCE:
 Applications Engineering Manager, Development Tools
Manager and Technical Marketing Manager for
microcontrollers at NXP / Philips Semiconductors
 Applications Engineer for microcontrollers at Infineon
Technologies / Siemens Semiconductors
 BSEE from the Cooperative State University in Stuttgart,
Germany
2
© 2010 Renesas Electronics America Inc.
All rights reserved.
Renesas Technology and Solution Portfolio
Microcontrollers
& Microprocessors
#1 Market share
worldwide *
ASIC, ASSP
& Memory
Advanced and
proven technologies
Solutions
for
Innovation
Analog and
Power Devices
#1 Market share
in low-voltage
MOSFET**
* MCU: 31% revenue
basis from Gartner
"Semiconductor
Applications Worldwide
Annual Market Share:
Database" 25
March 2010
** Power MOSFET: 17.1%
on unit basis from
Marketing Eye 2009
(17.1% on unit basis).
3
© 2010 Renesas Electronics America Inc.
All rights reserved.
Renesas Technology and Solution Portfolio
Microcontrollers
& Microprocessors
#1 Market share
worldwide *
Solutions
for
Innovation
ASIC, ASSP
& Memory
Advanced and
proven technologies
Analog and
Power Devices
#1 Market share
in low-voltage
MOSFET**
* MCU: 31% revenue
basis from Gartner
"Semiconductor
Applications Worldwide
Annual Market Share:
Database" 25
March 2010
** Power MOSFET: 17.1%
on unit basis from
Marketing Eye 2009
(17.1% on unit basis).
4
© 2010 Renesas Electronics America Inc.
All rights reserved.
Microcontroller and Microprocessor Line-up
Superscalar, MMU, Multimedia
High Performance CPU, Low Power
High Performance CPU, FPU, DSC
 Up to 1200 DMIPS, 45, 65 & 90nm process
 Video and audio processing on Linux
 Server, Industrial & Automotive
 Up to 500 DMIPS, 150 & 90nm process
 600uA/MHz, 1.5 uA standby
 Medical, Automotive & Industrial
 Up to 165 DMIPS, 90nm process
 500uA/MHz, 2.5 uA standby
 Ethernet, CAN, USB, Motor Control, TFT Display
 Legacy Cores
 Next-generation migration to RX
General Purpose
 Up to 10 DMIPS, 130nm process
 350 uA/MHz, 1uA standby
 Capacitive touch
5
© 2010 Renesas Electronics America Inc.
All rights reserved.
Ultra Low Power
Embedded Security
 Up to 25 DMIPS, 150nm process  Up to 25 DMIPS, 180, 90nm process
 190 uA/MHz, 0.3uA standby
 1mA/MHz, 100uA standby
 Application-specific integration  Crypto engine, Hardware security
Microcontroller and Microprocessor Line-up
Superscalar, MMU, Multimedia
High Performance CPU, Low Power
High Performance CPU, FPU, DSC
 Up to 1200 DMIPS, 45, 65 & 90nm process
 Video and audio processing on Linux
 Server, Industrial & Automotive
 Up to 500 DMIPS, 150 & 90nm process
 600uA/MHz, 1.5 uA standby
 Medical, Automotive & Industrial
 Up to 165 DMIPS, 90nm process
 500uA/MHz, 2.5 uA standby
 Ethernet, CAN, USB, Motor Control, TFT Display
 Legacy Cores
 Next-generation migration to RX
General Purpose
 Up to 10 DMIPS, 130nm process
 350 uA/MHz, 1uA standby
 Capacitive touch
6
© 2010 Renesas Electronics America Inc.
All rights reserved.
Ultra Low Power
Embedded Security
 Up to 25 DMIPS, 150nm process  Up to 25 DMIPS, 180, 90nm process
 190 uA/MHz, 0.3uA standby
 1mA/MHz, 100uA standby
 Application-specific integration  Crypto engine, Hardware security
Innovation
7
© 2010 Renesas Electronics America Inc.
All rights reserved.
HEW, our Integrated Development Environment
Solution
Renesas provides you with a suite of professional software
development tools, providing powerful and flexible features
that ease and accelerate creation and debugging of embedded
code. Setting up a complete Integrated Development
Environment is very easy to achieve when you have Renesas as
a partner!
8
© 2010 Renesas Electronics America Inc.
All rights reserved.
Agenda
 Introduction / Key Takeaways
 Top 10 Features of HEW
 Build Management
 Project Management & Navigation
 Integrated Debugging
 Test & Analysis Tools
 Other Cool Features
 Q&A
9
© 2010 Renesas Electronics America Inc.
All rights reserved.
Key Takeaways
By the end of this session you will be able to identify how HEW
can help you to:
 shorten your time to market
 improve the quality of your code
 lower your development cost
 make it easier to develop your code
10
© 2010 Renesas Electronics America Inc.
All rights reserved.
Quick Poll: Have you used HEW before?
11

Have you used HEW?

Have you used HEW for > 1year?

Have you used HEW when it was still the HITACHI
Embedded Workshop? (before 2003)

Have you used HEW since V1.0?
© 2010 Renesas Electronics America Inc.
All rights reserved.
What’s Cool About HEW?
And how can it help you in your development experience?
12
© 2010 Renesas Electronics America Inc.
All rights reserved.
HEW4
www.am.renesas.com/hew
 Single Integrated Development & Debugging Environment
 Consistent interface across all former Renesas Technology (RT)
microcontrollers
 Consistent interface across all former RT debug targets
[Simulators, monitors, ICEs]
 Highly customizable -> saves time and effort
13
© 2010 Renesas Electronics America Inc.
All rights reserved.
What’s Cool About HEW? The Top 10 features
1.
Build-Option
Configuration
2.
Project Generators
3.
Project Navigation
4.
Manual Navigator
5.
Integrated Debugger
support
6.
Analysis Tools
7.
Test Environment
8.
HEW Target Server
9.
AutoUpdater
10. Flexible Licensing
14
© 2010 Renesas Electronics America Inc.
All rights reserved.
Build
Management
Project Management
& Navigation
Integrated
Debugging
Test &
Analysis
Other cool
features
What’s Cool About HEW?
1.
Build-Option
Configuration
2.
Project Generators
3.
Project Navigation
4.
Manual Navigator
5.
Integrated Debugger
support
6.
Analysis Tools
7.
Test Environment
8.
HEW Target Server
9.
AutoUpdater
10. Flexible Licensing
15
© 2010 Renesas Electronics America Inc.
All rights reserved.
Build
Management
Project Management
& Navigation
Integrated
Debugging
Test &
Analysis
Other cool
features
Configuring Build Options
 Tool Chain
Options window
Select Configuration
Select Project
Select Files
16
© 2010 Renesas Electronics America Inc.
All rights reserved.
Creating a new Project
 Project Generator Wizard
 Simplifies the selection of configuration options, debugger
targets, and the creation of startup code
18
© 2010 Renesas Electronics America Inc.
All rights reserved.
Creating a new Project (cont.)
 Project Generator Wizard – RSK Sample Code
 Special project wizard for evaluation of peripherals
20
© 2010 Renesas Electronics America Inc.
All rights reserved.
What’s Cool About HEW?
1.
Build-Option
Configuration
2.
Project Generators
3.
Project Navigation
4.
Manual Navigator
5.
Integrated Debugger
support
6.
Analysis Tools
7.
Test Environment
8.
HEW Target Server
9.
AutoUpdater
10. Flexible Licensing
22
© 2010 Renesas Electronics America Inc.
All rights reserved.
Build
Management
Project Management
& Navigation
Integrated
Debugging
Test &
Analysis
Other cool
features
Project Window
Project File Structure
Workspace
Project
Files
23
© 2010 Renesas Electronics America Inc.
All rights reserved.
Project Window
Function/Object Navigator
 Graphical representation of all
functions/objects in the project




Defines
Functions
Structures/classes
Globals
 Optional Group-by-file view
 Double-clicking on an entry
jumps to its definition in the
editor
25
© 2010 Renesas Electronics America Inc.
All rights reserved.
Project Window
Customizing the project view
User created folder
User added file type
27
© 2010 Renesas Electronics America Inc.
All rights reserved.
Project Window
Adding a new file type
28
© 2010 Renesas Electronics America Inc.
All rights reserved.
Manual Navigator
29
© 2010 Renesas Electronics America Inc.
All rights reserved.
What’s Cool About HEW?
1.
Build-Option
Configuration
2.
Project Generators
3.
Project Navigation
4.
Manual Navigator
5.
Integrated Debugger
support
6.
Analysis Tools
7.
Test Environment
8.
HEW Target Server
9.
AutoUpdater
10. Flexible Licensing
30
© 2010 Renesas Electronics America Inc.
All rights reserved.
Build
Management
Project Management
& Navigation
Integrated
Debugging
Test &
Analysis
Other cool
features
Integrated Debugger support
 Sessions define the debug target and the associated settings
 Configurations contain the tool chain settings from the
options dialog (i.e. how the project code is built)
Debug_with_Emulators
Debug_with_Emulators
Configuration
31
© 2010 Renesas Electronics America Inc.
All rights reserved.
E10A-USB
E10A-USB
Session
Adding a new Debug Target
 New Session Wizard
Debug_with_Emulators
My_new_session
Session
32
© 2010 Renesas Electronics America Inc.
All rights reserved.
Debugging Features
 HEW provides the standard debugger views…
 Source & disassembly
 CPU general registers & SFRs
 Memory windows
– Incl. graphic representations
 Watchpoints incl. local variables
33
© 2010 Renesas Electronics America Inc.
All rights reserved.
Debugging Features
 …and other views dependent on target capabilities





34
Code Coverage
CPU cycle trace with acquisition control
Complex breakpoints
Stack Trace
Performance analysis
© 2010 Renesas Electronics America Inc.
All rights reserved.
Source Breakpoint Pop-up
 Shows all source-line based breakpoints in the session
 Invoke from Edit menu, or with <CTRL> B
Takes you to
the line in the
source code
35
© 2010 Renesas Electronics America Inc.
All rights reserved.
Stack Trace
 Shows you the contents of the Stack
 Branch & Jump sources
 Parameters
 Locals
 Requires ELF/DWARF2 debug file
36
© 2010 Renesas Electronics America Inc.
All rights reserved.
What’s Cool About HEW?
1.
Build-Option
Configuration
2.
Project Generators
3.
Project Navigation
4.
Manual Navigator
5.
Integrated Debugger
support
6.
Analysis Tools
7.
Test Environment
8.
HEW Target Server
9.
AutoUpdater
10. Flexible Licensing
37
© 2010 Renesas Electronics America Inc.
All rights reserved.
Build
Management
Project Management
& Navigation
Integrated
Debugging
Test &
Analysis
Other cool
features
Analysis Tools: Performance Analyzer
 Displays:
 Number of execution cycles performed
 Count of times a function is accessed
 Useful for optimization
38
© 2010 Renesas Electronics America Inc.
All rights reserved.
Analysis Tools: Profiler
 Lists times a function/variable is accessed and cycles
 Tree view shows calling structure
 Linker can use runtime profiling information for optimization
39
© 2010 Renesas Electronics America Inc.
All rights reserved.
Analysis Tools: Code Coverage Analyzer
 Information about how much
code has actually been
executed
 Useful for Quality Assurance
Executed line
Unexecuted line
40
© 2010 Renesas Electronics America Inc.
All rights reserved.
Analysis Tools: Stack Analyzer (“Call Walker”)
 Individual function stack usage
 Stack required by all sub-functions called from a function
 Total usage at any point in the call tree
Stack used by function
& sub-functions
41
© 2010 Renesas Electronics America Inc.
All rights reserved.
Stack used by function
Analysis Tools: Map View
 Provides a graphical view of object
locations
Section list
42
© 2010 Renesas Electronics America Inc.
All rights reserved.
Information about objects in the section
HEW as a Test Environment
 Macro script feature
 Allows several build and debugger operations to be recorded
and then played back later
 Testing tool feature
 Allows you to capture data in several debug windows and
compare with previous data
Recordable operations:







43
© 2010 Renesas Electronics America Inc.
All rights reserved.
Build operations
Download
S/W break points
Memory operations
Register operations
Watch (Depend on the debugger)
Trace (Depend on the debugger)
HEW as a Test Environment: Test Output View
Double-click
44
© 2010 Renesas Electronics America Inc.
All rights reserved.
HEW Target Server
API for external control of HEW and the target device
 Command Interface
 CPU Control
–
–
–
–
–
–
–
–
–
GoTargetExec2
StopTargetExec2
ResetTargetExec2
InitializeTarget2
Step2
StepRate2
StepOver2
StepOut2
IsRunning2
 Register
–
–
–
–
GetPC2
SetPCAddress2
SetPCSource2
TestSetPC2
 Memory
– GetMemory2
– SetMemory2
– GetDirectMemory2
45
© 2010 Renesas Electronics America Inc.
All rights reserved.
 Software Breaks
–
–
–
–
–
SetPCBreakPt2
EnableBreakPt2
DeleteBreakPt2
GetAllBreakPt2
DeleteAllBreakPt2
 Variable Break
– SetDataBreakpoint2
– EnableDataBreakpoint2
– DeleteDataBreakpoint2
 Variable Trace
–
–
–
–
SetSymbolTrace2
ExecuteSymbolTrace2
DeleteSymbolTrace2
SaveSymbolTraceDeta2
 Interrupt Conditions
– SendTrigger2
HEW Target Server
API for external control of HEW and the target device
 Command Interface
 Symbol
–
–
–
–
–
–
GetRealTimeWatch2
GetQuickWatch2
SymbolToAddress2
AddressToSymbol2
GetLineFromAddr2
GetAddrFromLine2
 Workspace
– OpenWorkspace2
– CloseWorkspace2
– SaveWorkspace2
 Project
–
–
–
–
46
AddFile2
AddFiles2
DeleteFile2
DeleteFiles2
© 2010 Renesas Electronics America Inc.
All rights reserved.
 Build
–
–
–
–
–
–
–
–
BuildProject2
RebuildProject2
UpDateAllDependency2
AddFileWithCompilerOption2
GetLibraryOptions
SetLibraryOptions
SetBuildExcludeFiles
SetBuildIncludeFiles
 Download
– Download2
– Unload2
 Start/Stop
– InvokeHew2
– QuitHew2
HEW Target Server
API for external control of HEW and the target device
 Command Interface
 Configuration/Session
–
–
–
–
–
–
–
–
–
–
SaveSession2
GetCurrentConfiguration2
SetCurrentConfiguration2
GetConfigurations2
GetCurrentSession2
SetCurrentSession2
GetSession2
GetCurrentProject2
SetCurrentProject2
GetProjects2
 Files
–
–
–
–
47
OpenFileAtLine2
GetSourceFiles2
GetDownloadModules2
GetDependentFiles2
© 2010 Renesas Electronics America Inc.
All rights reserved.
 Coverage
–
–
–
–
–
–
–
–
SetCoverageRange2
GetCoverageRange2
SetCoverageDisable2
SetCoverageEnable2
ClearCoverage2
GetCoverageStatus2
LoadCoverage2
SaveCoverage2
 Others
–
–
–
–
GetErrorString2
GetHewStatus2
GetHewStatusEx2
GetTargetName2
HEW Target Server
API for external control
48
© 2010 Renesas Electronics America Inc.
All rights reserved.
HEW Target Server
API for external control
http://www.renesasrulz.com/community/downloads/hewtargetserver/htscontest2008
49
© 2010 Renesas Electronics America Inc.
All rights reserved.
What’s Cool About HEW?
1.
Build-Option
Configuration
2.
Project Generators
3.
Project Navigation
4.
Manual Navigator
5.
Integrated Debugger
support
6.
Analysis Tools
7.
Test Environment
8.
HEW Target Server
9.
AutoUpdater
10. Flexible Licensing
50
© 2010 Renesas Electronics America Inc.
All rights reserved.
Build
Management
Project Management
& Navigation
Integrated
Debugging
Test &
Analysis
Other cool
features
Auto Updater
 Checks with the website
for updates
 You can select:
 How often to check
 Which components
to check for
 And which you want
to download & install
51
© 2010 Renesas Electronics America Inc.
All rights reserved.
Flexible Compiler Licensing Options
 Free download
 Full capabilities for 60 days
 Size limited to 64K/128K/256K code
after that
 USB Key / PC Node-locked licenses
 Network (floating) licenses
Family
52
USB Key license
(or Node Locked)
Network license
H8
YRTA-HEWH8-1U
YRTA-HEWH8-1UL
R8C/M16C/R32C
YRTA-HEWNC-1U
YRTA-HEWNC-1UL
RX
YRTA-HEWRX-1U
YRTA-HEWRX-1UL
SH
YRTA-HEWSH-1U
YRTA-HEWSH-1UL
© 2010 Renesas Electronics America Inc.
All rights reserved.
Flexible Compiler Licensing Options (cont.)
Code
Size
Unlimited
Optimization
performance
benchmarking
Purchase
of identical
full product
Peripheral
evaluation &
sample code
Default
size-limited
(64K for H8, M16C, R8C,
128K for RX,
256K for SH)
Evaluation tool still useful
for feature investigation
Initial 60 days
evaluation
(no key required)
53
© 2010 Renesas Electronics America Inc.
All rights reserved.
Full product
key
Time
Using HEW FREE - with the KPIT GNU compilers
 KPIT GNU Tools
http://www.kpitgnutools.com/
Family
IDE (HEW)
(free)
KPIT GNU Compilers
(free)
H8
KPIT GNUH8 - plugs into HEW IDE
R8C/M16C
KPIT GNUM16C - plugs into HEW IDE
HEW
54
RX
KPIT GNURX - plugs into HEW IDE
SH
KPIT GNUSH - plugs into HEW IDE
© 2010 Renesas Electronics America Inc.
All rights reserved.
Top 10 Features
of the High-performance Embedded Workshop (HEW)
1.
Build-Option
Configuration
2.
Project Generators
3.
Project Navigation
4.
Manual Navigator
5.
Integrated Debugger
support
6.
Analysis Tools
7.
Test Environment
8.
HEW Target Server
9.
AutoUpdater
10. Flexible Licensing
55
© 2010 Renesas Electronics America Inc.
All rights reserved.
Build
Management
Project Management
& Navigation
Integrated
Debugging
Test &
Analysis
Other cool
features
Try it for yourself!
 Download a free evaluation copy of HEW
 http://am.renesas.com/hew
 Included as part of any Starter Kit for RX, SH, R8C, M16C,
R32C
 Try the online course on HEW
 http://www.RenesasInteractive.com
56
© 2010 Renesas Electronics America Inc.
All rights reserved.
Innovation
57
© 2010 Renesas Electronics America Inc.
All rights reserved.
Questions?
58
© 2010 Renesas Electronics America Inc.
All rights reserved.
Thank You!
59
© 2010 Renesas Electronics America Inc.
All rights reserved.
Renesas Electronics America Inc.