In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
How to understand the Microsoft ®Micro Framework framework, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain for you in detail, people with this need can come to learn, I hope you can get something.
MF, the full name of Microsoft ®.NET Micro Framework, is a miniature .net framework launched by Microsoft. How micro is it? It itself can be an operating system OS, and the programs it compiles can be directly run on the hardware. Of course, it can also be used on other embedded systems (such as UCOS). MCU does not care what operating system it is, it starts to execute as soon as it finds the first instruction. With it, we can write embedded programs directly in VisualStudio C #. However, there are some shortcomings: the performance is said to be medium, it requires more memory to run the graphical interface (the SRAM in MCU is relatively small, generally 64K~512K, can be extended to 4m), and can only use a small part of the class libraries of .net.
The core principle of MF is to compile your code into a set of ARM instructions through a special C # compiler. You may not see the method implementation in its class library because it doesn't matter, but it's all for compiling into ARM invocation instructions.
MF is also a middleware that spans between C # and hardware, so the Microsoft MF team has to write different MF class library implementations for different MCU, which can be seen as drivers on Windows. Although they are all ARM architectures, ARM also has various sub-architectures, and then the MCU products implemented by different companies contain different things, so they have to be implemented in different categories. This process is called Porting (we generally say that MF is given to Port to STM32).
Microsoft has made MF open source since v4.0. However, STM32 is not supported by default, so you have to Port yourself. That's a huge project. Now the latest version is MF v4.2, which contains a STM32 Porting template, interested students can try it step by step.
Because .net Micro Framework is powerful and can be quickly accessed from the PC development of C#.Net, it is suitable for almost all embedded situations. The cost of products that support .net Micro Framework can be as low as 30 yuan or even lower.
After the actual test, it is found that the minimum Net Micro Framework firmware can reach about 250k, so there is no problem on the 512k single-chip microcomputer MCU. For example, STM32F103ZET6 and VET6 have 512k Flash and 64k RAM, which can not only burn .Net Micro Framework firmware, but also write more complex .net Micro Framework applications, but these two chips retail for only about 20 yuan.
Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.