Real Time OS on MBED - PowerPoint PPT Presentation

1 / 9
About This Presentation
Title:

Real Time OS on MBED

Description:

Real Time OS on MBED Spencer Reardon and Kenneth Adams Jr. ECE 4180 Design Service Calls (API) Threads Synchronization I/O Scheduler Drivers Demo Apps Threads API ... – PowerPoint PPT presentation

Number of Views:39
Avg rating:3.0/5.0
Slides: 10
Provided by: gate327
Category:
Tags: mbed | gpio | real | time

less

Transcript and Presenter's Notes

Title: Real Time OS on MBED


1
Real Time OS on MBED
Spencer Reardon and Kenneth Adams Jr. ECE 4180
2
Design
  • Service Calls (API)
  • Threads
  • Synchronization
  • I/O
  • Scheduler
  • Drivers
  • Demo Apps

3
Threads
  • API Calls
  • task_create
  • task_wait
  • task_exit
  • task_detach
  • task_self
  • sleep
  • Features
  • Priority designation (real time, high, normal,
    and low), range of allowable stack sizes,
    protected stacks, lower power idle mode

4
Synchronization
  • API Calls
  • mutex_create
  • mutex_lock
  • mutex_unlock
  • Features
  • Task ownership, sleep based blocking, makes use
    of ARM atomic instruction, smart unlocking

5
Memory Protection
  • Implementation
  • Catches access violations
  • Stack overflow protection

6
I/O Device Support
  • Implementation
  • open
  • read
  • write
  • close
  • seek
  • ioctl
  • Features
  • Sleep tasks trying to write to full buffers
    supports pwm, GPIO, serial, filesystem

7
Gantt Chart
(Planned)
(Actual)
8
Demo
  • SPASH (SPArtan SHell) Offers a command
    interpreter that allows a user to run various
    tasks.
  • Control priorities of tasks
  • Background or foreground tasks
  • Various applications
  • top show multiple tasks running
  • audio plays audio over pwm output
  • video plays video over serial connection
  • crash force user mode crash by null dereference
  • Debug Console Debug console shows pertinent
    information about task life cycles

9
Questions?
You there, student, what is your question?
Write a Comment
User Comments (0)
About PowerShow.com