当前位置:网站首页>[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 .
边栏推荐
- wib3.0 跨越,在跨越(ง •̀_•́)ง
- The digital economy has broken through the waves. Is Ltd a Web3.0 website with independent rights and interests?
- 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
- 59. Spiral matrix
- [imgui] unity MenuItem shortcut key
- Demander le Code de texte standard correspondant à un centre de travail dans l'ordre de production
- c语言——冒泡排序
- H3C V7版本交换机配置IRF
- Application Security Series 37: log injection
- Quantitative description of ANC noise reduction
猜你喜欢
Market development prospect and investment risk assessment report of China's humidity sensor industry from 2022 to 2028
Li Chuang EDA learning notes 12: common PCB board layout constraint principles
The digital economy has broken through the waves. Is Ltd a Web3.0 website with independent rights and interests?
【SQL server速成之路】——身份验证及建立和管理用户账户
实践分享:如何安全快速地从 Centos迁移到openEuler
How to use PHP string query function
Web服务连接器:Servlet
初识数据库
27io stream, byte output stream, OutputStream writes data to file
Winter 2021 pat class B problem solution (C language)
随机推荐
H3C S5820V2_5830V2交换机IRF2堆叠后升级方法
c语言——冒泡排序
How to download GB files from Google cloud hard disk
H3C防火墙RBM+VRRP 组网配置
Luogu [Beginner Level 4] array p1427 number game of small fish
Closure, decorator
查詢生產訂單中某個(些)工作中心對應的標准文本碼
wib3.0 跨越,在跨越(ง •̀_•́)ง
B站刘二大人-Softmx分类器及MNIST实现-Lecture 9
养了只小猫咪
【华为机试真题详解】检查是否存在满足条件的数字组合
SequoiaDB湖仓一体分布式数据库2022.6月刊
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
Go language -- language constants
JS array list actual use summary
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
大型网站如何选择比较好的云主机服务商?
LTE CSFB process
Rustdesk builds its own remote desktop relay server
Web Security (VI) the use of session and the difference between session and cookie