Introduction to the .NET Micro Framework · Expert .NET Micro Framework, Jens Kühner ISBN:...

31
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: Class ID: Introduction to the .NET Micro Framework Julie Trygstad, Vice President and Principal Engineer TrygTech 9L07I

Transcript of Introduction to the .NET Micro Framework · Expert .NET Micro Framework, Jens Kühner ISBN:...

Page 1: Introduction to the .NET Micro Framework · Expert .NET Micro Framework, Jens Kühner ISBN: 1430223870 Embedded Programming with the Microsoft .NET Micro Framework, Donald Thompson

Renesas Electronics America Inc.

© 2012 Renesas Electronics America Inc. All rights reserved.

Class ID: Class ID:

Introduction to the .NET Micro Framework Julie Trygstad, Vice President and Principal Engineer

TrygTech

9L07I

Page 2: Introduction to the .NET Micro Framework · Expert .NET Micro Framework, Jens Kühner ISBN: 1430223870 Embedded Programming with the Microsoft .NET Micro Framework, Donald Thompson

© 2012 Renesas Electronics America Inc. All rights reserved. 2

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

TrygTech

High Performance Designs

Fast Time-To-Market

Low Development Costs

Julie Trygstad

Page 3: Introduction to the .NET Micro Framework · Expert .NET Micro Framework, Jens Kühner ISBN: 1430223870 Embedded Programming with the Microsoft .NET Micro Framework, Donald Thompson

© 2012 Renesas Electronics America Inc. All rights reserved. 3

Renesas Technology & Solution Portfolio

Page 4: Introduction to the .NET Micro Framework · Expert .NET Micro Framework, Jens Kühner ISBN: 1430223870 Embedded Programming with the Microsoft .NET Micro Framework, Donald Thompson

© 2012 Renesas Electronics America Inc. All rights reserved. 4

Introduction

Architecture

Tools

CLR

User Interface

Event Handling

Features

Lab Time

Summary

Agenda

Page 5: Introduction to the .NET Micro Framework · Expert .NET Micro Framework, Jens Kühner ISBN: 1430223870 Embedded Programming with the Microsoft .NET Micro Framework, Donald Thompson

© 2012 Renesas Electronics America Inc. All rights reserved. 5

VAVE50 Universal Remote Control

Controls up to 24 A/V devices

Learning

Large library of codes

Macros

Favorite Channels

Iconic

Introduction - .NET Micro Framework

Page 6: Introduction to the .NET Micro Framework · Expert .NET Micro Framework, Jens Kühner ISBN: 1430223870 Embedded Programming with the Microsoft .NET Micro Framework, Donald Thompson

© 2012 Renesas Electronics America Inc. All rights reserved. 6

Page 7: Introduction to the .NET Micro Framework · Expert .NET Micro Framework, Jens Kühner ISBN: 1430223870 Embedded Programming with the Microsoft .NET Micro Framework, Donald Thompson

© 2012 Renesas Electronics America Inc. All rights reserved. 7

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

Innovation

Page 8: Introduction to the .NET Micro Framework · Expert .NET Micro Framework, Jens Kühner ISBN: 1430223870 Embedded Programming with the Microsoft .NET Micro Framework, Donald Thompson

© 2012 Renesas Electronics America Inc. All rights reserved. 8

Embedded applications using Visual Studio and C#

Large pool of existing .NET developers

Rapid Prototyping

Focused on being small and efficient while in a managed code environment

.NET Micro Framework

Page 9: Introduction to the .NET Micro Framework · Expert .NET Micro Framework, Jens Kühner ISBN: 1430223870 Embedded Programming with the Microsoft .NET Micro Framework, Donald Thompson

© 2012 Renesas Electronics America Inc. All rights reserved. 9

Architecture

Page 10: Introduction to the .NET Micro Framework · Expert .NET Micro Framework, Jens Kühner ISBN: 1430223870 Embedded Programming with the Microsoft .NET Micro Framework, Donald Thompson

© 2012 Renesas Electronics America Inc. All rights reserved. 10

Architecture

User Code

System Libraries

TinyCLR

Page 11: Introduction to the .NET Micro Framework · Expert .NET Micro Framework, Jens Kühner ISBN: 1430223870 Embedded Programming with the Microsoft .NET Micro Framework, Donald Thompson

© 2012 Renesas Electronics America Inc. All rights reserved. 11

Architecture

User Code App1 App 2 App 3

System Libraries WPF … …

TinyCLR PAL

HAL

CLR

Page 12: Introduction to the .NET Micro Framework · Expert .NET Micro Framework, Jens Kühner ISBN: 1430223870 Embedded Programming with the Microsoft .NET Micro Framework, Donald Thompson

© 2012 Renesas Electronics America Inc. All rights reserved. 12

Trying .NET MF is as easy as….

Page 13: Introduction to the .NET Micro Framework · Expert .NET Micro Framework, Jens Kühner ISBN: 1430223870 Embedded Programming with the Microsoft .NET Micro Framework, Donald Thompson

© 2012 Renesas Electronics America Inc. All rights reserved. 13

Visual Studio 2010

.NETMF SDK

The .NETMF Porting Kit

HEW Tools

Tools and Development Environment

Page 14: Introduction to the .NET Micro Framework · Expert .NET Micro Framework, Jens Kühner ISBN: 1430223870 Embedded Programming with the Microsoft .NET Micro Framework, Donald Thompson

© 2012 Renesas Electronics America Inc. All rights reserved. 14

Numeric Types

Class Types

Value Types

Arrays

Delegates

Events

References

Weak References

Using the CLR

Page 15: Introduction to the .NET Micro Framework · Expert .NET Micro Framework, Jens Kühner ISBN: 1430223870 Embedded Programming with the Microsoft .NET Micro Framework, Donald Thompson

© 2012 Renesas Electronics America Inc. All rights reserved. 15

WPF

Input

Presentation

Presentation.Controls

Presentation.Media

Presentation.Shapes

User Interface

Page 16: Introduction to the .NET Micro Framework · Expert .NET Micro Framework, Jens Kühner ISBN: 1430223870 Embedded Programming with the Microsoft .NET Micro Framework, Donald Thompson

© 2012 Renesas Electronics America Inc. All rights reserved. 16

StackPanel

Canvas

Brushes

Borders

Shapes

Text

User Interface Controls

Page 17: Introduction to the .NET Micro Framework · Expert .NET Micro Framework, Jens Kühner ISBN: 1430223870 Embedded Programming with the Microsoft .NET Micro Framework, Donald Thompson

© 2012 Renesas Electronics America Inc. All rights reserved. 17

UIElement virtual methods:

OnButtonUp

OnButtonDown

e.Handled = true;

Button Handling

Page 18: Introduction to the .NET Micro Framework · Expert .NET Micro Framework, Jens Kühner ISBN: 1430223870 Embedded Programming with the Microsoft .NET Micro Framework, Donald Thompson

© 2012 Renesas Electronics America Inc. All rights reserved. 18

TinyBooter

PortBooter

NativeSample

TinyCLR

Porting Kit

Page 19: Introduction to the .NET Micro Framework · Expert .NET Micro Framework, Jens Kühner ISBN: 1430223870 Embedded Programming with the Microsoft .NET Micro Framework, Donald Thompson

© 2012 Renesas Electronics America Inc. All rights reserved. 19

Porting Kit

Page 20: Introduction to the .NET Micro Framework · Expert .NET Micro Framework, Jens Kühner ISBN: 1430223870 Embedded Programming with the Microsoft .NET Micro Framework, Donald Thompson

© 2012 Renesas Electronics America Inc. All rights reserved. 20

<Assemblyname>.PE

<SPOClient>\Solutions\SH7264_RSK.settings

Dotnetmf.proj

<AssemblyName>.FeatureProj

MSBuild

Page 21: Introduction to the .NET Micro Framework · Expert .NET Micro Framework, Jens Kühner ISBN: 1430223870 Embedded Programming with the Microsoft .NET Micro Framework, Donald Thompson

© 2012 Renesas Electronics America Inc. All rights reserved. 21

High-performance Embedded Workshop

GUI-based development environment

E10A-USB Emulator support

HEW Tools

Page 22: Introduction to the .NET Micro Framework · Expert .NET Micro Framework, Jens Kühner ISBN: 1430223870 Embedded Programming with the Microsoft .NET Micro Framework, Donald Thompson

© 2012 Renesas Electronics America Inc. All rights reserved. 22

Networking

Wireless

Two TCP/IP stacks:

RTIP

lwIP

XML

.NET Micro Framework Features

Page 23: Introduction to the .NET Micro Framework · Expert .NET Micro Framework, Jens Kühner ISBN: 1430223870 Embedded Programming with the Microsoft .NET Micro Framework, Donald Thompson

© 2012 Renesas Electronics America Inc. All rights reserved. 23

Messaging

Discovery

Description

Eventing

DPWS

Page 24: Introduction to the .NET Micro Framework · Expert .NET Micro Framework, Jens Kühner ISBN: 1430223870 Embedded Programming with the Microsoft .NET Micro Framework, Donald Thompson

© 2012 Renesas Electronics America Inc. All rights reserved. 24

SH7264 RSK

Ethernet

VGA

Touch screen

Renesas

Page 25: Introduction to the .NET Micro Framework · Expert .NET Micro Framework, Jens Kühner ISBN: 1430223870 Embedded Programming with the Microsoft .NET Micro Framework, Donald Thompson

© 2012 Renesas Electronics America Inc. All rights reserved. 25

Please refer to the Lab Handout and let’s get started!

Lab Time!

Page 26: Introduction to the .NET Micro Framework · Expert .NET Micro Framework, Jens Kühner ISBN: 1430223870 Embedded Programming with the Microsoft .NET Micro Framework, Donald Thompson

© 2012 Renesas Electronics America Inc. All rights reserved. 26

Introduction

Architecture

Tools

CLR

User Interface

Event Handling

Features

Lab Time

Summary

Summary

Page 27: Introduction to the .NET Micro Framework · Expert .NET Micro Framework, Jens Kühner ISBN: 1430223870 Embedded Programming with the Microsoft .NET Micro Framework, Donald Thompson

© 2012 Renesas Electronics America Inc. All rights reserved. 27

Expert .NET Micro Framework, Jens Kühner

ISBN: 1430223870

Embedded Programming with the Microsoft .NET Micro Framework, Donald Thompson

ISBN: 0735623651

Further Reading

Page 28: Introduction to the .NET Micro Framework · Expert .NET Micro Framework, Jens Kühner ISBN: 1430223870 Embedded Programming with the Microsoft .NET Micro Framework, Donald Thompson

© 2012 Renesas Electronics America Inc. All rights reserved. 28

http://www.netmf.com

http://www.microsoft.com/downloads/en/default.aspx

http://renesasrulz.com

http://www.trygtech.com/downloads

Websites

Page 29: Introduction to the .NET Micro Framework · Expert .NET Micro Framework, Jens Kühner ISBN: 1430223870 Embedded Programming with the Microsoft .NET Micro Framework, Donald Thompson

© 2012 Renesas Electronics America Inc. All rights reserved. 29

Questions?

Page 30: Introduction to the .NET Micro Framework · Expert .NET Micro Framework, Jens Kühner ISBN: 1430223870 Embedded Programming with the Microsoft .NET Micro Framework, Donald Thompson

© 2012 Renesas Electronics America Inc. All rights reserved. 30

Please utilize the ‘Guidebook’ application to leave feedback

or

Ask me for the paper feedback form for you to use…

Please Provide Your Feedback…

Page 31: Introduction to the .NET Micro Framework · Expert .NET Micro Framework, Jens Kühner ISBN: 1430223870 Embedded Programming with the Microsoft .NET Micro Framework, Donald Thompson

Renesas Electronics America Inc.

© 2012 Renesas Electronics America Inc. All rights reserved.