Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

REVIEW QUESTIONS

  1. What are the advantages of the division of an application into multiple tasks? Define task, task characteristics, task priority and task state. Explain with examples. What are the parameters that must save a task control block? What are the parameters that can be saved at an exemplary task control block?

  2. (a) Show how a task signals another task waiting for the signal to run. (b) Show how a task sends a semaphore (token) to another task waiting for the semaphore to run. (c) When should you use a signal and when a semaphore?

  3. Define real-time and real-time operating system. When do you use RTOS for an application development? Explain with examples.

  4. What is system clock? How does it differ from the clock associated with the microcontroller?

  5. (a) Explain round robin, round robin time slicing and preemptive scheduling with examples. (b) When do you use each of them? Explain with examples.

  6. Explain critical section with an example. How do you use a semaphore in critical section of a task?

  7. When do you prefer to use signal and when semaphore, when notifying to RTOS to let another task unblock? What are the uses of a semaphore?

  8. Explain mailbox. Show how a task sends message to another task waiting for the message to start. Show how a task sends a message-pointer to another task waiting for that to start.

  9. Describe the RTOS functions in RTX51 Tiny. What are the program and data RAM needs of the tiny? List the RTOS functions not available in RTX51 Tiny but available in RTX51 Full.

  10. Explain the meaning of task creation, deletion, waiting for signal, waiting for semaphore, waiting for message and sending signal in RTX51.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint