422l:introduction to the.net micro framework julie trygstad vice president and principal engineer...
TRANSCRIPT
![Page 1: 422L:Introduction to the.NET Micro Framework Julie Trygstad Vice President and Principal Engineer Version: 1.1 TrygTech 13 October 2010](https://reader035.vdocument.in/reader035/viewer/2022081603/56649e375503460f94b271f6/html5/thumbnails/1.jpg)
422L: Introduction to the .NET Micro Framework
Julie Trygstad
Vice President and Principal Engineer
Version: 1.1
TrygTech
13 October 2010
![Page 2: 422L:Introduction to the.NET Micro Framework Julie Trygstad Vice President and Principal Engineer Version: 1.1 TrygTech 13 October 2010](https://reader035.vdocument.in/reader035/viewer/2022081603/56649e375503460f94b271f6/html5/thumbnails/2.jpg)
Julie Trygstad
VP of Engineering and Principal Engineer
BSc Computer Science, University of Durham, UK
CompTIA Certified Technical Trainer Over 15 years of embedded software
engineering experience
TrygTechHigh Performance Designs
Fast Time-To-Market
Low Development Costs
2
![Page 3: 422L:Introduction to the.NET Micro Framework Julie Trygstad Vice President and Principal Engineer Version: 1.1 TrygTech 13 October 2010](https://reader035.vdocument.in/reader035/viewer/2022081603/56649e375503460f94b271f6/html5/thumbnails/3.jpg)
Renesas Technology and Solution Portfolio
Microcontrollers& Microprocessors
#1 Market shareworldwide *
Analog andPower Devices#1 Market share
in low-voltageMOSFET**
Solutionsfor
Innovation
Solutionsfor
InnovationASIC, ASSP& Memory
Advanced and proven technologies
* 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).
![Page 4: 422L:Introduction to the.NET Micro Framework Julie Trygstad Vice President and Principal Engineer Version: 1.1 TrygTech 13 October 2010](https://reader035.vdocument.in/reader035/viewer/2022081603/56649e375503460f94b271f6/html5/thumbnails/4.jpg)
Renesas Technology and Solution Portfolio
Microcontrollers& Microprocessors
#1 Market shareworldwide *
Analog andPower Devices#1 Market share
in low-voltageMOSFET**
ASIC, ASSP& Memory
Advanced and proven technologies
* 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).
Solutionsfor
Innovation
Solutionsfor
Innovation
![Page 5: 422L:Introduction to the.NET Micro Framework Julie Trygstad Vice President and Principal Engineer Version: 1.1 TrygTech 13 October 2010](https://reader035.vdocument.in/reader035/viewer/2022081603/56649e375503460f94b271f6/html5/thumbnails/5.jpg)
.NET Micro Framework
5
VAVE50 Universal Remote Control
Controls up to 24 A/V devicesLearningLarge library of codesMacrosFavorite ChannelsIconic
![Page 6: 422L:Introduction to the.NET Micro Framework Julie Trygstad Vice President and Principal Engineer Version: 1.1 TrygTech 13 October 2010](https://reader035.vdocument.in/reader035/viewer/2022081603/56649e375503460f94b271f6/html5/thumbnails/6.jpg)
6
![Page 7: 422L:Introduction to the.NET Micro Framework Julie Trygstad Vice President and Principal Engineer Version: 1.1 TrygTech 13 October 2010](https://reader035.vdocument.in/reader035/viewer/2022081603/56649e375503460f94b271f6/html5/thumbnails/7.jpg)
7
Innovation
Use intelligence from the smart grid and home sensors to:• Take advantage of “time-of-use” pricing• Lower overall energy demand• Integrate green energy sources
![Page 8: 422L:Introduction to the.NET Micro Framework Julie Trygstad Vice President and Principal Engineer Version: 1.1 TrygTech 13 October 2010](https://reader035.vdocument.in/reader035/viewer/2022081603/56649e375503460f94b271f6/html5/thumbnails/8.jpg)
8
Agenda
Lab
Setup
Console Application
User Interface Controls
Porting Kit
Adding Touch
DPWS
Q&A
![Page 9: 422L:Introduction to the.NET Micro Framework Julie Trygstad Vice President and Principal Engineer Version: 1.1 TrygTech 13 October 2010](https://reader035.vdocument.in/reader035/viewer/2022081603/56649e375503460f94b271f6/html5/thumbnails/9.jpg)
9
.NET Micro Framework
Embedded applications using Visual Studio and C#
Large pool of existing .NET developers Rapid Prototyping
![Page 10: 422L:Introduction to the.NET Micro Framework Julie Trygstad Vice President and Principal Engineer Version: 1.1 TrygTech 13 October 2010](https://reader035.vdocument.in/reader035/viewer/2022081603/56649e375503460f94b271f6/html5/thumbnails/10.jpg)
.NET Micro Framework
10
![Page 11: 422L:Introduction to the.NET Micro Framework Julie Trygstad Vice President and Principal Engineer Version: 1.1 TrygTech 13 October 2010](https://reader035.vdocument.in/reader035/viewer/2022081603/56649e375503460f94b271f6/html5/thumbnails/11.jpg)
Architecture
11
User CodeSystem Libraries
TinyCLR
![Page 12: 422L:Introduction to the.NET Micro Framework Julie Trygstad Vice President and Principal Engineer Version: 1.1 TrygTech 13 October 2010](https://reader035.vdocument.in/reader035/viewer/2022081603/56649e375503460f94b271f6/html5/thumbnails/12.jpg)
Architecture
12
User CodeApp1 App 2 App 3
System LibrariesWPF ……
TinyCLRPAL
HAL
CLR
![Page 13: 422L:Introduction to the.NET Micro Framework Julie Trygstad Vice President and Principal Engineer Version: 1.1 TrygTech 13 October 2010](https://reader035.vdocument.in/reader035/viewer/2022081603/56649e375503460f94b271f6/html5/thumbnails/13.jpg)
13
![Page 14: 422L:Introduction to the.NET Micro Framework Julie Trygstad Vice President and Principal Engineer Version: 1.1 TrygTech 13 October 2010](https://reader035.vdocument.in/reader035/viewer/2022081603/56649e375503460f94b271f6/html5/thumbnails/14.jpg)
Tools and Development Environment
Visual Studio 2010 .NETMF SDK The .NETMF Porting Kit HEW Tools The .NETMF Cryptographic Libraries The .NETMF TCP/IP and SSL Libraries
14
![Page 15: 422L:Introduction to the.NET Micro Framework Julie Trygstad Vice President and Principal Engineer Version: 1.1 TrygTech 13 October 2010](https://reader035.vdocument.in/reader035/viewer/2022081603/56649e375503460f94b271f6/html5/thumbnails/15.jpg)
Trying .NET MF is as easy as….
15
![Page 16: 422L:Introduction to the.NET Micro Framework Julie Trygstad Vice President and Principal Engineer Version: 1.1 TrygTech 13 October 2010](https://reader035.vdocument.in/reader035/viewer/2022081603/56649e375503460f94b271f6/html5/thumbnails/16.jpg)
Visual Studio 2010
16
![Page 17: 422L:Introduction to the.NET Micro Framework Julie Trygstad Vice President and Principal Engineer Version: 1.1 TrygTech 13 October 2010](https://reader035.vdocument.in/reader035/viewer/2022081603/56649e375503460f94b271f6/html5/thumbnails/17.jpg)
Renesas
SH7264 Ethernet VGA Touch screen
17
![Page 18: 422L:Introduction to the.NET Micro Framework Julie Trygstad Vice President and Principal Engineer Version: 1.1 TrygTech 13 October 2010](https://reader035.vdocument.in/reader035/viewer/2022081603/56649e375503460f94b271f6/html5/thumbnails/18.jpg)
18
Lab Time!
Keep your dice turned to the section of the lab you are on. (Instructionsare provided in the lab handout)
Please refer to the Lab Handout and let’s get started!
![Page 19: 422L:Introduction to the.NET Micro Framework Julie Trygstad Vice President and Principal Engineer Version: 1.1 TrygTech 13 October 2010](https://reader035.vdocument.in/reader035/viewer/2022081603/56649e375503460f94b271f6/html5/thumbnails/19.jpg)
19
Checking Progress
We are using the die to keep track of where everyone is in the lab. Make sure to update it as you change sections.
When done with the lab, your die will have the 6 pointing up as shown here.
![Page 20: 422L:Introduction to the.NET Micro Framework Julie Trygstad Vice President and Principal Engineer Version: 1.1 TrygTech 13 October 2010](https://reader035.vdocument.in/reader035/viewer/2022081603/56649e375503460f94b271f6/html5/thumbnails/20.jpg)
20
Lab #1: Your First Application
Connect HardwareCreate Console ApplicationHello World!
![Page 21: 422L:Introduction to the.NET Micro Framework Julie Trygstad Vice President and Principal Engineer Version: 1.1 TrygTech 13 October 2010](https://reader035.vdocument.in/reader035/viewer/2022081603/56649e375503460f94b271f6/html5/thumbnails/21.jpg)
Use Visual Studio to set breakpoints
21
Debugger
![Page 22: 422L:Introduction to the.NET Micro Framework Julie Trygstad Vice President and Principal Engineer Version: 1.1 TrygTech 13 October 2010](https://reader035.vdocument.in/reader035/viewer/2022081603/56649e375503460f94b271f6/html5/thumbnails/22.jpg)
22
Lab #2: Debugger
Set breakpointsView debugging tools
![Page 23: 422L:Introduction to the.NET Micro Framework Julie Trygstad Vice President and Principal Engineer Version: 1.1 TrygTech 13 October 2010](https://reader035.vdocument.in/reader035/viewer/2022081603/56649e375503460f94b271f6/html5/thumbnails/23.jpg)
Using the CLR
Numeric Types Class Types Value Types Arrays Delegates Events References Weak References
23
![Page 24: 422L:Introduction to the.NET Micro Framework Julie Trygstad Vice President and Principal Engineer Version: 1.1 TrygTech 13 October 2010](https://reader035.vdocument.in/reader035/viewer/2022081603/56649e375503460f94b271f6/html5/thumbnails/24.jpg)
24
Lab #3: Exploring the class libraries
Use the class libraries to query system
Project References
![Page 25: 422L:Introduction to the.NET Micro Framework Julie Trygstad Vice President and Principal Engineer Version: 1.1 TrygTech 13 October 2010](https://reader035.vdocument.in/reader035/viewer/2022081603/56649e375503460f94b271f6/html5/thumbnails/25.jpg)
Event Handling
UIElement virtual methods:ButtonsTouchFocus
NativeEventHandler
25
![Page 26: 422L:Introduction to the.NET Micro Framework Julie Trygstad Vice President and Principal Engineer Version: 1.1 TrygTech 13 October 2010](https://reader035.vdocument.in/reader035/viewer/2022081603/56649e375503460f94b271f6/html5/thumbnails/26.jpg)
26
Lab #4: Event Handling
User input and events
![Page 27: 422L:Introduction to the.NET Micro Framework Julie Trygstad Vice President and Principal Engineer Version: 1.1 TrygTech 13 October 2010](https://reader035.vdocument.in/reader035/viewer/2022081603/56649e375503460f94b271f6/html5/thumbnails/27.jpg)
User Interface
WPF Input Presentation Presentation.Controls Presentation.Media Presentation.Shapes
27
![Page 28: 422L:Introduction to the.NET Micro Framework Julie Trygstad Vice President and Principal Engineer Version: 1.1 TrygTech 13 October 2010](https://reader035.vdocument.in/reader035/viewer/2022081603/56649e375503460f94b271f6/html5/thumbnails/28.jpg)
User Interface Controls
StackPanelCanvasBrushesBordersShapesText
28
![Page 29: 422L:Introduction to the.NET Micro Framework Julie Trygstad Vice President and Principal Engineer Version: 1.1 TrygTech 13 October 2010](https://reader035.vdocument.in/reader035/viewer/2022081603/56649e375503460f94b271f6/html5/thumbnails/29.jpg)
29
Lab #5: User Interface Controls
Revisit Hello World Add UI elements
![Page 30: 422L:Introduction to the.NET Micro Framework Julie Trygstad Vice President and Principal Engineer Version: 1.1 TrygTech 13 October 2010](https://reader035.vdocument.in/reader035/viewer/2022081603/56649e375503460f94b271f6/html5/thumbnails/30.jpg)
Porting Kit
TinyBooterPortBooterNativeSampleTinyCLR
30
![Page 31: 422L:Introduction to the.NET Micro Framework Julie Trygstad Vice President and Principal Engineer Version: 1.1 TrygTech 13 October 2010](https://reader035.vdocument.in/reader035/viewer/2022081603/56649e375503460f94b271f6/html5/thumbnails/31.jpg)
MSBuild
<Assemblyname>.PE<SPOClient>\Solutions\
SH7264_RSK.settingsDotnetmf.proj<AssemblyName>.FeatureProj
31
![Page 32: 422L:Introduction to the.NET Micro Framework Julie Trygstad Vice President and Principal Engineer Version: 1.1 TrygTech 13 October 2010](https://reader035.vdocument.in/reader035/viewer/2022081603/56649e375503460f94b271f6/html5/thumbnails/32.jpg)
HEW Tools
High-performance Embedded Workshop
GUI-based development environment
E10A-USB Emulator support
32
![Page 33: 422L:Introduction to the.NET Micro Framework Julie Trygstad Vice President and Principal Engineer Version: 1.1 TrygTech 13 October 2010](https://reader035.vdocument.in/reader035/viewer/2022081603/56649e375503460f94b271f6/html5/thumbnails/33.jpg)
33
Lab #6: Porting Kit – building and deploying the TinyCLR
Build image with porting kit Adding/Removing
components in makefile Using HEW to download and
flash
![Page 34: 422L:Introduction to the.NET Micro Framework Julie Trygstad Vice President and Principal Engineer Version: 1.1 TrygTech 13 October 2010](https://reader035.vdocument.in/reader035/viewer/2022081603/56649e375503460f94b271f6/html5/thumbnails/34.jpg)
34
Lab #7: TinyCLR – adding components to the TinyCLR
Add Touch assemblies
![Page 35: 422L:Introduction to the.NET Micro Framework Julie Trygstad Vice President and Principal Engineer Version: 1.1 TrygTech 13 October 2010](https://reader035.vdocument.in/reader035/viewer/2022081603/56649e375503460f94b271f6/html5/thumbnails/35.jpg)
TinyBooter
Update strategiesMaintenanceDevelopment
35
![Page 36: 422L:Introduction to the.NET Micro Framework Julie Trygstad Vice President and Principal Engineer Version: 1.1 TrygTech 13 October 2010](https://reader035.vdocument.in/reader035/viewer/2022081603/56649e375503460f94b271f6/html5/thumbnails/36.jpg)
36
Lab #8: Adding Touch to Applications
Revisit Hello World Add touch support
![Page 37: 422L:Introduction to the.NET Micro Framework Julie Trygstad Vice President and Principal Engineer Version: 1.1 TrygTech 13 October 2010](https://reader035.vdocument.in/reader035/viewer/2022081603/56649e375503460f94b271f6/html5/thumbnails/37.jpg)
DPWS
Discovery versus Probing Message Exchanges SOAP Event Sources and Event Sinks Services Clients
37
![Page 38: 422L:Introduction to the.NET Micro Framework Julie Trygstad Vice President and Principal Engineer Version: 1.1 TrygTech 13 October 2010](https://reader035.vdocument.in/reader035/viewer/2022081603/56649e375503460f94b271f6/html5/thumbnails/38.jpg)
Message Exchanges
38
![Page 39: 422L:Introduction to the.NET Micro Framework Julie Trygstad Vice President and Principal Engineer Version: 1.1 TrygTech 13 October 2010](https://reader035.vdocument.in/reader035/viewer/2022081603/56649e375503460f94b271f6/html5/thumbnails/39.jpg)
39
Lab #9: Creating your own class libraries
Small class library utility
![Page 40: 422L:Introduction to the.NET Micro Framework Julie Trygstad Vice President and Principal Engineer Version: 1.1 TrygTech 13 October 2010](https://reader035.vdocument.in/reader035/viewer/2022081603/56649e375503460f94b271f6/html5/thumbnails/40.jpg)
40
Lab #10: DPWS: Hello World Client
![Page 41: 422L:Introduction to the.NET Micro Framework Julie Trygstad Vice President and Principal Engineer Version: 1.1 TrygTech 13 October 2010](https://reader035.vdocument.in/reader035/viewer/2022081603/56649e375503460f94b271f6/html5/thumbnails/41.jpg)
41
Lab #11: Simple Service
![Page 42: 422L:Introduction to the.NET Micro Framework Julie Trygstad Vice President and Principal Engineer Version: 1.1 TrygTech 13 October 2010](https://reader035.vdocument.in/reader035/viewer/2022081603/56649e375503460f94b271f6/html5/thumbnails/42.jpg)
42
Lab #12: Putting It All Together
![Page 43: 422L:Introduction to the.NET Micro Framework Julie Trygstad Vice President and Principal Engineer Version: 1.1 TrygTech 13 October 2010](https://reader035.vdocument.in/reader035/viewer/2022081603/56649e375503460f94b271f6/html5/thumbnails/43.jpg)
Further Reading
Expert .NET Micro Framework, Jens KühnerISBN: 1430223870
Embedded Programming with the Microsoft .NET Micro Framework, Donald ThompsonISBN: 0735623651
43
![Page 44: 422L:Introduction to the.NET Micro Framework Julie Trygstad Vice President and Principal Engineer Version: 1.1 TrygTech 13 October 2010](https://reader035.vdocument.in/reader035/viewer/2022081603/56649e375503460f94b271f6/html5/thumbnails/44.jpg)
Websites
www.netmf.comhttp://www.microsoft.com/do
wnloads/en/default.aspx
http://renesasrulz.com
http://www.trygtech.com
44
![Page 45: 422L:Introduction to the.NET Micro Framework Julie Trygstad Vice President and Principal Engineer Version: 1.1 TrygTech 13 October 2010](https://reader035.vdocument.in/reader035/viewer/2022081603/56649e375503460f94b271f6/html5/thumbnails/45.jpg)
45
Innovation
Use intelligence from the smart grid and home sensors to:• Take advantage of “time-of-use” pricing• Lower overall energy demand• Integrate green energy sources
![Page 46: 422L:Introduction to the.NET Micro Framework Julie Trygstad Vice President and Principal Engineer Version: 1.1 TrygTech 13 October 2010](https://reader035.vdocument.in/reader035/viewer/2022081603/56649e375503460f94b271f6/html5/thumbnails/46.jpg)
Thank You
![Page 47: 422L:Introduction to the.NET Micro Framework Julie Trygstad Vice President and Principal Engineer Version: 1.1 TrygTech 13 October 2010](https://reader035.vdocument.in/reader035/viewer/2022081603/56649e375503460f94b271f6/html5/thumbnails/47.jpg)