当前位置:网站首页>[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 :

边栏推荐
- Grub 2.12 will be released this year to continue to improve boot security
- Talk about the things that must be paid attention to when interviewing programmers
- Visual studio 2019 set transparent background (fool teaching)
- Android advanced interview question record in 2022
- Pytorch fine tuning (Fortune): hollowed out design or cheating
- WCF: expose unset read-only DataMember property- WCF: Exposing readonly DataMember properties without set?
- [swagger]-swagger learning
- batchnorm.py这个文件单GPU运行报错解决
- Numpy library introductory tutorial: basic knowledge summary
- Tucson will lose more than $400million in the next year
猜你喜欢

Practice of tdengine in TCL air conditioning energy management platform

Five ways to query MySQL field comments!

Exploration of short text analysis in the field of medical and health (II)

Do you know the eight signs of a team becoming agile?

A label colorful navigation bar

Mysql database | build master-slave instances of mysql-8.0 or above based on docker

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

Visual explanation of Newton iteration method

Win:使用 Shadow Mode 查看远程用户的桌面会话
![[technology development-26]: data security of new information and communication networks](/img/13/10c8bd340017c6516edef41cd3bf6f.png)
[technology development-26]: data security of new information and communication networks
随机推荐
Pgadmin 4 V6.5 release, PostgreSQL open source graphical management tool
Interesting practice of robot programming 15- autoavoidobstacles
Win: use PowerShell to check the strength of wireless signal
I use these six code comparison tools
Matrixone 0.2.0 is released, and the fastest SQL computing engine is coming
Write a thread pool by hand, and take you to learn the implementation principle of ThreadPoolExecutor thread pool
What sparks can applet container technology collide with IOT
Application and Optimization Practice of redis in vivo push platform
A label making navigation bar
Educational Codeforces Round 122 (Rated for Div. 2) ABC
Practical case of SQL optimization: speed up your database
He was laid off.. 39 year old Ali P9, saved 150million
Traditional chips and AI chips
Pytorch register_ Hook (operate on gradient grad)
Chinese natural language processing, medical, legal and other public data sets, sorting and sharing
Rabbit MQ message sending of vertx
Prometheus monitors the correct posture of redis cluster
Exploration and practice of integration of streaming and wholesale in jd.com
batchnorm. Py this file single GPU operation error solution
[illumination du destin - 38]: Ghost Valley - chapitre 5 Flying clamp - one of the Warnings: There is a kind of killing called "hold Kill"