What is the difference between ARM and MCU

2020-12-15 15:06:22

What is the difference between ARM and MCU?






 1. Software


    This should be the biggest difference. An operating system was introduced. Why introduce an operating system? What are the benefits?


    1) Convenience. Mainly reflected in the later development, that is, directly developing applications on the operating system. Unlike the microcontroller, everything has to be rewritten. Professionals still need to do the early operating system porting work.


    2) Security. This is a feature of LINUX. The LINUX kernel is separated from the memory management of the user space, and the system will not die because of a user's single program error. This has not been seen in the software development of the microcontroller.


    3) High efficiency. Introduce a process management and scheduling system to make the system run more efficiently. In the traditional MCU development, most of them are based on interrupted front-end and back-end technology, which has limitations in the management of multitasking.






    2. Hardware


    The current 8-bit microcontroller technology hardware is also developing very fast, and many very powerful microcontrollers have appeared. But there is still some gap compared with 32ARM.


    ARM chips mostly integrate SDRAM, LCD and other controllers into the chip. In 8-bit machines, most of them need to be expanded.




    In general, the microcontroller is a microcontroller, and ARM is obviously already a microprocessor.






    After the introduction of the embedded operating system, many functions that cannot be completed by the single-chip system can be realized. For example: embedded web server, java virtual machine, etc. In other words, there are many free resources available. The above two services are examples. If you develop these functions on the microcontroller, you can imagine the difficulty.




    Finally, use a metaphor to describe the difference:




    Unilever introduced a soap packaging production line, and found that this production line had a flaw: there were often boxes that did not contain soap. You can't sell empty boxes to customers. They had to hire a postdoctoral student who studied automation to design a plan to sort out the empty soap boxes. The post-doctoral team set up a scientific research team of more than a dozen people, and used a combination of machinery, microelectronics, automation, X-ray detection and other technologies, and spent hundreds of thousands to successfully solve the problem. Whenever an empty soap box passes through the production line, the detectors on both sides will detect it and drive a manipulator to push the empty soap box away.




    A township enterprise in southern China also bought the same production line. The boss was very upset when he discovered the problem, and found a small worker to say that you fucking fix it for me. Sure enough, Xiao Gong came up with a solution: He placed a fan beside the production line and blew the empty soap box away.


label: MCU ARM