SE3910 Week 2, Class 2 Today Real-Time Systems Embedded Systems Other ??? Week 3 Tuesday Lab Lab start TBA SE-2811 Slide design: Dr. Mark L. Hornick Content:

Slides:



Advertisements
Similar presentations
Implementing Fault Tolerant Systems with Windows CE.NET Reliable System Design 2010 by: Amir M. Rahmani.
Advertisements

SE2811 Week 8 Monday (last drop day) The Command Pattern Lambda Expressions SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors: Dr.
Week 8, Class 3: Model-View-Controller Model-View-Controller Why? What? How? Example: Barnyard Simon for the Web Question: Where should we use the command.
Basic Real Time Concepts Systems Concepts Real-Time Definitions Events and Determinism CPU Utilization Real-Time System Design Issues Example Real-Time.
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
SE3910 Week 2, Class 1 Today Basic Circuits Other ??? Tomorrow Lab 2, S365 (Complete prelab BEFORE) Thursday See ScheduleSchedule SE-2811 Slide design:
SE-3910 Real-time Systems Week 3, Class 1 – Beaglebone Documentation (cont.) – Review/Basic Circuits (cont.) Switches & Pull-up resistors How to burn up.
Virtual Plant Tour Stamping – c&p=n#/27;109http:// c&p=n#/27;109 –
Today TBA Tomorrow Good Friday SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors: Dr. Yoder 1 SE3910 Week 5, Class 3.
CS2852 Week 2, Class 1 Today Generics (Section 051) Big-O runtime analysis Muddiest Point Lab Quiz Includes writing a method from ArrayList class (See.
SE3910 Week 1, Class 3 Today – Introductions Safety Review Policy The course Tomorrow Lab 1, S365 (Purchase Beaglebone black kit BEFORE) Thursday Class.
Today Networking in Linux/C Lab Eclipse cross-compiling Measuring latency of 100% CPU busy-wait polling Sleeping busy-wait polling Interrupt-driven response.
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
Today Quiz Multithreading Options Qt socket buffers between threads Quiz today & Tuesday in lab SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr.
SE-3910 Real-time Systems Week 5, Class 1 – Quick-Quiz (Ungraded) – Lab 4 turn-in up - due Tuesday, Week 5 – Select when to use Polling or Interrupts –
CS2910 Week 1, Class 2 Today Announce Prof. Michael Vieau’s S-341 6p Thurs Wk 2 Assignment for tomorrow Data Encoding, Part 1 Parsing Data Muddiest Point.
CS2910 Week 1, Class 1 Today Introductions Class/Lab Layout Safety Review - Note about Lab Safety Review Announce Prof. Michael Vieau’s S-341 6p Thurs.
SE3910 Week 1, Class 2 Today – Introductions Safety Review Policy The course Tomorrow Lab 1, S365 (Purchase Beaglebone black kit BEFORE) Thursday Class.
Today C/C++:.h/.cpp; compiling and linking Fourier Transform (corrected) Nyquist Theorem Audio sampling rates SE-2811 Slide design: Dr. Mark L. Hornick.
SE-3910 Real-time Systems Week 2, Class 3 – Return Quiz, Q’s on HW Assignment? – Signals – Audio! – Review/Basic Circuits Kirkhoff’s Current & Voltage.
SE-3910 Real-time Systems Week 5, Class 2 – Lab turn-in page is up! – Use interrupts in a Linux/C environment – Scheduling – Watchdog follow-up Watchdog.
CS2852 Week 3, Class 2 Today Stacks Queues SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors: Dr. Yoder 1.
Today Nervous System Response Time SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors: Dr. Yoder 1 SE3910 Week 3, Class 2.
Today Return Quiz Class Climate Survey Review SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors: Dr. Yoder 1 SE3910 Week 10, Class.
This course is designed by Dr. Khaled A. Al-Utaibi.
SE-3910 Real-time Systems Week 1, Class 2 – Fine Print – Web page available – Review Quiz 0 – What is a Real-Time Embedded System? Embedded & Real-Time.
CS2852 Week 6, Class 1 Today The run-time stack Writing and proving recursive methods SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors:
CS2852 Week 5, Class 2 Today Queue Applications Circular Queue Implementation Testing SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors:
CS2852 Week 7, Class 1 Today Binary Search Tree Implementing add Implementing find Return Quiz 4 (second attempt) Both sections are graded SE-2811 Slide.
Today Return Quiz First release of final project template Multithreading Options Qt socket buffers between threads Tomorrow: Quiz Interthread communication.
Today Final Project “Preview” Real-time concurrency Multithreading Options pthreads qthreads GPIO.h & GPIO.cpp Quiz tomorrow & Tuesday in lab SE-2811 Slide.
Today Return Quiz First true release of final project (Lab 8) Multithreading Options Qt socket buffers between threads SE-2811 Slide design: Dr. Mark L.
Today Quiz not yet graded Final report requirements posted More on Multithreading Happens-Before in Java SE-2811 Slide design: Dr. Mark L. Hornick Content:
CS2852 Week 3, Class 2 Today Big-O runtime analysis Linked Lists Muddiest Point Lab Quiz Includes writing a method from ArrayList class (See next slide)
Today Signals Nyquist Theorem (revisited) Audio Sampling Latency and Bandwidth Scheduling Theory SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr.
CE1901 Week 6, Class 3 Week 6 Mini-Exam Review Muddiest Point Timing Diagrams (See this slide and Outcomes on course webpage – link now available)Outcomes.
CS2852 Week 2, Class 2 Today Big-O runtime analysis Linked Lists Muddiest Point Lab Quiz Includes writing a method from ArrayList class (See next slide)
Week 7, Class 1: The Command Pattern (cont.) Get Ready for Poll Everywhere Labs 2 & 3 returned Lab 7 due this evening at 11pm Quiz tomorrow at start of.
CS2910 Week 4, Class 2 Today Sit by someone you have not yet worked with this quarter. Learn his/her name if unknown. Turn on your laptop and start Wireshark.
Today (or Thursday) Qt Thursday Quiz SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors: Dr. Yoder 1 SE3910 Week 6, Lab.
CS2910 Week 8, Class 2 Today Return Quiz Look at Schedule TCP implementation! Week 8, Monday Quiz on SMTP May include some questions requiring you to interpret.
Today Quiz not yet graded (Sorry!) More on Multithreading Happens-Before in Java Other langauges with Happens-Before Happens-Before in C++ SE-2811 Slide.
CS2910 Week 7, Class 1 Today Capturing SMTP with Thunderbird Tomorrow Extra office hour at 11 am (right after lab) Friday Office hour cancelled SE-2811.
SE3910 Week 6, Class 1 Week 6, Class 2 (Wednesday) Quiz Week 7, Class 2 (Wednesday) Half-Exam 2 Bring Calculator!! Qt GUI Design Analog and Digital Datarates.
CS2910 Week 6, Lab Today Dictionaries in Python SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors: Dr. Yoder 1.
SE3910 Week 5, Class 3 Week 6, Class 2 (Wednesday) Quiz Week 7, Class 2 (Wednesday) Half-Exam 2 Analog and Digital Datarates SE-2811 Slide design: Dr.
SE3910 Week 4, Class 3 Notes on Lab 5 Code to write! Next week Monday Afternoon OH (after class) cancelled Ask questions before class if possible Week.
SE3910 Week 8, Class 2 Week 4 Lab: Please return your graded Lab 4 to me so I can enter it in my gradebook Week 7, Class 2 (Wednesday) Half-Exam 2 Done.
SE3910 Week 1, Class 1 Today – Introductions The students (informally) The instructor Safety Review Policy The course Tomorrow (If you are in that section)
SE3910 Week 8, Class 3 Week 4 Lab: Please return your graded Lab 4 to me so I can enter it in my gradebook Week 9 Lab: Individual demos of working sub-modules.
REAL-TIME OPERATING SYSTEMS
EMBEDDED SYSTEMS.
Slide design: Dr. Mark L. Hornick
Slide design: Dr. Mark L. Hornick
SE-3910 Real-time Systems Week 10, Class 3 Loop jamming
Slide design: Dr. Mark L. Hornick
Polling vs. Interrupts CS2852 7/20/2018
Polling vs. Interrupts CS2852 9/18/2018
Slide design: Dr. Mark L. Hornick
Week 7, Class 1: The Command Pattern (cont.)
Slide design: Dr. Mark L. Hornick
Slide design: Dr. Mark L. Hornick
Polling vs. Interrupts CS2852 4/9/2019
Slide design: Dr. Mark L. Hornick
Polling vs. Interrupts CS2852 4/21/2019
Slide design: Dr. Mark L. Hornick
Slide design: Dr. Mark L. Hornick
Slide design: Dr. Mark L. Hornick
SE-3910 Real-time Systems Week 4, Class 1 Quick-Quiz (Ungraded!)
Slide design: Dr. Mark L. Hornick
Presentation transcript:

SE3910 Week 2, Class 2 Today Real-Time Systems Embedded Systems Other ??? Week 3 Tuesday Lab Lab start TBA SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors: Dr. Yoder 1

Equipment (Reminder) This week: Purchase 4GB or greater micro SD card Used Lab 3 (Optional) Tools – e.g. needle-noise pliers Check out short-term Kit (breakout board, breadboard cape, LCD cape, USB Oscilloscope) Small parts (also may desire to purchase) SE-2811 Dr.Yoder 2

Ex: What is the resistance of this resistor? SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 3

What would you most like to do? Please take this survey: (You only need to pick 5) to-do-m6e93hx.fullpage to-do-m6e93hx.fullpage – OR – And then…. you-most-like-to-do-m6e93hx/answers SE-2811 Dr.Yoder 4

Real-time and Embedded Real-Time responding as rapidly as required by the user or the process being controlled. - Random House Dictionary (Abbrev.) Embedded System A combination of hardware & software to perform a specific function -Dr. Schilling’s slides Often real-time SE-1021 Dr. Josiah Yoder Slide style: Dr. Hornick 5

SE-1021 Dr. Josiah Yoder Slide style: Dr. Hornick Slide copied from Dr. Schilling’s Slides 6

What is a system? System A mapping from a set of inputs to outputs SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 7

Example: Weather Monitor SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 8

Response Time & Latency Response Time – The time between input events and all possible output events – Release Time – When a process is ready to start SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 9

Response Time & Latency Latency - a time delay between stimulus and response, or between cause and effect (Wiki) Latency Memory Latency – Delay between write & read (Wiki) Memory Latency Interrupt Latency – Delay between stimulus and starting handler Interrupt Latency Audio Latency – Delay from audio in to audio out of a system (=response time) Audio Latency Network Latency – Delay from send to receive [or …] Network Latency Conclusion: Latency = response time, possibly for a sub-system SE-2811 Dr.Yoder 10

Real-Time System Terminology Soft Not destroyed by failure to meet response time Firm Destroyed by failure to meet multiple deadlines Hard Destroyed by failure to meet a single deadline SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 11

Exercise On your own: Write which kind of real-time system is being used With your partner, discuss & fill in the explanations 12 SystemClassificationExplanation Video Surveillance System for Car Dealership Laser welding robot to construct car frames 2 player air hockey game on game console

Microcontroller vs. Microprocessor Microprocessor a single chip holding a single (large) CPU what most PC’s have Microcontroller A single chip holding a CPU, memory, peripherals What’s on the Beaglebone Black SE-2811 Dr.Yoder 13

System on a Chip vs. MicroController Microntroller – see previous System on a Chip broader will include microcontroller may include more (e.g. analog components) a bit of a buzzword – every manufacturer has their own meaning SE-2811 Dr.Yoder 14

The AM 335x (The Beaglebone’s CPU chip) SE-2811 Dr.Yoder 15

An i5 (Intel chip in laptop) 50/2 SE-2811 Dr.Yoder 16

Five Misconceptions (paraphrased from Laplante and Ovaske) Real-time systems are fast All you need is a real-time OS a rate-monotonic scheduler lots of scheduling theory We’ve figured out how to make real-time systems SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 17

Timing Terminology Event A jump in the program counter Synchronous Predicatable. Scheduled. In sync with other events Asynchronous Unpredictable. Unscheduled. External requests Aperiodic – No fixed period, asynchronous Sporadic – Extremely infrequent and aperiodic Punctual – Neither early nor late SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 18

Muddiest Point Wait for the slides, or follow this link to answer both questions at once: SE-2811 Dr.Yoder 19

SE-2811 Dr. Josiah Yoder 20

SE-2811 Dr. Josiah Yoder 21

References EB: Derek Malloy, Exploring Beaglebone, Wiley, 2015 SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors: Dr. Yoder 22