当前位置:网站首页>[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 .
边栏推荐
- Installation de la Bibliothèque de processus PDK - csmc
- 巨杉数据库再次亮相金交会,共建数字经济新时代
- wib3.0 跨越,在跨越(ง •̀_•́)ง
- H3C S5820V2_5830V2交换机IRF2堆叠后升级方法
- 网络协议模型
- Selective parameters in MATLAB functions
- 27io stream, byte output stream, OutputStream writes data to file
- How to use PHP string query function
- AUTOSAR from getting started to becoming proficient (10) - embedded S19 file analysis
- 【SQL server速成之路】——身份驗證及建立和管理用戶賬戶
猜你喜欢

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

How to use PHP string query function
[SQL Server fast track] - authentication and establishment and management of user accounts

29io stream, byte output stream continue write line feed

Report on the competition status and investment decision recommendations of Guangxi hospital industry in China from 2022 to 2028

应用安全系列之三十七:日志注入

Embedded interview questions (IV. common algorithms)

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

【经验】win11上安装visio

B站刘二大人-线性回归及梯度下降
随机推荐
局域网同一个网段通信过程
B站刘二大人-Softmx分类器及MNIST实现-Lecture 9
First knowledge database
[imgui] unity MenuItem shortcut key
Memory and stack related concepts
Sequoiadb Lake warehouse integrated distributed database, June 2022 issue
什么是独立IP,独立IP主机怎么样?
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
Luogu [Beginner Level 4] array p1427 number game of small fish
【SQL server速成之路】——身份验证及建立和管理用户账户
29io stream, byte output stream continue write line feed
LeetCode_ String inversion_ Simple_ 557. Reverse word III in string
Web服务连接器:Servlet
Installation de la Bibliothèque de processus PDK - csmc
CoDeSys note 2: set coil and reset coil
PDK工藝庫安裝-CSMC
网站进行服务器迁移前应做好哪些准备?
How can large websites choose better virtual machine service providers?
High quality coding tool clion
Web Security (VI) the use of session and the difference between session and cookie