当前位置:网站首页>[uc/os-iii] chapter 1.2.3.4 understanding RTOS
[uc/os-iii] chapter 1.2.3.4 understanding RTOS
2022-07-05 02:10:00 【Liu Xiaoqiang 857】
1. Chapter one Preface
The course covers everything from 0 To 1 Write a uC/OS-III System , Is the simplest single-chip kernel, kernel OS; It also includes this self written kernel Some application examples of the system , These two parts . Of course kernel It's more difficult , It is also a deeper understanding . At this time, I found that OS Unexpectedly, it is also written by people line by line , It is the unified scheduling of various task management , A function program for various management . A platform program that standardizes interfaces . We carry out standard development work on his platform .
General operating system courses are also two parts , Explain computers OS working principle , The code analysis . But the amount of code is too large to analyze , The working principle of cleaning is already very good .
2. Chapter two How to learn RTOS
Bare metal programming , All programs are one main The function is written by itself , The program runs continuously in a big loop , It is such a working mode ; With the increasing functions of single chip computers , The need for multi task synchronization , We need to introduce a system to regulate , To allocate and better schedule the work of each process , So you need a system file , be called RTOS, Real-time operating system , Or time-sharing operating system . To make more main Functions work together . Learning can be based on the system transplanted by others , have a look RTOS Inside API Instructions , call API Just realize your own functions . The hardware can be different ,OS It's the same , Add different bsp Just drive , Realization OS Adaptation on various hardware . therefore bsp It's part of the job , While calling API Realize the function of board end , Advantage another part of the work . common windows and Linux System , All time-sharing operating systems .
uC/OS-III yes RTOS A kind of , We can draw inferences from one example , And FreeRTOS、RT-Thread etc. RTOS Each has its own advantages and disadvantages , Choose the right one according to the actual needs of the product OS that will do .RT-Thread It is an open source embedded real-time operating system from China . On the whole RTOS The operating system is more stable when scoring , It is preferred for military industry , Aerospace and other fields that require high real-time return results .
3. The third chapter New project — Software emulation
uC/OS-III kernel Preliminary writing and debugging , All are completed by software simulation , Only after it is written can it be transplanted to the hardware to test . therefore , New project , The choice is not STM32F103 That board , But to choose ARM Cortex M3, In this way ARM Under the architecture , Conduct RTOS Writing, running and debugging , And call various included header files .

4. Chapter four Bare metal system and multitasking system
Bare metal system : Rotation training system / Front and rear system
Multitasking systems :

边栏推荐
- . Net starts again happy 20th birthday
- Flutter 2.10 update details
- RichView TRVUnits 图像显示单位
- MySQL regexp: Regular Expression Query
- Subject 3 how to turn on the high beam diagram? Is the high beam of section 3 up or down
- PHP 基础篇 - PHP 中 DES 加解密详解
- RichView TRVStyle MainRVStyle
- 如何做一个炫酷的墨水屏电子钟?
- Application and development trend of image recognition technology
- 官宣!第三届云原生编程挑战赛正式启动!
猜你喜欢

Restful Fast Request 2022.2.1发布,支持cURL导入

STM32 series - serial port UART software pin internal pull-up or external resistance pull-up - cause problem search

Write a thread pool by hand, and take you to learn the implementation principle of ThreadPoolExecutor thread pool

Phpstrom setting function annotation description
![[source code attached] Intelligent Recommendation System Based on knowledge map -sylvie rabbit](/img/3e/ab14f3a0ddf31c7176629d891e44b4.png)
[source code attached] Intelligent Recommendation System Based on knowledge map -sylvie rabbit

PowerShell:在代理服务器后面使用 PowerShell

A label making navigation bar

Binary tree traversal - middle order traversal (golang)

The MySQL team development specifications used by various factories are too detailed. It is recommended to collect them!

Exploration of short text analysis in the field of medical and health (I)
随机推荐
172. Zero after factorial
Erreur de type de datagramme MySQL en utilisant Druid
Educational Codeforces Round 122 (Rated for Div. 2) ABC
线上故障突突突?如何紧急诊断、排查与恢复
Icu4c 70 source code download and compilation (win10, vs2022)
[swagger]-swagger learning
[機緣參悟-38]:鬼穀子-第五飛箝篇 - 警示之一:有一種殺稱為“捧殺”
Interpretation of mask RCNN paper
Yolov5 model training and detection
Use the difference between "Chmod a + X" and "Chmod 755" [closed] - difference between using "Chmod a + X" and "Chmod 755" [closed]
JVM's responsibility - load and run bytecode
PHP Joseph Ring problem
"C zero foundation introduction hundred knowledge and hundred cases" (72) multi wave entrustment -- Mom shouted for dinner
Missile interception -- UPC winter vacation training match
Leetcode takes out the least number of magic beans
. Net starts again happy 20th birthday
Prometheus monitors the correct posture of redis cluster
Huawei machine test question: longest continuous subsequence
Uniapp navigateto jump failure
Grub 2.12 will be released this year to continue to improve boot security