The .NET Micro Framework (NETMF) is a .NET Framework platform for resource-constrained devices with at least 512 kB of flash and 256 kB of random-access memory (RAM). It includes a small version of the .NET Common Language Runtime (CLR) and supports development in C#, Visual Basic .NET, and debugging (in an emulator or on hardware) using Microsoft Visual Studio. NETMF features a subset of the .NET base class libraries (about 70 classes with about 420 methods), an implementation of Windows Communication Foundation (WCF), a GUI framework loosely based on Windows Presentation Foundation (WPF), and a Web Services stack based on Simple Object Access Protocol (SOAP) and Web Services Description Language (WSDL). NETMF also features added libraries specific to embedded applications. It is free and open-source software released under Apache License 2.0.

.NET Micro Framework
Developer(s)Microsoft and .NET Foundation
Initial release2007; 17 years ago (2007)
Stable release
4.4[1] / October 20, 2015; 9 years ago (2015-10-20)
Repositorygithub.com/NETMF/netmf-interpreter
Written inC++
Operating systemWindows
PlatformARM, Blackfin
Available inEnglish
TypeSoftware framework
LicenseApache License 2.0[2]
Websitenetmf.github.io/netmf-interpreter/

The Micro Framework aims to make embedded development easier, faster, and less costly by giving embedded developers access to the modern technologies and tools used by desktop application developers. Also, it allows desktop .NET developers to use their skills in embedded systems, enlarging the pool of qualified embedded developers.

The Micro Framework is part of the .NET Foundation.[3] Announced at the Build 2014 conference, the foundation was created as an independent forum to foster open development and collaboration around the growing set of open-source technologies for .NET.[4]

Features

edit

Relative to other .NET platforms, the unique features of the Micro Framework are:

Due to the constraints under which it operates, the Micro Framework does have some limits beyond those imposed by its slimmed-down libraries. For example, the platform does not support symmetric multiprocessing, multidimensional arrays, machine-dependent types, or unsafe instructions. The CLR is an interpreter rather than a just-in-time compiler, and uses a simpler mark-and-sweep garbage collector instead of a generational method. An ahead-of-time compiler is being developed[5] using a modified LLVM compiler. Interoperation between managed and native code currently has several limitations. As of 2011, Micro Framework supported two .NET languages: C# and Visual Basic.[6]

Support

edit

As of 2013, the .NET Micro Framework was supported on ARM architecture processors (including ARM7, ARM9, and Cortex-M) and has been supported on Analog Devices Blackfin in the past. The Porting Kit is now available along with the source code as a free download under the Apache License 2.0 at the Microsoft Download Center.

The Micro Framework has its roots in Microsoft's Smart Personal Objects Technology (SPOT) initiative and was used in MSN Direct products such as smart watches before being made available to third-party developers early in 2007.[7] It is a common platform for Windows SideShow devices and has been adopted in other markets, such as energy management, healthcare, industrial automation, and sensor networks.

Microsoft allows developers to create applications using the Micro Framework without charge, and makes a software development kit (SDK) available for free download that can be used with all versions of Visual Studio, including the free Express editions.[8]

History

edit

In November 2009, Microsoft released the source code of the Micro Framework to the development community as free and open-source software under the Apache License 2.0.[9]

In January 2010, Microsoft launched the netmf.com community development site to coordinate ongoing development of the core implementation with the open-source community.[10]

On 9 January 2010, GHI Electronics announced FEZ Domino, the first member of the product line called FEZ (Freakin' Easy!), a combination of open-source hardware with a proprietary closed-source version of .NET Micro Framework.[11]

On 3 August 2010, Secret Labs announced the Netduino, the first all-open-source electronics platform using the .NET Micro Framework.[12]

In February 2011, Novell posted a preview of the Mono 2.12 C# compiler, the first open-source compiler for .NET Micro Framework.[13]

On 23 January 2017, after numerous attempts ([14] and [15]) to revive .NET Microframework project and bring it to community governance and a period of work "in the dark", a group of embedded systems developers publicly announced .NET nanoFramework as spin-off of .NET Micro Framework.[16] A major rework on the build system, an easier way of adding new targets, a modernized API following UWP, a Visual Studio extension with all the tools required for managing targets, full development experience from coding to debugging on the native code and support for ARM Cortex-M and ESP32 were the key differences at that time. On 12 October 2018 the first official release of the class libraries and firmware images was announced.[17] On 2020-06-17 the developers announced release of nanoFramework[18]

On 16 December 2016, GHI Electronics announced their own implementation of Micro Framework called TinyCLR OS, citing lack of maintenance of NETMF by Microsoft.[19] On 7 July 2017 GHI announced 5th preview of TinyCLR OS.[20] On 2 February 2018 GHI announced 8th preview of TinyCLR OS.[21] On 5 April 2018 GHI announced 10th preview of TinyCLR OS.[22] On 27 April 2022 GHI announced release of TinyCLR OS version 2.2.[23]

As of 2023, only nanoFramework and TinyCLR OS continue development of a framework that can run .NET code on a microcontroller.

Hardware

edit

Multiple vendors make chips, development kits, and more that run the Micro Framework.[24]

Netduino by Wilderness Labs

edit

Netduino is an open-source electronics platform using the Micro Framework. Originally created by Secret Labs, Netduino has been manufactured and maintained by Wilderness Labs Inc.[25] since the acquisition of Secret Labs in 2017.[26] Based on 168Mhz Cortex-M4 (STM32F4) with up to 1,408 KB of code storage and 164 KB of RAM. On-board USB, Ethernet, Wifi, SD card slot. Development environment is MS Visual Studio and C#. Pin compatible with Arduino shields although drivers are required for some shields.

GHI Electronics

edit

GHI Electronics makes several modules that support the Micro Framework:

  • EMX Module[27]
  • ChipworkX Module[28]
  • USBizi144 Chipset[29] and USBizi100, whose only difference is the lack of USB host support in the USBizi100[30]

GHI Electronics also makes the .NET FEZ line of very small open-source hardware boards with proprietary firmware, targeted for beginners. They are based on the USBizi chipset and all its features. The FEZ Domino board offers USB host. Even though FEZ is for beginners, it is also a low-cost starting point for professionals wanting to explore NETMF.[31] Some of these boards are physically compatible with the Arduino.

GHI Electronics does not recommend to use its Micro Framework-based devices for new designs and instead recommends its TinyCLR-based devices.[32]

Mountaineer boards

edit

Mountaineer boards, part of the Mountaineer Group, used to make a small range of open-source open-hardware boards that make use of the Micro Framework. Mountaineer have ported the Micro Framework for use on the STM32 family of microcontrollers featured on their Mountaineer boards and elsewhere.[33]

STMicroelectronics

edit

STMicroelectronics, creators of the microcontroller family STM32, make low-cost discovery boards to showcase the controllers, and provides ports of the Micro Framework to run on them.[34]

Netmfdevices

edit

Netmfdevices was an open-source electronics platform using FEZHacker and .NET Micro Framework.[35]

Micromint

edit

The Micromint Bambino 200 is the first multi-core processor SBC compatible with the .NET Gadgeteer framework.[36] The model 200 is powered by an NXP LPC4330, the first dual-core ARM Cortex-M microcontroller. Its Cortex-M4 and Cortex-M0 cores are both capable of 204 MHz. It has 264 KB SRAM onboard and 4 MB of flash. The model 200E has all the same features as the model 200, and increased flash memory to 8 MB, 10 Gadgeteer sockets, an Ethernet port, microSD socket, and other features.

.NET Gadgeteer devices

edit

Several manufacturers make boards and modules compatible with the .NET Gadgeteer rapid-prototyping standard for the framework.

See also

edit

References

edit
  1. ^ ".NET Micro Framework 4.4 is now available!". Microsoft. Archived from the original on 25 October 2017. Retrieved 9 December 2018.
  2. ^ ".NET Micro Framework". Microsoft.
  3. ^ Malliet, Steve. "Is .Net MF being discontinued?". GitHub. Retrieved 13 April 2019.
  4. ^ .NET Foundation
  5. ^ "LLILUM roadmap and latest additions". Microsoft. Archived from the original on 26 August 2018. Retrieved 30 June 2016.
  6. ^ .NET Micro Framework only supports C# and Visual Basic
  7. ^ "Microsoft SPOT Initiative Accelerates With Addition of MSN Direct to Navigation Devices". Microsoft Corporation. 8 January 2007. Retrieved 2 July 2024.
  8. ^ "NETMF4 SDK". Microsoft.
  9. ^ "Microsoft to Open Source the .NET Micro Framework". Microsoft. Archived from the original on 14 November 2018. Retrieved 6 February 2017.
  10. ^ "netmf.com". Archived from the original on 5 July 2012. Retrieved 29 June 2012.
  11. ^ FEZ: open-source electronics boards with many open-source component drivers using .NET MF
  12. ^ "Netduino: open-source electronics platform using .NET MF". Archived from the original on 20 March 2016. Retrieved 8 September 2010.
  13. ^ Experimental Mono support for Mac/Linux
  14. ^ "Manifest for .NETMF (the current state and the future we want for it)". GitHub.
  15. ^ "Future of .NETMF (take #999999)". GitHub.
  16. ^ "The name's Framework, nanoFramework". Archived from the original on 22 February 2019. Retrieved 22 February 2019.
  17. ^ "nanoFramework v1.0 is official!". Archived from the original on 22 February 2019. Retrieved 22 February 2019.
  18. ^ Stable releases are out
  19. ^ "Introducing TinyCLR OS: a new path for our NETMF devices". Archived from the original on 28 July 2017. Retrieved 28 July 2017.
  20. ^ "Fifth Preview of TinyCLR OS Core Features and Porting". Archived from the original on 28 July 2017. Retrieved 28 July 2017.
  21. ^ "TinyCLR OS Eighth Release: FEZ Hydra, Wi-Fi, and Cortex-M7". Archived from the original on 9 March 2018. Retrieved 15 February 2018.
  22. ^ TinyCLR OS Tenth Release: Bugs, RTC, and STM32F7
  23. ^ TinyCLR OS 2.2 Release
  24. ^ "Compatible Device Matrix". Microsoft. Archived from the original on 23 December 2010. Retrieved 29 October 2010.
  25. ^ "Netduino: home". Wilderness Labs, Inc. Archived from the original on 20 March 2016. Retrieved 29 October 2010.
  26. ^ "Netduino acquired by Wilderness Labs". PRWeb. 20 July 2017. Retrieved 2 July 2024.
  27. ^ "Catalog - Latest Products - GHI Electronics". GHI Electronics, LLC. Archived from the original on 20 March 2012. Retrieved 20 February 2011.
  28. ^ "Catalog - Latest Products - GHI Electronics". Archived from the original on 4 December 2012. Retrieved 20 February 2011.
  29. ^ "USBizi144 Chipset - GHI Electronics". GHI Electronics, LLC. Archived from the original on 7 January 2014. Retrieved 20 February 2011.
  30. ^ "USBizi100 Chipset - GHI Electronics". GHI Electronics, LLC. Archived from the original on 7 January 2014. Retrieved 20 February 2011.
  31. ^ "Catalog - Latest Products - GHI Electronics". Archived from the original on 2 March 2013. Retrieved 20 February 2011.
  32. ^ ".NET Micro Framework Devices". GHI Electronics. Retrieved 26 October 2023.
  33. ^ "NETMF for STM32 - Mountaineer Group". Archived from the original on 19 November 2018.
  34. ^ UM1676: Getting started with .Net Micro Framework on the STM32F429 Discovery kit
  35. ^ "Netmfdevices". Archived from the original on 26 June 2019. Retrieved 26 June 2019.
  36. ^ "Micromint Bambino 200". Archived from the original on 13 November 2014. Retrieved 19 June 2014.
edit