getting started with renesas development tools · pdf filegetting started with renesas...
TRANSCRIPT
Renesas Electronics America Inc.© 2012 Renesas Electronics America Inc. All rights reserved.
Getting Started withRenesas Development Tools
© 2012 Renesas Electronics America Inc. All rights reserved.2
Renesas Technology & Solution Portfolio
© 2012 Renesas Electronics America Inc. All rights reserved.3
Microcontroller and Microprocessor Line-up
Wide Format LCDs Industrial & Automotive, 130nm 350µA/MHz, 1µA standby
44 DMIPS, True Low Power
Embedded Security, ASSP
165 DMIPS, FPU, DSC
1200 DMIPS, Performance1200 DMIPS, Superscalar
500 DMIPS, Low Power
165 DMIPS, FPU, DSC
25 DMIPS, Low Power
10 DMIPS, Capacitive Touch
Industrial & Automotive, 150nm 190µA/MHz, 0.3µA standby
Industrial, 90nm 200µA/MHz, 1.6µA deep standby
Automotive & Industrial, 90nm 600µA/MHz, 1.5µA standby
Automotive & Industrial, 65nm 600µA/MHz, 1.5µA standby Automotive, 40nm
500µA/MHz, 35µA deep standby
Industrial, 40nm 200µA/MHz, 0.3µA deep standby
Industrial, 90nm 1mA/MHz, 100µA standby
Industrial & Automotive, 130nm 144µA/MHz, 0.2µA standby
2010 2013
32
-bit
8/16
-bit
© 2012 Renesas Electronics America Inc. All rights reserved.4
Challenge: “MCUs continue to become more complex especially when creating applications to enable the Smart Society, and therefore the Software becomes more complex as well. However, project schedules do not always scale accordingly.”
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.”
‘Enabling The Smart Society’
© 2012 Renesas Electronics America Inc. All rights reserved.5
Agenda
The Importance of Development Tools IDEs (Integrated Development Environments) Toolchains (Compiler, Assembler, Linker) Code Generators, Driver Libraries, and Sample Code RTOS and Middleware Debuggers and Emulators Programming Solutions Boards, Kits, and more…Great ways to get started! The Renesas Ecosystem Summary Q&A
© 2012 Renesas Electronics America Inc. All rights reserved.6
The Importance of Development Tools
© 2012 Renesas Electronics America Inc. All rights reserved.7
What’s Most Important WhenChoosing a Microprocessor?
© 2012 Renesas Electronics America Inc. All rights reserved.8
What are the Most Important Factors in Choosing a Processor?
© 2012 Renesas Electronics America Inc. All rights reserved.9
Not All Tools Are Created Equal…
To mow your lawn, would you rather use this…
…or this…
…or this?
© 2012 Renesas Electronics America Inc. All rights reserved.10
A Typical Development Environment
IDE
C-CompilerAssembler
Linker
Debugging Software
(usually part of IDE)
Debugging Hardware / Emulator
Target Board
+ 3rd parties
Code Generator
Driver Libraries /
Sample Code
RTOS and Middleware
Programming SW and HW
© 2012 Renesas Electronics America Inc. All rights reserved.11
IDEs
C-CompilerAssembler
Linker
DebuggingSoftware
(usually part of IDE)
Debugging Hardware / Emulator
Target Board
Code Generator
Driver Libraries /
Sample Code
RTOS and Middleware
Programming SW and HW
Integrated Development Environments
© 2012 Renesas Electronics America Inc. All rights reserved.12
IDEs for Renesas MCUs
© 2012 Renesas Electronics America Inc. All rights reserved.13
Toolchains (Compiler/Assembler/Llinker)
IDE
C-CompilerAssembler
Linker
Debugging Software
(usually part of IDE)
Debugging Hardware / Emulator
Target Board
Code Generator
Driver Libraries /
Sample Code
RTOS and Middleware
Programming SW and HW
© 2012 Renesas Electronics America Inc. All rights reserved.14
Toolchains for Renesas MCUs
© 2012 Renesas Electronics America Inc. All rights reserved.15
Which IDEs/Compilers Support Which MCUs?
Product families
e2studio Eclipse-based IDE & various Compilers
Other RenesasIDEs & Compilers
IAR Embedded Workbench IDE & IAR Compilers
Green Hills Multi IDE & Compiler
KPIT GNURL78 orIAR RL78 (via plug-in)
[CubeSuite+ IDE & RL78 compiler] * EWRL78 -
KPIT GNURX or Renesas RX or IAR RX
(via plug-in)
HEW IDE & Renesas RX or KPIT GNURX EWRX -
-[CubeSuite+ IDE &V850 compiler] * EWV850 GHS V850 Software
Tools
KPIT GNUSH orRenesas or IAR SH
(via plug-in) **
HEW IDE & Renesas SH or KPIT GNUSH EWSH
GHS SH Software Tools
Free SW * Not promoted at REA ** Under development
© 2012 Renesas Electronics America Inc. All rights reserved.16
Code Generators, Driver Libraries, and Sample Code
IDE
C-CompilerAssembler
Linker
Debugging Software
(usually part of IDE)
Debugging Hardware / Emulator
Target Board
Code Generator
Driver Libraries /
Sample Code
RTOS and Middleware
Programming SW and HW
© 2012 Renesas Electronics America Inc. All rights reserved.17
Code Generators and Driver Libraries
(* also available separately)
Automatic Code Generation Tools for on-chip peripheral I/O drivers
Renesas Integrated Development Environments **
** plug-in under development
/
*
© 2012 Renesas Electronics America Inc. All rights reserved.18
Free Renesas Sample Code
© 2012 Renesas Electronics America Inc. All rights reserved.19
RX DSP Library
StatisticalMean
Max/Min
Mean Absolute Value
Variance
Histogram
Max Absolute Value
Mean Absolute Deviation
Median
TransformForward complex FFT
Forward complex DFT
Inverse complex FFT
Inverse complex DFT
Forward real FFT
Forward real DFT
Inverse complex-conjugate-symmetric FFT
Inverse complex-conjugate-symmetric DFT
Complex numberMagnitude
Phase
Complex Add
Complex Subtract
Complex Multiply
Complex Conjugate
Magnitude squared
Fast magnitude estimate
FilterGeneric Real FIR
IIR Biquad
Leaky LMS Adaptive
Generic Complex FIR
Lattice FIR
Lattice IIR
Single-pole IIR
MatrixMatrix Add
Matrix Subtract
Matrix Multiply
Matrix transpose
Matrix scale
36 kernels
© 2012 Renesas Electronics America Inc. All rights reserved.20
Firmware Integration Technology (FIT)
DDLCD
TCP/IP
Your Application
Renesas APIs and MW
ADPCM
Connects to Internet
CAN
File Sys
USB
DSP Lib
MMC/SD
Easy, time saving integration of Renesas software so you can focus on your application
© 2012 Renesas Electronics America Inc. All rights reserved.21
Which Code Generators / Driver Libraries / Sample Codes Support Which MCUs?
Product families
Applilet Peripheral Driver Generator (PDG)
Renesas Peripheral Driver Library (RPDL)
Renesas Sample Code and other libraries
Yes(Compilers: Renesas,
IAR, GNU *)- - Yes
Yes *(Compilers: Renesas,
IAR, GNU)
Yes(RX600, RX200;
Compiler: Renesas)
Yes(RX600, RX200;
Compilers: Renesas, IAR, GNU (binary compatible))
Yes
Yes(Compilers: Renesas,
IAR, GHS)- - Yes
- - - Yes
Free SW * Under development
© 2012 Renesas Electronics America Inc. All rights reserved.22
RTOS and Middleware
IDE
C-CompilerAssembler
Linker
Debugging Software
(usually part of IDE)
Debugging Hardware / Emulator
Target Board
Code Generator
Driver Libraries /
Sample Code
RTOS and Middleware
Programming SW and HW
© 2012 Renesas Electronics America Inc. All rights reserved.23
3rd Party RTOS and Middleware Solutions Available for RX
Plus Wi-Fi from and and USB stacks from
© 2012 Renesas Electronics America Inc. All rights reserved.24
Debuggers and Emulators
IDE
C-CompilerAssembler
Linker
Debugging Software
(usually part of IDE)
Debugging Hardware /
EmulatorTarget Board
Code Generator
Driver Libraries /
Sample Code
RTOS and Middleware
Programming SW and HW
© 2012 Renesas Electronics America Inc. All rights reserved.25
On-Chip Debuggers
E8a E10A
MINICUBE2
E1 E20
Segger J-Link RX
http://am.renesas.com/products/tools/emulation_debugging/onchip_debuggers/index.jsp
© 2012 Renesas Electronics America Inc. All rights reserved.26
Emulators
IECUBE2
IECUBEE100(RX610)
3rd Party solutions, e.g. Lauterbach,
iSYSTEM
http://am.renesas.com/products/tools/emulation_debugging/incircuit_emulators/index.jsp
© 2012 Renesas Electronics America Inc. All rights reserved.27
Which Debugger/Emulator Solutions Support Which MCUs?
Product families
E1/E20 E8a E10A MINICUBE2 E100 IECUBE IECUBE2 Segger J-Link
Yes - - - - Yes - -
Yes * - - - Yes (RX610) - - Yes
Yes - - Yes - Yes Yes(high-end) -
- - Yes - - - - -
* For RX600, E20 offers large trace and Real-time RAM monitoring.* For other families, the supported function of E20 correspond to that of the E1.
© 2012 Renesas Electronics America Inc. All rights reserved.28
Flash Programming Solutions
IDE
C-CompilerAssembler
Linker
Debugging Software
(usually part of IDE)
Debugging Hardware / Emulator
Target Board
Code Generator
Driver Libraries /
Sample Code
RTOS and Middleware
Programming SW and HW
© 2012 Renesas Electronics America Inc. All rights reserved.29
Renesas Flash Programming Solutions
PG-FP5-EAE8a+
FDT – FlashDevelopmentToolkit (SW)
MINICUBE2+
RFP
E1 E20
+
RFP – Renesas Flash Programmer
(SW)
FDT – FlashDevelopmentToolkit (SW)
or
Factory Programming
3rd Party solutions (e.g. Data I/O, BPM)
http://am.renesas.com/products/tools/flash_prom_programming/index.jsp
© 2012 Renesas Electronics America Inc. All rights reserved.30
Which Programming Solutions Support Which MCUs?
Product families
Renesas Flash Programmer (RFP) Software
Flash Development Toolkit (FDT) Software
PG-FP5-EA Third-Party solutions (Data-I/O, BPM Micro)
Yes(HW: E1/E20) - Yes Yes
Yes(HW: E1/E20)
Yes(HW: E1/E20) Yes Yes
Yes (HW: E1/E20, MINICUBE2) - Yes Yes
- Yes (HW: E8a) Yes(limited number) Yes
© 2012 Renesas Electronics America Inc. All rights reserved.31
Boards, Kits, and More…Great Ways to get Started!
IDE
C-CompilerAssembler
Linker
Debugging Software
(usually part of IDE)
Debugging Hardware / Emulator
Target Board
Code Generator
Driver Libraries /
Sample Code
RTOS and Middleware
Programming SW and HW
© 2012 Renesas Electronics America Inc. All rights reserved.32
Types of Boards and Kits within Renesas
Solution Kits
TB (Target Board
http://am.renesas.com/products/tools/introductory_evaluation_tools/index.jsp
RSK –Renesas
Starter Kit
RPB – RenesasPromotion Board
RDK –RenesasDemonstrationKit
© 2012 Renesas Electronics America Inc. All rights reserved.33
RX-Based Solutions
WiFi
802.11b/g/n WiFi, RX62N SPI connection to WiFi module Redpine Kit / Gainspan module w/
driver and examples Very low power 802.11b/g/n
connectivity
Connectivity, RX63N RDK/ RX62N RDK
Ethernet, USB Host, USB Device, CAN
Cloud computing with EXOSITE
See www.am.renesas.com/rx for details
Motor Control, RX62T Drive Sensorless PMAC Motor Field Oriented Control, 3-phase High integration, low system cost
Direct Drive TFT-LCD, RX62N Renesas, FDI, or Serious Graphic libraries and demos Source code available
Audio kit with RX62N Renesas RX MCU + a tiny ADI type-
D Amplifier Audio PCM Demo, audio speaker &
cable
Sensor fusion demo with RX62N Accelerometer and Gyroscope Measurements fused resulting in
more accurate positioning
© 2012 Renesas Electronics America Inc. All rights reserved.34
RL78-Based SolutionsRL78 RDK:
3 – Axis Digital Accelerometer, Digital Temp Sensor,96 x 64 Graphic LCD,
Audio In/Out, 512 KB Serial Flash, Micro SD Card Slot,
IAR Embedded Workbench (EWRL78) C/C++ support
TK debugger USB Interface, demo code libraries
802.11b/g/n WiFi, RL78
Very low power 802.11b/g/n connectivity
Simple SPI connection to WiFi module
Kit contains driver and examples
Motor Control, RL78
Sensorless vector speed control; Track current and voltage
GUI for monitoring and control; Stand-alone mode
Low power operating/standby modes
WiFi
Low-Power Display Solution Kit
Based on RL78/G14 RPB
Small add on board connecting to an E Ink segment display
Companion low power lab and presentation
© 2012 Renesas Electronics America Inc. All rights reserved.35
RX63N RDK (YRDKRX63N) User FeaturesJ-Link
debuggerExt. Power
5 VDC
Speaker
Stereo headphone jack
Expansion header
LED Ring
10/100 Ethernet(Opt. IEEE1588)
USB Host/Function
CAN transceiver
128 Mb PCM Memory
SD-Card
Application headerWiFi/Bluetooth
I2C/SPI Debug Connector
PMOD expansion
Graphics LCD
Digital sensorsTemp & Accel
User push buttons
POTVR1
MIC and amplifier
RS-232 Serial Port
Expansion header
RX63N100 pin
1MB Flash
© 2012 Renesas Electronics America Inc. All rights reserved.36
RDK Alliance PartnersSEGGER
J-Link
STAR Speaker
NDKCrystals
FDIPCB ASY
SEIKOSuperCap
REA CAN
MICRONPCM Memory
Gainspan/RedpineWifi cards
Total Phase Debug Connector
ADI/DigilentPMOD
OKAYA LCD
ADITemp sensor
ADI3D acc sensor
ADI MIC & amplifier
ADIAudio Amp
ADIRS-232
EXOSITECloud demoMICRIUM
RTOS- TCP/IP
© 2012 Renesas Electronics America Inc. All rights reserved.37
Web Support
Dedicated RX63N RDK landing page http://am.renesas.com/products/tools/introductory_evaluation_tools/renesas_demo_kits/yrdkrx63n/index.jsp
URL Shortcut www.renesas.com/RDKRX63N
© 2012 Renesas Electronics America Inc. All rights reserved.38
RX63N RDK Out-Of-The-Box Experience
Kit includes several software development tools on the DVD RX Renesas compiler (128KB limitation) HEW IDE IAR Embedded Workbench and compiler (32KB limitation) GNU KPIT compiler, compatible with HEW Project Generator
Dozens of sample projects and demo code Including factory demo and factory test suite. Several RTOS partners etc…
4 QuickStart Guides (Renesas, Micrium, IAR, Exosite) 2 USB cables (device and host) Debug USB with integrated J-LINK from Segger User USB with OTG, Host, device support
All reference design material (HW, SW) Factory demo featuring Exosite Portal and cloud connectivity
© 2012 Renesas Electronics America Inc. All rights reserved.39
RX63N RDK Exosite QSG
© 2012 Renesas Electronics America Inc. All rights reserved.40
RX63N RDK Exosite Factory Demo
PC
Wireless LAN
RX63N RDK
ExositePortal
LAN cable
Ethernet switch/hub
© 2012 Renesas Electronics America Inc. All rights reserved.41
Evaluation System Features R8C/36T-A (64-pin) Keys, Wheel, Slider LED Display Ambient light sensor Buzzer Current consumption
measurement E1 Debug Emulator CD containing:
– Touch API and sample application code
– Workbench Tool– Free 64KB C Compiler– Documentation
Wheel
Ordering Information:P/N: YR8C36TKIT01
Keys
Slider
www.am.renesas.com/capacitivetouch
E1 Debugger
Self-Contained Touch Evaluation SystemBoard Certified by TÜV Rheinland for
IEC/EN 61000-4-6 Compliance up to 15V (150kHz – 230MHz) !
© 2012 Renesas Electronics America Inc. All rights reserved.42
RDK Extension Capabilities (PMOD)
Up to 50 PMOD modules and growing (Digilent stock)
© 2012 Renesas Electronics America Inc. All rights reserved.43
The Renesas Ecosystem
© 2012 Renesas Electronics America Inc. All rights reserved.44
The Renesas Ecosystem
Long-term customer support programs
© 2012 Renesas Electronics America Inc. All rights reserved.45
Updated RX Family Renesas Interactive Module On-line training about the RX
Family Outline
RX Family key benefits Roadmap, Benchmarks Technology advantages Development tools and ecosystem
http://www.renesasinteractive.com/course/category.php?id=23
© 2012 Renesas Electronics America Inc. All rights reserved.46
Embedded Systems textbook
Based on the 32-Bit RX62N
Examples work with the RX62N RDK / QSK
Support site includes all software
Available in PDF or hardcopy
PDFs are free at: http://am.renesas.com/support/books/
Hardcopies free to educators
Hardcopies also available on Amazon.com
Written by professors at NC State and UNC
The RX Embedded Systems Textbook
© 2012 Renesas Electronics America Inc. All rights reserved.47
Low Power Embedded Systems textbook
Based on the 16-Bit RL78G13
Examples work with the RL78G13 RDK / QSK
Support site includes all software
Available in PDF or hardcopy
PDFs are free at: http://am.renesas.com/support/books/
Hardcopies free to educators
Hardcopies also available on Amazon.com
Written by professors at UNC and NC State
The RL78 Embedded Systems Textbook
© 2012 Renesas Electronics America Inc. All rights reserved.48
Micrium Books
Platinum partner Micrium thinks Renesas first! Micrium is a Renesas Platinum partner All books available in PDF or hardcopy PDFs are free at: http://am.renesas.com/support/books/ Limited hardcopies on promotion and request Hardcopies also available on Amazon.com
All code available online Included on the RDK CDs Open for hobby, research, and education use Fee for commercial use
Available books: Micrium uC/OS-III featuring RX Micrium uC/TCP-IP featuring RX Micrium uC/OS-III featuring SH2A Micrium uC/TCP-IP featuring SH2A Micrium uC/USB featuring RX
© 2012 Renesas Electronics America Inc. All rights reserved.49
Summary
IDE
C-CompilerAssembler
Linker
Debugging Software
(usually part of IDE)
Debugging Hardware / Emulator
Target Board
+ 3rd parties
Code Generator
Driver Libraries /
Sample Code
RTOS and Middleware
Programming SW and HW
© 2012 Renesas Electronics America Inc. All rights reserved.50
Questions?
© 2012 Renesas Electronics America Inc. All rights reserved.51
Challenge: “MCUs continue to become more complex especially when creating applications to enable the Smart Society, and therefore the Software becomes more complex as well. However, project schedules do not always scale accordingly.”
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.”
‘Enabling The Smart Society’ in Review…
Renesas Electronics America Inc.© 2012 Renesas Electronics America Inc. All rights reserved.