Difference between revisions of "PA 8001 Ed 2014"

From CERES
Jump to: navigation, search
Line 72: Line 72:
 
|  Lecture 3: Concurrency (Motivation and Mutual Exclusion) ||  [[media:lecture3_handouts_2014.pdf| Handouts]]  [[media:lecture3_slides_2014.pdf| Slides]] ||  ||   
 
|  Lecture 3: Concurrency (Motivation and Mutual Exclusion) ||  [[media:lecture3_handouts_2014.pdf| Handouts]]  [[media:lecture3_slides_2014.pdf| Slides]] ||  ||   
 
|-
 
|-
|  Lecture 4: Concurrency (Context Switch) ||    || ||  [[media:lecture4_handouts_2014.pdf| Handouts]]  [[media:lecture4_slides_2014.pdf| Slides]] ||  ||   
+
|  Lecture 4: Concurrency (Context Switch) ||    || [[media:lecture4_handouts_2014.pdf| Handouts]]  [[media:lecture4_slides_2014.pdf| Slides]] ||  ||   
 
|-
 
|-
 
|  Lecture 5: Test Driven Development (Exercise) ||    || ||  
 
|  Lecture 5: Test Driven Development (Exercise) ||    || ||  

Revision as of 00:02, 17 September 2014

Embedded Systems Programming - Edition 2014

Contact

Lecturer

Mohammad Mousavi

  • Office: E 305
  • Telephone 035 16 71 22
  • Email: [m.r.mousavi@hh.se]

Lab Instructors

Essayas Gebrewahid

  • Office: E 309
  • Telephone 035 16 73 27
  • Email: [essayas.gebrewahid@hh.se]


Objectives

On completion of the course students will be able to

  • program embedded applications
  • understand and use a kernel to support concurrency, real-time and reactivity
  • design, structure and analyze programs for embedded systems
  • explain different mechanisms for communication and synchronization between processes
  • explain characteristics of real-time systems and constructions to deal with them in programs
  • compare, select and apply programming language constructs designed for concurrency and real-time

Assessment

Taking part in the lab is mandatory and one cannot pass the course without doing the practicals. In addition, there will be a final written examination. During the lectures, some bonus questions will be asked, each of which will contribute 0.1 mark to the final mark (can come in handy when rounding up).

Past Examinations

Examination Date Questions Answers
April 2012 Questions Answers
August 2012 Questions Answers
November 2013 Questions Answers

Assessment Guide

Course Material and Resources

Slides and Handouts

Lecture Handouts / Slides Notes Recommended Reading
Lecture 1: Introduction Handouts Slides A Raspberry-Pi Intro Clip.
Lecture 2: Memory-Mapped I/O Handouts Slides C code for the past bonus question
Lecture 3: Concurrency (Motivation and Mutual Exclusion) Handouts Slides
Lecture 4: Concurrency (Context Switch) Handouts Slides
Lecture 5: Test Driven Development (Exercise)
Lecture 6: Real Time (Periodic Tasks)
Lecture 7: Real Time (Deadlines)
Lecture 8: Real Time (Schedulability)
Lecture 9: Java Programming for Android (Basics)
Lecture 10: Java Programming for Android (UI and Concurrency)
Lecture 11: Java Programming for Android (Communication and Services)

Practical Descriptions

Please note that the solutions to the practical have to be submitted via blackboard before the deadline.

Practical Description Deadline Notes
Practical 0: Introduction to C and Raspberry PI PA_8001_2014_Practical_0 September 19, 2014 20:00
Practical 1: Concurrency: Manual Interleaving PA_8001_2014_Practical_1 September 26, 2014 20:00
Practical 2: Scheduling and Concurrency October 3, 2014 20:00
Practical 3: Android Programming: Fundamentals October 10, 2014 20:00
Practical 4: Android Programming: Networking and Communication October 24, 2014 20:00


Extra Practicals

For students requiring assistance in programming skills, extra practicals are organized on Wednesdays.


Practical Description Deadline Notes
Extra Practical 0: C programming: Linked Lists PA_8001_2014_Extra_Practical_0 September 19, 2014 20:00


Resources for C Programming:

Recommended Text

We will occasionally use / refer to parts of the following book:

James W. Grenning, Test-Driven Development for Embedded C, The Pragmatic Bookshelf, 2010.

The book is an optional resource for the course. If you want to have your own copy, you can order it, for example, from Amazon.

Raspberry PI

For the first half of the course, we will use the Raspberry PI board. The boards will be provided at the lab and you will have access to the lab even outside lab hours. However, if you would like to have your own Raspberry PI and have a lot of fun, you can buy a Raspberry PI B+ board (e.g., from [1], which usually includes also a Micro SD card). You need to buy/have your own micro USB adapter. In order to use a computer display you need an HDMI cable or a converter to the appropriate input for your display monitor.

Acknowledgement

The course is based on the earlier editions of the course given by Veronica Gaspes. Also, the material provided by Johan Nordlander has been essential in the set up of this course.

Back to Home