Home > Article > Operation and Maintenance > Can stm32 run linux?
stm32 cannot run Linux; the running unit of the Linux system is a process, while the running unit of ucos is a thread. To implement a process chip, you must have an MMU, which is a storage management unit, and stm32 does not have a storage management unit. , so the operating system that cannot run the process cannot run linux.
#The operating environment of this tutorial: linux7.3 system, Dell G3 computer.
STM32 cannot run linux. The running unit of the Linux system is a process, and the running unit of ucos is a thread. To implement a process chip, there must be an MMU (memory management unit). crotex-M has no MMU. So the operating system cannot run the process.
There are two types of operating systems: those with MMU and those without MMU
The one that uses MMU is Windows MacOS Linux Android
The one that does not use MMU is FreeRTOS VxWorks ucOS
There are two kinds of CPUs with MMU and without MMU
The one with MMU is Cortex-A Series ARM9 ARM11 series
There is Cortex-M series without MMU
STM32 is M series, so it is impossible to run Linux
Expand knowledge
STM32 is a single-chip microcomputer manufactured by STMicroelectronics. ST is the abbreviation of STMicroelectronics, M refers to the first English letter of microcontroller (that is, single-chip microcomputer) MCU, 32 refers to 32-bit CPU, and its CPU adopts ARM's Cortex-M series Kernel design.
STM32 covers various series of Cortex-M, including M0, M0, M3, M7, etc.
Features
STM32 has high cost performance, rich internal peripherals, high MIPS (referring to the instructions that can be processed per second, in megabytes), and a broad mass base Features.
Understanding STM32
Understanding STM32 is mainly through two websites, one is the STMicroelectronics Pipeline Network, and the other is the official website of the STM series microcontrollers. Click on these two names to enter the official website.
Although STMicroelectronics has many products, they also independently produce the STM8 series of 8-bit CPU microcontrollers. This microcontroller does not use the ARM core, but we only give a brief introduction to the STM32 series. Everyone has a general understanding of the origin and naming of STM32.
Recommended learning: Linux video tutorial
The above is the detailed content of Can stm32 run linux?. For more information, please follow other related articles on the PHP Chinese website!