SE-3910 Real-time Systems Week 10, Class 3 Loop jamming

Slides:



Advertisements
Similar presentations
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:
Advertisements

SE-3910 Real-time Systems Week 7, Class 3 – Announcement – Estimating rates Uncompressed Video Size Compression Ratio Frame rate – the Stroboscope effect.
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 –
SE-3910 Real-time Systems Week 5, Class 2 – Lab turn-in page is up! – Lost-and-not-found power supply – Quick-Quiz (Ungraded) – Use interrupts in a Linux/C.
SE1011 Week 2, Class 3 Today Compiling and running Another example using Scanner Compile-time and Run-time errors Review for exam SE-1011 Slide design:
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.
SE-3910 Real-time Systems Week 2, Class 2 – Return stuff, New HW Assignment! – Quiz! (Possibly with review) Ohm’s Law Kirkhoff’s Current Law Switches Using/reading.
Today Networking in Linux/C Lab Eclipse cross-compiling Measuring latency of 100% CPU busy-wait polling Sleeping busy-wait polling Interrupt-driven response.
LINUX System : Lecture 7 Bong-Soo Sohn Lecture notes acknowledgement : The design of UNIX Operating System.
Today Quiz Multithreading Options Qt socket buffers between threads Quiz today & Tuesday in lab SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr.
ECS642U Embedded Systems Cyclic Execution and Polling William Marsh.
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 –
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.
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.
SE-1021 Software Engineering II Week 1, Day 2 Attendance Survey results: Use powerpoint Safety Review Preparation for Lab 1 More on Java fundamentals…
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.
SE-3910 Real-time Systems Week 7, Class 1 – Announcement – GStreamer – Bins Boardshots – QT Swing & Qt Signals & Slots – Code – Example SE Dr. Josiah.
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 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 Signals Nyquist Theorem (revisited) Audio Sampling Latency and Bandwidth Scheduling Theory SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr.
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)
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.
CS-321 Dr. Mark L. Hornick 1 CS-321 – Computer Graphics Dr. Mark L. Hornick web: webCT: webct.msoe.edu.
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.
Week 6, Class 3: Composite Swing composites File composites Computer composites SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors:
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.
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 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.
CS-2852 Data Structures Week 5, Class 3 – Testing and Recursion Queue Implementing finite queues Binary Search Recursion Tomorrow – Quiz, Lab demos, Lab.
Real-time Software Design
Slide Style & Content: Dr. Schilling
Microcontrollers, Basics Tips and Tricks with PIC MCUs
SE-3910 Real-time Systems Week 10, Class 2
TrueTime.
Operating System Review
Slide design: Dr. Mark L. Hornick
Slide style: Dr. Hornick
SE-2811 Software Component Design
Polling vs. Interrupts CS2852 7/20/2018
Programming with Arduinos and Rapsberry Pi
Polling vs. Interrupts CS2852 9/18/2018
Operating System Review
Slide design: Dr. Mark L. Hornick
SE-1021 Software Engineering II
CSCI1600: Embedded and Real Time Software
Lecture Topics: 11/1 General Operating System Concepts Processes
Chapter 5: I/O Systems.
Slide design: Dr. Mark L. Hornick
SE-1011 Slide design: Dr. Mark L. Hornick Instructor: Dr. Yoder
CSCI1600: Embedded and Real Time Software
LINUX System : Lecture 7 Lecture notes acknowledgement : The design of UNIX Operating System.
SE-3910 Real-time Systems Week 10, Class 2
SE-1011 Slide design: Dr. Mark L. Hornick Instructor: Dr. Yoder
SE-1021 Software Engineering II
Slide design: Dr. Mark L. Hornick
Polling vs. Interrupts CS2852 4/9/2019
Polling vs. Interrupts CS2852 4/21/2019
SE-1021 Software Engineering II
Slide design: Dr. Mark L. Hornick
CS-2852 Data Structures Week 1, Class 1 Data Structures Syllabus
SE-3910 Real-time Systems Week 4, Class 1 Quick-Quiz (Ungraded!)
SE-1011 Slide design: Dr. Mark L. Hornick Instructor: Dr. Yoder
SE-1011 Slide design: Dr. Mark L. Hornick Instructor: Dr. Yoder
Slide design: Dr. Mark L. Hornick
Chapter 13: I/O Systems “The two main jobs of a computer are I/O and [CPU] processing. In many cases, the main job is I/O, and the [CPU] processing is.
Presentation transcript:

SE-3910 Real-time Systems Week 10, Class 3 Loop jamming CS2852 5/21/2018 SE-3910 Real-time Systems Week 10, Class 3 Loop jamming Class Climate Survey SE3910 Class 5-1 Yoder PPT notes Spring 2014 Print 1-5,11,13-21 Instructor: Print notes Tentative Class Objectives: Explain why writing a file causes a pin to “light” Explain why reading a file reads a 3.3/0V value from a pin Create programs using file I/O Create new capabilities for the GPIO library Create new kernel modules for the BeagleBone? - Because it’s cool - To give deeper hardware/software understanding - To give familiarity with the whole beagle-bone process Explore the Beaglebone OS source code Explain key design decisions made by Beaglebone / Linux OS writers Contrast these decisions with Classic Linux and Windows decisions For HW: Explain the concept of rise time and fall time. Make sketch or figure: Using the oscilloscope, measure the time difference between two signals. Classify events as either being synchronous or asynchronous, periodic, aperiodic, or sporadic Explain the difference between an embedded and non-embedded system Explain the difference between a real-time system and a non-real-time system Identify the key components of the Beaglebone platform Explain why the Beaglebone changes operating frequency under different power conditions Identify the key hardware interfaces of the beaglebone Explain the concept of a cape (daughterboard) Calculate the software GPIO pin number from an expansion port header definition Understand how to read a basic schematic Explain the concept of a dropping resistor Explain the concept of a pull up and a pull down resistor Short the beaglebone’s output to ground Connect the input directly to 5V Connect the input through a resistor to 5V Discuss peak voltage again Potential Topics Piazza Link to Schilling’s PDF Slides Future Quick-quizzes: Labeling voltage, current etc. Why frequency scale? What is the advantage of turning down frequency? HW: How to set frequency to minimize power consumption given full-speed CPU load? (for after scheduling later)Suppose a program blocks X time, and runs Y time while waiting for data, per period. What is the CPU load? Future potential objectives: Discuss two kinds of interrupt systems: Idle main “background” main etc. Identify possible values for hyperperiod and frames in cyclic scheduling Compare and constrast round-robin and cyclic scheduling SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling, Some from Dr. Hornick, etc. Dr. Yoder

What is loop jamming? Aka “loop fusion” Taking two (or more) loops and “jamming” or “fusing” them into a single loop See source https://faculty-web.msoe.edu/yoder/se3910/code/class10_3_LoopJamming/ SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling

Why Loop Jamming? CS2852 5/21/2018 Note: These results are in Java… SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling Dr. Yoder

How to jam loops? [See source] https://faculty-web.msoe.edu/yoder/se3910/code/class10_3_LoopJamming/ SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling

End-of-quarter Survey http://bit.ly/1n1ODFW https://www.polleverywhere.com/survey/Cvjnc1Zxj (Also on slides following) SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling

http://www.polleverywhere.com/free_text_polls/CYq5CKO7bbUweNA CS2852 5/21/2018 What surprised? SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling Dr. Yoder

http://www.polleverywhere.com/free_text_polls/PHhTsOyf7nlvUY8 CS2852 5/21/2018 Excited SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling Dr. Yoder

http://www.polleverywhere.com/free_text_polls/LLAO3V0pQQkS7dy CS2852 5/21/2018 bored SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling Dr. Yoder

http://www.polleverywhere.com/multiple_choice_polls/c8T3q49whOf35En CS2852 5/21/2018 Is HW helpful? SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling Dr. Yoder

http://www.polleverywhere.com/free_text_polls/6VGyPCsZDZ1U9RP CS2852 5/21/2018 HW + SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling Dr. Yoder

http://www.polleverywhere.com/free_text_polls/5ijeBFNwpokt5rU CS2852 5/21/2018 HW delta SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling Dr. Yoder

http://www.polleverywhere.com/multiple_choice_polls/lYk8r7F65jD7iRH CS2852 5/21/2018 Lecture learn SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling Dr. Yoder

http://www.polleverywhere.com/multiple_choice_polls/XCLONp5znP31hnt CS2852 5/21/2018 Lectures prepare SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling Dr. Yoder

http://www.polleverywhere.com/free_text_polls/kpNMOPYEVJ2Ae3m CS2852 5/21/2018 Lectures + SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling Dr. Yoder

http://www.polleverywhere.com/free_text_polls/kOTrJEeUeJA3u9G CS2852 5/21/2018 Lectures delta SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling Dr. Yoder

http://www.polleverywhere.com/multiple_choice_polls/a1w8ZnHKc3pcP8t CS2852 5/21/2018 Labs learning SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling Dr. Yoder

http://www.polleverywhere.com/free_text_polls/DZuYAcmrL0nxANt CS2852 5/21/2018 Labs + SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling Dr. Yoder

http://www.polleverywhere.com/free_text_polls/LJkLLfps9rOesAm CS2852 5/21/2018 What could be improved? SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling Dr. Yoder

http://www.polleverywhere.com/multiple_choice_polls/FHmUO1YAWzbSgwn CS2852 5/21/2018 C SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling Dr. Yoder

http://www.polleverywhere.com/free_text_polls/kUlVg8cBVItpLzt CS2852 5/21/2018 C comments SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling Dr. Yoder

http://www.polleverywhere.com/multiple_choice_polls/kY72iG5WShobT8H CS2852 5/21/2018 Embedded SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling Dr. Yoder

http://www.polleverywhere.com/free_text_polls/UybT02T9w5HmgFQ CS2852 5/21/2018 Embedded comments SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling Dr. Yoder