教學大綱表
請遵守智慧財產權,勿使用非法影印教科書,避免觸法。
課程名稱 (中文) 即時作業系統
(英文) Real-time Operating System
開課單位 資訊工程學系
課程代碼 I4340
授課教師 李良德
學分數 3.0 必/選修 選修 開課年級 大四
先修科目或先備能力:Operating Systems
課程概述與目標:To introduce students to design and evaluation issues in real-time operating systems
教科書 Jean J. Labrosse, MicroC/OS-II: The Real-Time Kernel, R&D Books, Miller Freeman, Inc.
參考教材 1. C. M. Krishna & Kang G. Shin, Real-time systems, McGraw-Hill, Inc.
2. Jean J. Labrosse, Embedded Systems Building Block
課程大綱 學生學習目標 單元學習活動 學習成效評量 備註
單元主題 內容綱要
1 Chapter 1 Introduction to the real time operating systems What is the real time operating systems
uC/OSII features
PC-based services
uC/OSII examples
Learn the basic concept of the real time operating systems
  • 討論
  • 講授
  •  
    2 Chapter 2 Real-time systems concepts Foregroung/background systems
    Critical section
    Multitasking
    Context switch
    Preemptive/ non-preemptive Kernel
    Scheduler
    Task priority
    Learn the features of a real time system
  • 討論
  • 講授
  •  
    3 Chapter 2 Real-time systems concepts Synchronization
    Intertask communication
    Interrupts
    Clock tick
    Memory requirements.
    Learn the features of a real time system
  • 討論
  • 講授
  •  
    4 Chapter 3 Kernel structure Task states
    Task Control Block
    Ready list
    Task scheduling
    Interrupt under uC/OSII
    Clock tick
    Learn the kernel structure of a real time operating system
  • 討論
  • 講授
  • 作業
  •  
    5 Chapter 4 Task management Creating a task
    Task stacks
    Rate monotonic scheduling algorithm
    Earliest deadline first algorithm
    Changing task's priority
    Deleting, suspending, and resuming a task
    Learn the Task management of a real time operating system
  • 討論
  • 講授
  •  
    6 Chapter 5 Time management Delaying a task,
    Resuming a delayed task
    System time
    Learn the time management of a real time operating system
  • 討論
  • 講授
  •  
    7 Chapter 6 Event Control Blocks Placing a task in the ECB wait list
    Removing a task from an ECB wait list
    Finding the highest priority task waiting on an ECB
    Learn the event control blocks of a real time operating system
  • 討論
  • 講授
  • 作業
  •  
    8 Chapter 7 Semaphore Management, Mutual Exclusion Semaphores Creating, deleting, wating for, and signaling a semaphore and
    Mutual exclusion semaphores
    Learn the semaphore and mutual exclusion semaphores managementin a real time operating system
  • 討論
  • 講授
  •  
    9 Midterm Examination Chapter 1 – Chapter 7 Evaluate the learning goals
  • 期中考
  •  
    10 Chapter 8 Event Flag Management Event Flag internals
    Creating, deleting, wating for, and setting or clearing of an event flag group
    Learn the event flag management of a real time operating system
  • 討論
  • 講授
  •  
    11 Chapter 9 Message Mailbox Management Creating, deleting, and wating for a mail box
    Sending a message to a mail box
    Getting a message without waiting
    Learn the management of the message mail box in a real time operating system
  • 討論
  • 講授
  • 作業
  •  
    12 Chapter 10 Message Queue Management Creating, deleting, and wating for a message queue
    Sending a message to a message queue
    Getting a message without waiting
    Learn the management of the message queue in a real time operating system
  • 討論
  • 講授
  •  
    13 Chapter 11 Memory Management Memory control blocks
    Creating a partition
    Obtaining a memory block
    Returning a memory block
    Obtaining status of a memory partition
    using memory partitions
    Waiting for memory blocks from a partition
    Learn the memory management in a realtime operating system
  • 講授
  • 平時考
  •  
    14 Chapter 12 Porting MicroC/OS-II Development tools
    Processor dependent/independent files
    Learn how to port a real time operating system, MicroC/OS-II, on a specific computer system.
  • 討論
  • 實作
  • 講授
  •  
    15 Chapter 12 Porting MicroC/OS-II Startup code
    Testing a port
    Learn how to port a real time operating system, MicroC/OS-II, on a specific computer system.
  • 討論
  • 實作
  • 講授
  •  
    16 Chapter 13 Real-Time Databases Real-time vs. general purpose databases
    Main memory databases
    Transaction priorities
    Transaction aborts
    Concurrency control issues
    Learn the databases in a real time system
  • 討論
  • 講授
  • 作業
  •  
    17 Chapter 14 Fault-Tolerance Techniques Fault types
    Fault detection
    Fault and error containment
    Redundancy
    Learn the fault-tolerance techniques in a real time system
  • 討論
  • 講授
  •  
    18 Final examination Chap 8 - Chap 14 Evaluate the learning goals
  • 期末考
  •  

    教學要點概述:
    教材編選: ■ 自編教材 ■ 教科書作者提供
    評量方法: 期末考:30%   期中考:30%   其他評量:5%   平時考:10%   作業:25%  
    教學資源: ■ 教材電子檔 □ 課程網站
    課程網站:網路大學
    扣考規定:http://eboard.ttu.edu.tw/ttuwebpost/showcontent-news.php?id=504