Skip navigation

Bookboon.com Download free eBooks and textbooks

Choose a category

PaulOS: Part II

An 8051 Real-Time Operating System

PaulOS: Part II
Not enough reviews yet
ISBN: 978-87-403-0450-3
1 edition
Pages : 287
Price: Free

Download for FREE in 4 easy steps...

We are terribly sorry, but in order to download our books or watch our videos, you will need a browser that allows JavaScript.
After entering your email address, a confirmation email will be sent to your inbox. Please approve this email to receive our weekly eBook update. We will not share your personal information with any third party.

This is a Premium eBook - get it free for 30 days

You can also read this in Bookboon.com Premium

Summary

This text book is intended for under-graduate Engineering and/or IT students studying micro-controllers and embedded systems. It covers mainly the 8051 family of micro-controllers starting with the ba

300+ Business books exclusively in our Premium eReader

  • No adverts
  • Advanced features
  • Personal library
More about Premium

Buy this eBook

Buy now

Subscribe to all 800+ eBooks

Start free trial 30 day FREE trial

About the book

  1. Description
  2. Preface
  3. Content
  4. About the Author
  5. Embed

Description

This text book is intended for under-graduate Engineering and/or IT students studying micro-controllers and embedded systems. It covers mainly the 8051 family of micro-controllers starting with the basic architecture and then moves on to assembly language and Real-Time Operating System (RTOS) where three main types of self-developed RTOSs are discussed (with full source code listing). These are the round-robin SanctOS , the co-operative PaulOS and finally the pre-emptive MagnOS RTOS giving also various example application programs using the Keil IDE (http://www.keil.com).

Preface

This text book is intended to be used either as a stand-alone text for an 8051-based course on micro controllers or as a reference book for those whose work requires familiarity with micro controllers and real-time operating systems.

The strong emphasis of this book is on interfacing and programming the 8051 to typical real-world devices such as switches, displays, motors, and A/D converters through both assembly language and C language programming. In particular, a variety of Real-Time Operating Systems (RTOS) are well explained and working programs are actually implemented (and well documented). Many programming examples, in both assembly language and C, are also included in order to help the students (and anyone interested in the topic) better understand the RTOS principle.

It would be helpful if the reader has already got some familiarity with personal computers and has taken introductory courses in digital devices and some experience with assembly language programming. It is assumed that the reader is familiar with binary and hexadecimal numbers.

Learning to write programs is like learning to ride a bicycle in that reading alone is not enough. Handson practical experience is essential. Therefore, to enhance the usefulness of this book as a learning tool, the reader is encouraged to test some of the example programs given throughout this book using easily available free software, such as the latest demo version of the KEIL IDE (http://www.keil.com).

Content

  1. Preface
  2. Acknowledgements
  3. Dedications
  4. List of Figures
  5. List of Tables
  6. 8051 Basics
    1. Introduction
    2. Memory Types
    3. Code Memory
    4. External RAM
    5. Register Banks
    6. Bit Memory
    7. Special Function Register (SFR) Memory
    8. SFR Descriptions
  7. Basic Registers
    1. The Accumulator, Address E0H, Bit-addressable
    2. The R registers
    3. The B Register, address F0H, Bit-addressable
    4. The Data Pointer (DPTR)
    5. The Program Counter (PC)
    6. The Stack Pointer (SP), address 81H
    7. Addressing Modes
    8. Program Flow
    9. Low-Level Information
    10. Timers
    11. Serial Port Operation
    12. Interrupts
  8. A51 Examples
    1. Template.a51
    2. Serial Port Example Program
    3. Traffic Lights A51 Program
  9. 8032 Differences
    1. 8032 Extras
    2. 256 Bytes of Internal RAM
    3. Additional Timer 2
  10. Evaluation Boards
    1. FLITE-32 Development Board
    2. Typical Settings for KEIL uV2
    3. The NMIY-0031 Board
    4. C8051F020TB
    5. Programming in C with KEIL μV2 IDE
      1. Byte Ordering – BIG ENDIAN and LITTLE ENDIAN
      2. Explicitly Declared Memory Types
      3. Data types
      4. Interrupt routines
    6. Real-Time Operating System
      1. What is a Real-Time Operating System
      2. Types of RTOSs
    7. SanctOS – a Round-Robin RTOS
      1. SanctOS System Commands
      2. Variations from the A51 version
      3. SanctOS example program
    8. PaulOS – a Co-operative RTOS
      1. Description of the RTOS Operation
      2. PaulOS.C System Commands
      3. Descriptions of the commands
      4. PaulOS parameters header file
      5. Example using PaulOS RTOS
    9. MagnOS – a Pre-Emptive RTOS
      1. MagnOS System Commands
      2. Detailed description of commands
    10. Interfacing
      1. Interfacing add-ons to the 8051
      2. LEDs
      3. Input Switches
      4. Keypad
      5. LCD Display
      6. LCD Command Set
      7. DC Motor
      8. DC motor using H-Bridge
      9. Model Servo Control
      10. Stepper Motor
    11. Index for Part I
    12. Index for
    13. Programming Tips and Pitfalls
      1. RAM size
      2. SP setting
      3. SFRs
      4. Port usage
      5. DPTR
      6. Serial port (UART)
      7. Interrupts
      8. RTOSs pitfalls
      9. C Tips
    14. Appendix A ParrOS.a51
      1. Appendix B PaulOS A51 version
      2. Appendix C SanctOS.C
      3. Appendix D PaulOS.C
      4. Appendix E MagnOS.C
      5. Appendix F Further Examples
      6. Appendix G 8086 PaulOS RTOS
      7. Appendix H 8051 Instruction Set
    15. Bibliography
    16. Index
    17. End Notes

About the Author

Ing. Paul Debono read for his undergraduate degree in Telecommunications at the University of Malta which he followed 16 years later with an M.Sc. in Digital Communications from Loughborough University, U.K.

He has been employed with the University of Malta since 1983 within the Faculty of Engineering and the Faculty of ICT where he is a Senior lecturer in the Department of Communications and Computer Engineering.

Before joining the University, he had a 9-year stint in industry first with a Japanese firm Shin-Shirasuna Corporation and later with an Italian firm SGS-ATES. He is married to Maria, with two sons Neil and Luke.

Embed

Size
Choose color
Implementation code. Copy into your own page
Embed Frame - Terms of Use

The embed frame is free to use for private persons, universities and schools. It is not allowed to be used by any company for commercial purposes unless it is for media coverage. You may not modify, build upon, or block any portion or functionality of the embed frame, including but not limited to links back to the bookboon.com website.

The Embed frame may not be used as part of a commercial business offering. The embed frame is intended for private people who want to share eBooks on their website or blog, professors or teaching professionals who want to make an eBook available directly on their page, and media, journalists or bloggers who wants to discuss a given eBook

If you are in doubt about whether you can implement the embed frame, you are welcome to contact Thomas Buus Madsen on tbm@bookboon.com and seek permission.