• Embed Doc
  • Readcast
  • Collections
  • CommentGo Back
Download
 
I
ProgrammingEmbedded Systems II
 A 10-week course, using C
4   0   3   9   3   8   3   7   3   6   3   5   3  4  1  2   3  4   5   6   7  
‘8051’
 8   9  1   0   3   3   3  2   3  1   3   0  2   9  2   8  2   7  2   6  2   5  2  4  1  1  1  2  1   3  1  4  1   5  1   6  1   7  1   8  1   9  2   0  2   3  2  2  2  1  
 3 . 0 .R S . 6 . 5 ... 3 .. 0  S  S  3 . 3 . 6  3 . 5  3 . 3  3 . 3 . 3 . /   0 . 6  0 . 0 . 5  0 . 0 . 3  0 . 0 . 0 . 0  C  C . 0 ... 3 .. 5 .. 6  /   S N
Michael J. Pont
University of Leicester [v1.1]
 
II
Copyright © Michael J. Pont, 2002-2003
This document may be freely distributed and copied, provided that copyright notice atthe foot of each OHP page is clearly visible in all copies.
 
III
Seminar 1:
A flexible scheduler for single-processor embedded systems
1
Overview of this seminar2Overview of this course3By the end of the course youll be able to 4Main course text5IMPORTANT: Course prerequisites6Review: Why use C?7Review: The 8051 microcontroller8Review: The super loopsoftware architecture9Review: An introduction to schedulers10Review: Building a scheduler11Overview of this seminar12The Co-operative Scheduler13Overview14The scheduler data structure and task array15The size of the task array16One possible initialisation function:17IMPORTANT: The one interrupt per microcontrollerrule!18The Updatefunction19The Add Taskfunction20The Dispatcher22Function arguments24Function pointers and Keil linker options25The Startfunction28The Delete Taskfunction29Reducing power consumption30Reporting errors31Displaying error codes34Hardware resource implications35What is the CPU load of the scheduler?36Determining the required tick interval38Guidelines for predictable and reliable scheduling40Overall strengths and weaknesses of the scheduler41Preparations for the next seminar42
of 00

Leave a Comment

You must be to leave a comment.
Submit
Characters: ...
You must be to leave a comment.
Submit
Characters: ...