Implementing Simple Realtime Systems Chapter 2. Topics Multi-tasking Simple task loop with interrupts XINU system details How to work on Project 1?

Slides:



Advertisements
Similar presentations
Unit 4 - I Said Stop!. Introduction New Topics Timing Parallelism Sequence of Operations New Features NXT terminals New Functions Wait For.
Advertisements

What is an Operating System?
Chapter 2: Data Manipulation
The Serial Communication Interface (SCI) Chapter 11.
1 School of Computing Science Simon Fraser University CMPT 300: Operating Systems I Dr. Mohamed Hefeeda.
Realtime Systems Fundamnetals
Operating Systems CS208. What is Operating System? It is a program. It is the first piece of software to run after the system boots. It coordinates the.
1 Input/Output Chapter 3 TOPICS Principles of I/O hardware Principles of I/O software I/O software layers Disks Clocks Reference: Operating Systems Design.
CSI 400/500 Operating Systems Spring 2009 Lecture #2 – Functional Parts of an Operating System Monday January 23, 2009.
Decoding Barcodes Various approaches. Decoding barcodes There are a number of ways of decoding the barcodes –The data can be polled –The data can be read.
Robotics Research Laboratory Louisiana State University.
Dr. Hoganson CSIS Segment Display and Count by 16 This is our third lab using the 68HC11 microcontroller. We will write a program that counts by.
0 Deterministic Replay for Real- time Software Systems Alice Lee Safety, Reliability & Quality Assurance Office JSC, NASA Yann-Hang.
Department of Electronic & Electrical Engineering Embedded system Aims: Introduction to: Hardware. Software Ideas for projects ? Robotics/Control/Sensors.
1 Chapter 2. The System-on-a-Chip Design Process Canonical SoC Design System design flow The Specification Problem System design.
1 COMPSCI 110 Operating Systems Who - Introductions How - Policies and Administrative Details Why - Objectives and Expectations What - Our Topic: Operating.
Using Analog Devices’ Blackfin for Embedded Processing Diana Franklin and John Seng.
UART and UART Driver B. Ramamurthy.
Introduction to Basic OS Concepts. Introduction What is an Operating System? Mainframe Systems Desktop Systems Multiprocessor Systems Distributed Systems.
RM2D Let’s write our FIRST basic SPIN program!. The Labs that follow in this Module are designed to teach the following; Turn an LED on – assigning I/O.
(More) Interfacing concepts. Introduction Overview of I/O operations Programmed I/O – Standard I/O – Memory Mapped I/O Device synchronization Readings:
المحاضرة الاولى Operating Systems. The general objectives of this decision explain the concepts and the importance of operating systems and development.
Other Chapters From the text by Valvano: Introduction to Embedded Systems: Interfacing to the Freescale 9S12.
CS 346 – Chapter 1 Operating system – definition Responsibilities What we find in computer systems Review of –Instruction execution –Compile – link – load.
I/O management is a major component of operating system design and operation Important aspect of computer operation I/O devices vary greatly Various methods.
Computer Architecture Lecture 2 System Buses. Program Concept Hardwired systems are inflexible General purpose hardware can do different tasks, given.
1 Lecture on Lab 6 Lab 7 Lab 8. 2 Lab 6: Open Loop Controller As you learned in lab 5, there are two kinds of control systems: open loop and closed loop.
ECS642U Embedded Systems Cyclic Execution and Polling William Marsh.
Computer System Internal components - The processor - Main memory - I / O controllers - Buses External components (peripherals). These include: - keyboard.
ELEC4601 Microprocessors Lab 2 Tutorial Signal Waveforms and Parallel port programming.
Operating System Structure A key concept of operating systems is multiprogramming. –Goal of multiprogramming is to efficiently utilize all of the computing.
Welcome to the world of ARM. COURSE CONTENT Module 1: Introduction  Introduction of ARM Processors  Evolution of ARM  32 - bit Programming Module 2:
CIS250 OPERATING SYSTEMS Chapter One Introduction.
Preface Freescale ARM Corex-M Embedded Programming by Mazidi et al.
Chapter 5: Computer Systems Design and Organization Dr Mohamed Menacer Taibah University
B. RAMAMURTHY 6/13/ Device Drivers. Introduction 6/13/  A device driver is computer program that allows a system to interface with hardware.
Lecture 7: Overview Microprocessors / microcontrollers.
Implementation of Embedded OS Lab3 Porting μC/OS-II.
1 Microprocessors CSE – 341 Basic I/O Interfacing.
Voice Controlled Bot ITSP Idea To make a bot which will follow speech instructions The instructions will be simple like : “start, stop, left, right,
C Programming Chapters 11, . . .
System Software Design Engineer: Mac Gainor Western Washington University.
Lab. 1 – GPIO Pin control Using information ENEL353 and ENCM369 text books combined with Blackfin DATA manual.
B. Ramamurthy 2/28/ Copyright 2009 B. Ramamurthy.
438 labs. Labs Lab 1: Refreshing C and Linux Programming 2 Lab 1: Refreshing C and Linux Programming 2 – First: Getting familiar with development.
MICROCONTROLLER INTERFACING WITH STEPPER MOTOR MADE BY: Pruthvirajsinh Jadeja ( ) COLLEGE:DIET BRANCH:EC.
Big Picture Lab 4 Operating Systems C Andras Moritz
1.1 Silberschatz, Galvin and Gagne ©2013 Operating System Concepts – 9 th Edition Chapter 1: Introduction What Operating Systems Do √ Computer-System Organization.
Introduction In this lab , we will learn
Homework Reading Machine Projects Labs
PROGRAMMABLE LOGIC CONTROLLERS SINGLE CHIP COMPUTER
COMPSCI 110 Operating Systems
Operating Systems (CS 340 D)
UART and UART Driver B. Ramamurthy.
Serial Data Hub (Proj Dec13-13).
Chapter 1: Intro (excerpt)
UART and UART Driver B. Ramamurthy.
Final Exam Review Department of Electrical and Computer Engineering
8051 Supplement.
Operating Systems Chapter 5: Input/Output Management
Final Review CSE321 B.Ramamurthy 12/4/2018 B.Ramamurthy.
Final Review CSE321 B.Ramamurthy 1/1/2019 B.Ramamurthy.
© 2012 Elsevier, Inc. All rights reserved.
Cyclic executives for Bare Hardware
Midterm Review CSE321 B.Ramamurthy 4/13/2019 B.Ramamurthy.
Final Review CSE321 B.Ramamurthy 4/29/2019 B.Ramamurthy.
Final Review CSE321 B.Ramamurthy 4/27/2019 B.Ramamurthy.
Lab #1: Getting Started.
Presentation transcript:

Implementing Simple Realtime Systems Chapter 2

Topics Multi-tasking Simple task loop with interrupts XINU system details How to work on Project 1?

Multi-tasking Execute the command to how many processes you operating system is currently processing: > ps –A | wc -l

Simple Task Loops InitTask1Task2Task3Task4 isr1isr2isr3 Undependable response time Esp. with interrupts

Simple IO Simple IO program to access the parallel port Observe the use of time library for delays. In our project 1 you will access the LEDs on the board using GPIO: General purpose IO, register of 1 bit per LED Simple stepper motor: observe that the code is table-driven

XINU on WRT54GL System Lets analyze the code, various components, the memory layout The XINU kernel

Memory Layout Lets look at XINU/ WRT54GL layout in the handout enclosed. Memory layout Also see the Nexos lab handoutNexos lab handout