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

Post on 13-Apr-2018

224 views 3 download

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

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

© 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

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

Renesas Technology & Solution Portfolio

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

Introduction

Architecture

Tools

CLR

User Interface

Event Handling

Features

Lab Time

Summary

Agenda

© 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

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

© 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

© 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

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

Architecture

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

Architecture

User Code

System Libraries

TinyCLR

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

Architecture

User Code App1 App 2 App 3

System Libraries WPF … …

TinyCLR PAL

HAL

CLR

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

Trying .NET MF is as easy as….

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

Visual Studio 2010

.NETMF SDK

The .NETMF Porting Kit

HEW Tools

Tools and Development Environment

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

Numeric Types

Class Types

Value Types

Arrays

Delegates

Events

References

Weak References

Using the CLR

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

WPF

Input

Presentation

Presentation.Controls

Presentation.Media

Presentation.Shapes

User Interface

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

StackPanel

Canvas

Brushes

Borders

Shapes

Text

User Interface Controls

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

UIElement virtual methods:

OnButtonUp

OnButtonDown

e.Handled = true;

Button Handling

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

TinyBooter

PortBooter

NativeSample

TinyCLR

Porting Kit

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

Porting Kit

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

<Assemblyname>.PE

<SPOClient>\Solutions\SH7264_RSK.settings

Dotnetmf.proj

<AssemblyName>.FeatureProj

MSBuild

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

High-performance Embedded Workshop

GUI-based development environment

E10A-USB Emulator support

HEW Tools

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

Networking

Wireless

Two TCP/IP stacks:

RTIP

lwIP

XML

.NET Micro Framework Features

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

Messaging

Discovery

Description

Eventing

DPWS

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

SH7264 RSK

Ethernet

VGA

Touch screen

Renesas

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

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

Lab Time!

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

Introduction

Architecture

Tools

CLR

User Interface

Event Handling

Features

Lab Time

Summary

Summary

© 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

© 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

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

Questions?

© 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…

Renesas Electronics America Inc.

© 2012 Renesas Electronics America Inc. All rights reserved.