11615 views|0 replies

661

Posts

18

Resources
The OP
 

1 Introduction to UCOS [Copy link]

Everyone knows this. Haha. Considering the completeness of our study, I'd like to talk about it here. Let's familiarize ourselves with it. Masters, please bear with me! uC/OS II (Micro Control Operation System Two) is a ROM-based, scalable, preemptive, real-time multitasking kernel with high portability, especially suitable for microprocessors and controllers. It is a real-time operating system (RTOS) with performance comparable to many commercial operating systems. In order to provide the best portability, uC/OS II uses ANSI C language to the greatest extent for development, and has been ported to nearly 40 processor systems, covering various CPUs from 8-bit to 64-bit (including DSP). uC/OS II can be simply regarded as a multi-task scheduler, on which system services related to multi-task operating systems such as semaphores and mailboxes are improved and added. Its main features are open source code, clear and concise code structure, detailed comments, well-organized, good portability, tailorability, and solidification. The kernel is preemptive and can manage up to 60 tasks. The predecessor of μC/OS-II is μC/OS, which was first published in 1992 by American embedded system expert Jean J. Labrosse in the May and June issues of "Embedded Systems Programming" magazine, and the source code of μC/OS was published on the magazine's BBS. μC/OS and μC/OS-II are specially designed for embedded computer applications. Most of the code is written in C language. The CPU hardware related parts are written in assembly language. The assembly language part with a total of about 200 lines is compressed to a minimum in order to facilitate porting to any other CPU. As long as the user has a standard ANSI C cross compiler, assembler, connector and other software tools, μC/OS-II can be embedded in the developed product. μC/OS-II has the characteristics of high execution efficiency, small space occupation, excellent real-time performance and strong scalability. The minimum kernel can be compiled to 2KB. μC/OS-II has been ported to almost all well-known CPUs.

Strictly speaking, uC/OS-II is just a real-time operating system kernel, which only includes basic functions such as task scheduling, task management, time management, memory management, and communication and synchronization between tasks. No additional services such as input and output management, file system, network, etc. are provided. However, due to the good scalability and open source code of uC/OS-II, these non-essential functions can be implemented by users according to their needs.

uC/OS-II aims to realize a preemptive real-time kernel based on priority scheduling, and provide the most basic system services on top of this kernel, such as semaphores, mailboxes, message queues, memory management, interrupt management, etc.

uC/OS-II is released in the form of source code, but it does not mean that it is open source software. You can use it for teaching and private research (peaceful research); but if you use it for commercial purposes, you must obtain a commercial license through Micrium.

Although uCOS-II needs to be authorized for commercial use and the cost is also a considerable amount, its open source has led us into the world of kernel after all. Here, on behalf of embedded engineers, I would like to thank Mr Jean J.Labrosse.


This post is from Embedded System

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list