当前位置:网站首页>[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 .
边栏推荐
- 局域网同一个网段通信过程
- (column 22) typical column questions of C language: delete the specified letters in the string.
- What preparations should be made for website server migration?
- 29io stream, byte output stream continue write line feed
- Mysql database master-slave cluster construction
- Jushan database appears again in the gold fair to jointly build a new era of digital economy
- 数字经济破浪而来 ,LTD是权益独立的Web3.0网站?
- What impact will frequent job hopping have on your career?
- H3C V7版本交换机配置IRF
- Pay attention to the details of pytoch code, and it is easy to make mistakes
猜你喜欢
![[Tang Laoshi] C -- encapsulation: classes and objects](/img/4e/30d2d4652ea2d4cd5fa7cbbb795863.jpg)
[Tang Laoshi] C -- encapsulation: classes and objects

H3C防火墙RBM+VRRP 组网配置

【经验】win11上安装visio

How can large websites choose better virtual machine service providers?

B站刘二大人-线性回归 Pytorch

Sequoiadb Lake warehouse integrated distributed database, June 2022 issue
【SQL server速成之路】——身份驗證及建立和管理用戶賬戶

Embedded interview questions (IV. common algorithms)

JS array list actual use summary

Codeless June event 2022 codeless Explorer conference will be held soon; AI enhanced codeless tool launched
随机推荐
[JVM] [Chapter 17] [garbage collector]
PDK工艺库安装-CSMC
JS array list actual use summary
Game push image / table /cv/nlp, multi-threaded start
High quality coding tool clion
Installation de la Bibliothèque de processus PDK - csmc
【华为机试真题详解】检查是否存在满足条件的数字组合
[SQL Server fast track] - authentication and establishment and management of user accounts
continue和break的区别与用法
【SQL server速成之路】——身份验证及建立和管理用户账户
[experience] install Visio on win11
移植InfoNES到STM32
【SQL server速成之路】——身份驗證及建立和管理用戶賬戶
Download, install and use NVM of node, and related use of node and NRM
B站刘二大人-线性回归及梯度下降
Practice sharing: how to safely and quickly migrate from CentOS to openeuler
Web Security (VI) the use of session and the difference between session and cookie
实践分享:如何安全快速地从 Centos迁移到openEuler
无代码六月大事件|2022无代码探索者大会即将召开;AI增强型无代码工具推出...
Improve jpopup to realize dynamic control disable