当前位置:网站首页>[Baiwen smart home] first day of the course_ Learn Embedded and understand the development mode of bare metal and RTOS
[Baiwen smart home] first day of the course_ Learn Embedded and understand the development mode of bare metal and RTOS
2022-07-06 05:48:00 【Python's path to immortality】
I taught myself during the holiday , This blog is to record the learning process and some experiences . So there may be some mistakes in the content , Welcome to correct .
One 、 Understand the basic route and direction of embedded learning
By watching the video of Baiwen , I learned the development direction of embedded , Know the space and salary level of relevant work , There is also a reference route for learning .
The difficulty of bare metal direction is low , There are many posts , General treatment ;RTOS The difficulty is going up , The procedure is complex and requires many , There are many posts , Pay high ;linux The driver is a little lower , Need a certain knowledge reserve , Know how to transplant and write drivers , understand linux Driving framework and some mechanisms , Most of the posts are distributed in first tier cities , The treatment is also relatively high ;linux Application is to write business logic and some small programs , There are many posts , Good treatment ;DSP and FPGA Usually as a supplementary project to learn , It's hard , This skill is required only when there are special project requirements .
Two 、ARM Architecture introduction
Most of the mainstream chip architectures I know now are ARM,A Tie you MMU function , Suitable for running advanced operating system , Realize multi task and multi process , for example Windows、MacOS、Linux、Android;R It is suitable for high performance , High real-time applications ;M It is suitable for products with low power consumption and low cost , No MMU function , Can run FreeRTOS、VxWorks、ucLinux、uc/OS.
MPU and MCU The difference is that the application scenarios are different ,MPU The performance of operation and processing is strong ,MCU The function of is relatively single , It is mainly used to control and manage other equipment .

Besides, there are DSP and FPGA Chip ,DSP Chips are used in digital signal processing , Strong computational power ;FPGA Programmable hardware , It can be used to compile common hardware circuits .
3、 ... and 、 Development process
It mainly describes the process of program compilation .
Four 、RTOS The introduction of
The development mode of bare metal machine is generally divided into polling mode and event driven mode . Polling mode is to execute functions in sequence , In this way, the execution time between functions will be affected ; The event driven method uses the corresponding time to trigger the function execution , Common interruptions , Set the global variable as the event flag bit . No multitasking 、 The concept of thread . In the case of multiple functions , The real-time performance of bare metal programs is not high .
Introduce the concept of task into the operating system , Each task can be written as an endless loop , The operating system schedules tasks according to their priority , send CPU Perform each task in time , As long as the scheduling method is good , Each task looks like parallel execution , Improved CPU Utilization ratio .
边栏推荐
- Go language -- language constants
- Vulhub vulnerability recurrence 73_ Webmin
- Construction of yolox based on paste framework
- ArcGIS application foundation 4 thematic map making
- YYGH-11-定时统计
- The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower
- Report on market depth analysis and future trend prediction of China's arsenic trioxide industry from 2022 to 2028
- [Tang Laoshi] C -- encapsulation: classes and objects
- [experience] install Visio on win11
- Download, install and use NVM of node, and related use of node and NRM
猜你喜欢

The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower

The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower

Construction of yolox based on paste framework

Practice sharing: how to safely and quickly migrate from CentOS to openeuler

养了只小猫咪

Station B, Master Liu Er - back propagation

Hongliao Technology: how to quickly improve Tiktok store

Classes and objects (I) detailed explanation of this pointer

Node 之 nvm 下载、安装、使用,以及node 、nrm 的相关使用

ArcGIS application foundation 4 thematic map making
随机推荐
查詢生產訂單中某個(些)工作中心對應的標准文本碼
The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower
华为BFD的配置规范
The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower
After the project is released, index Html is cached
Redistemplate common collection instructions opsforvalue (II)
The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower
Station B Liu Erden softmx classifier and MNIST implementation -structure 9
Yunxiaoduo software internal test distribution test platform description document
清除浮动的方式
【经验】win11上安装visio
Station B, Master Liu Er - back propagation
授予渔,从0开始搭建一个自己想要的网页
Garbage collector with serial, throughput priority and response time priority
B站刘二大人-多元逻辑回归 Lecture 7
PDK工藝庫安裝-CSMC
[Jiudu OJ 08] simple search x
[experience] when ultralso makes a startup disk, there is an error: the disk / image capacity is too small
养了只小猫咪
Zoom through the mouse wheel