1 / 47

422L: Introduction to the .NET Micro Framework

422L: Introduction to the .NET Micro Framework. TrygTech. Julie Trygstad. Vice President and Principal Engineer. 13 October 2010. Version: 1.1. Julie Trygstad. VP of Engineering and Principal Engineer BSc Computer Science, University of Durham, UK CompTIA Certified Technical Trainer

simone
Télécharger la présentation

422L: Introduction to the .NET Micro Framework

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 422L: Introduction to the .NET Micro Framework TrygTech Julie Trygstad Vice President and Principal Engineer 13 October 2010 Version: 1.1

  2. 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 • TrygTech • High Performance Designs • Fast Time-To-Market • Low Development Costs

  3. Renesas Technology and Solution Portfolio Microcontrollers& Microprocessors#1 Market shareworldwide * SolutionsforInnovation Analog andPower Devices#1 Market sharein low-voltageMOSFET** ASIC, ASSP& MemoryAdvanced 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).

  4. Renesas Technology and Solution Portfolio Microcontrollers& Microprocessors#1 Market shareworldwide * SolutionsforInnovation Analog andPower Devices#1 Market sharein low-voltageMOSFET** ASIC, ASSP& MemoryAdvanced 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).

  5. .NET Micro Framework VAVE50 Universal Remote Control Controls up to 24 A/V devices Learning Large library of codes Macros Favorite Channels Iconic

  6. 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

  7. Agenda Lab Setup Console Application User Interface Controls Porting Kit Adding Touch DPWS Q&A

  8. .NET Micro Framework Embedded applications using Visual Studio and C# Large pool of existing .NET developers Rapid Prototyping

  9. .NET Micro Framework

  10. Architecture User Code System Libraries TinyCLR

  11. Architecture User Code App 2 App 3 App1 System Libraries … … WPF CLR TinyCLR PAL HAL

  12. 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

  13. Trying .NET MF is as easy as…. 1 2 3

  14. Visual Studio 2010

  15. Renesas SH7264 Ethernet VGA Touch screen

  16. 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!

  17. 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.

  18. Lab #1: Your First Application Connect Hardware Create Console Application Hello World!

  19. Debugger Use Visual Studio to set breakpoints

  20. Lab #2: Debugger Set breakpoints View debugging tools

  21. Using the CLR Numeric Types Class Types Value Types Arrays Delegates Events References Weak References

  22. Lab #3: Exploring the class libraries Use the class libraries to query system Project References

  23. Event Handling • UIElement virtual methods: • Buttons • Touch • Focus • NativeEventHandler

  24. Lab #4: Event Handling • User input and events

  25. User Interface WPF Input Presentation Presentation.Controls Presentation.Media Presentation.Shapes

  26. User Interface Controls StackPanel Canvas Brushes Borders Shapes Text

  27. Lab #5: User Interface Controls • Revisit Hello World • Add UI elements

  28. Porting Kit TinyBooter PortBooter NativeSample TinyCLR

  29. MSBuild <Assemblyname>.PE <SPOClient>\Solutions\SH7264_RSK.settings Dotnetmf.proj <AssemblyName>.FeatureProj

  30. HEW Tools High-performance Embedded Workshop GUI-based development environment E10A-USB Emulator support

  31. 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

  32. Lab #7: TinyCLR – adding components to the TinyCLR • Add Touch assemblies

  33. TinyBooter Update strategies Maintenance Development

  34. Lab #8: Adding Touch to Applications • Revisit Hello World • Add touch support

  35. DPWS Discovery versus Probing Message Exchanges SOAP Event Sources and Event Sinks Services Clients

  36. Message Exchanges

  37. Lab #9: Creating your own class libraries • Small class library utility

  38. Lab #10: DPWS: Hello World Client

  39. Lab #11: Simple Service

  40. Lab #12: Putting It All Together

  41. Further Reading • Expert .NET Micro Framework, Jens Kühner • ISBN: 1430223870 • Embedded Programming with the Microsoft .NET Micro Framework, Donald Thompson • ISBN: 0735623651

  42. Websites www.netmf.com http://www.microsoft.com/downloads/en/default.aspx http://renesasrulz.com http://www.trygtech.com

  43. 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

  44. Thank You

More Related