Lecture IV Advanced Embedded Systems Software - PowerPoint PPT Presentation

1 / 47
About This Presentation
Title:

Lecture IV Advanced Embedded Systems Software

Description:

No use of DPTR to simplify implementation only scratchpad RAM available as global memory to each task; (If DPTR is used then it requires a semaphore to manage ... – PowerPoint PPT presentation

Number of Views:87
Avg rating:3.0/5.0
Slides: 48
Provided by: peterco6
Category:

less

Transcript and Presenter's Notes

Title: Lecture IV Advanced Embedded Systems Software


1
Lecture IV Advanced Embedded Systems Software
  • RTOS Essentials II
  • Re-entrant Code
  • Semaphores and Resource Management
  • RTOSLite a basic 8051 Implementation
  • The RTOS/Application Interface
  • Task Control Block and Stack Storage
  • Switching Tasks Handling Interrupts
  • Example Application Code

2
(No Transcript)
3
(No Transcript)
4
(No Transcript)
5
(No Transcript)
6
(No Transcript)
7
(No Transcript)
8
(No Transcript)
9
(No Transcript)
10
(No Transcript)
11
(No Transcript)
12
(No Transcript)
13
(No Transcript)
14
(No Transcript)
15
(No Transcript)
16
(No Transcript)
17
(No Transcript)
18
(No Transcript)
19
(No Transcript)
20
(No Transcript)
21
(No Transcript)
22
(No Transcript)
23
(No Transcript)
24
(No Transcript)
25
(No Transcript)
26
(No Transcript)
27
(No Transcript)
28
(No Transcript)
29
(No Transcript)
30
(No Transcript)
31
(No Transcript)
32
(No Transcript)
33
(No Transcript)
34
(No Transcript)
35
Design Objectives/Specs for RTOSLite
  • Create an RTOS with lt 256 Bytes of Control Store
  • Minimal Overhead Just Use ScratchPad RAM
  • Each task contained in single bank of registers
  • Only 4 tasks (4 banks of registers)
  • An always task to allow interrupts blocked
    by other tasks
  • No task priorities first come, first served
  • 1 MHz 8051 can do worst-case task switch in lt
    500 mS
  • RTOS interface extensible same interface used
    for FullRTOS
  • Basic Interrupt Handling for Int0 and Int1 pins
    and internal timers (2)
  • No use of DPTR to simplify implementation only
    scratchpad RAM available as global memory to each
    task (If DPTR is used then it requires a
    semaphore to manage access)

36
(No Transcript)
37
(No Transcript)
38
Macro Listing I for RTOSLite
39
Macro Listing II for RTOSLite
40
Macro Listing III for RTOSLite
41
Macro Listing IV for RTOSLite
42
(No Transcript)
43
NextTask the RTOSLite Scheduler
44
RTOSLite Timer Interrupt Handler
45
RTOSLite Very Basic Task Switching
46
RTOSLite A Simple Application Example
47
(No Transcript)
Write a Comment
User Comments (0)
About PowerShow.com