logo slogan

Title:  MicrtoC/OS II


Review Date Dec 2002
Author: Jean Labrosse
Pub: CMP Books
ISBN: 1-57820-10309
Cover: hard
Pages 600
Keywords: Embedded, rtos, Real time, OS
Recommendation: HIGHLY recommended
Source: - ACCU book list



This is not so much of a review of a book as a review of a book, an RTOS and a web site. It's the second edition of the second version of a "free" RTOS. It is the book worth buying? YES.


MicroC/OSII (it used to be COS but that often got pronounced as "mucus") is an RTOS with all the source available as part of the package. Whilst it is free for most of us, including collages and universities there is a licence if you want to use it commercially, which seems fair. See www.micrium.com for licensing.


So why use this instead of Linux or any of the others? MicroC/OS has been designed as a small footprint real time, pre-emptive OS that was designed for embedded use on 8 bit platforms upwards. It has also been approved for use in a DO-178B aerospace system and is (apparently) MISRA-C compliant.


Accompanying the book is a web site where people post ports to other CPUs, the executable in the book is for x86. There are many ports and you will often be faced with a choice of ports to any processor you choose (8051 to ARM ). These are all free and donated by their authors. Due the the modular form of the design only a few well defined files need changing for most ports.


The book itself is a heavy 600 page hardback tome. Much the same size as the 500 page first edition but there are a lot of changes. Most of the source code has been dropped, as has the chapter on porting from the first version of the RTOS. There has been a major expansion on intertask communications and synchronisation. The software itself has gained mutexs.


In explaining the API and rtos the book does a good job of explaining how, in general, an OS works. This is achieved via diagrams and extracts of code. The main manuals for the OS are on the CD in pdf form. The book itself has a guide to the chapters showing what to read for Concepts, Structure, synchronisation, communications, porting and the user manual. In short it is a complete RTOS kit. Students and lecturers will find this book very useful. That said I know of a least one serious commercial development using MicroC/OSII in a serious embedded system.


The book is an excellent entry into operating systems. You will need another book if you really want to go deep into the theory of OS's but for most users who want an OS to use and experiment with this book will fit the bill. Highly recommended