Embedded Multitasking With Small Microcontrollers

March 15, 2006
By Keith Curtis
ISBN: 0750679182
Although Embedded Multitasking With Small Microcontrollers is not an exhaustive treatise on multitasking operating systems, it does a good job on the two areas it does address: state machines and basic multitasking.

Curtis wanted to create a fundamental framework that readers could utilize in embedded projects that needed a basic operating system but did not require a more powerful commercial or open-source operating system. The accompanying CD includes sample C source code that is presented in the book. Overall, he succeeds.

Those that are relatively new to embedded programming will benefit most from this book. It starts with a chapter on the basics, including things such as number systems and data structures that many will have already encountered. It is the state-machine and operating-system sections where things finally get interesting. Curtis takes a look at a few state-machine implementations and includes sufficient examples for any programmer to get a good idea of how they work. As with the multitasking section, this section could benefit by including some of the other techniques available, such as using pointers as state variables, but it would have made the book a bit longer.

The system-level design chapter is interesting, but I would have traded the space for more details on real-time multitasking support or even a discussion of cooperative multitasking. Still, for those new to system design, this presentation will provide the introduction necessary to address overall system design that uses a multitasking operating system.

The ending chapter on implementation and testing puts the introductory information to work. The C source code tends to make things easier to understand, but it also prevents a discussion of microcontroller-specific issues. That was really the only thing I found deficient with the book, especially since it was part of the title. Still, the presentation is definitely applicable to microcontrollers, albeit on a high level.

If you're interested in embedded microcontrollers, you might also like these books:

About the Author

William G. Wong | Senior Content Director - Electronic Design and Microwaves & RF

I am Editor of Electronic Design focusing on embedded, software, and systems. As Senior Content Director, I also manage Microwaves & RF and I work with a great team of editors to provide engineers, programmers, developers and technical managers with interesting and useful articles and videos on a regular basis. Check out our free newsletters to see the latest content.

You can send press releases for new products for possible coverage on the website. I am also interested in receiving contributed articles for publishing on our website. Use our template and send to me along with a signed release form. 

Check out my blog, AltEmbedded on Electronic Design, as well as his latest articles on this site that are listed below. 

You can visit my social media via these links:

I earned a Bachelor of Electrical Engineering at the Georgia Institute of Technology and a Masters in Computer Science from Rutgers University. I still do a bit of programming using everything from C and C++ to Rust and Ada/SPARK. I do a bit of PHP programming for Drupal websites. I have posted a few Drupal modules.  

I still get a hand on software and electronic hardware. Some of this can be found on our Kit Close-Up video series. You can also see me on many of our TechXchange Talk videos. I am interested in a range of projects from robotics to artificial intelligence. 

Sponsored Recommendations

Comments

To join the conversation, and become an exclusive member of Electronic Design, create an account today!