当前位置:网站首页>[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 .
边栏推荐
- How to get list length
- Query the standard text code corresponding to a work center (s) in the production order
- Sequoiadb Lake warehouse integrated distributed database, June 2022 issue
- A master in the field of software architecture -- Reading Notes of the beauty of Architecture
- 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
- Node 之 nvm 下载、安装、使用,以及node 、nrm 的相关使用
- Redistemplate common collection instructions opsforvalue (II)
- B站刘二大人-线性回归及梯度下降
- [force buckle]43 String multiplication
猜你喜欢
[JVM] [Chapter 17] [garbage collector]
Clear floating mode
Sequoiadb Lake warehouse integrated distributed database, June 2022 issue
Mysql database master-slave cluster construction
Memory and stack related concepts
初识数据库
Station B Liu Erden linear regression pytoch
27io stream, byte output stream, OutputStream writes data to file
Sword finger offer II 039 Maximum rectangular area of histogram
26file filter anonymous inner class and lambda optimization
随机推荐
Note the various data set acquisition methods of jvxetable
PDK工艺库安装-CSMC
Yunxiaoduo software internal test distribution test platform description document
Auto. JS learning notes 17: basic listening events and UI simple click event operations
Game push image / table /cv/nlp, multi-threaded start
Closure, decorator
03. Login of development blog project
Hongliao Technology: how to quickly improve Tiktok store
Text classification still stays at Bert? The dual contrast learning framework is too strong
Some easy-to-use tools make your essay style more elegant
Market development prospect and investment risk assessment report of China's humidity sensor industry from 2022 to 2028
实践分享:如何安全快速地从 Centos迁移到openEuler
wib3.0 跨越,在跨越(ง •̀_•́)ง
Implementation of linked list in address book management system
Redistemplate common collection instructions opsforvalue (II)
05. Security of blog project
Report on market depth analysis and future trend prediction of China's arsenic trioxide industry from 2022 to 2028
大型网站如何选择比较好的云主机服务商?
Summary of deep learning tuning tricks
Go language -- language constants