|Responsible unit:||Department of Informatics Engineering|
|Course/CS Responsible:||Master in Informatics and Computing Engineering|
|Acronym||No. of Students||Study Plan||Curricular Years||Credits UCN||Credits ECTS||Contact hours||Total Time|
|MIEIC||193||Syllabus since 2009/2010||2||-||6||70||162|
|Pedro Alexandre Guimarães Lobo Ferreira Souto|
|Pedro Alexandre Guimarães Lobo Ferreira Souto||2,00|
|Pedro Miguel Moreira da Silva||12,00|
|Nuno Miguel Cardanha Paulino||3,00|
|Pedro Alexandre Guimarães Lobo Ferreira Souto||3,00|
|Ricardo Jorge Ferreira Nobre||6,00|
I/O devices are an integral part of a computer, without which the usefulness or the ease of use of a computer would be significantly lower. The importance of I/O devices in computer-based systems has increased since the first generation of computers, and it continues up to these days with the ever increasing use of computers in embedded systems. However, programming of I/O devices using their programatic interface requires specific knowledge and techniques.
2- Specific Objectives
This course unit aims to endow students with the knowledge and the skills required to:
3- Percentual Distribution
Students, who successfully complete this course unit, should understand the main models of hardware access and be able to apply them in the development of relatively large programs.
Students should have the knowledge and have acquired the competencies expected from approval in the courses:
Input/Output peripherals and their operation. Direct mapping in a process address space. Access to peripherals in polled mode and by interrupt. Processor interrupts in the IA-32 architecture and the interrupt controller, interrupt service routines in Assembly and in C.
Study of some typical personal computer peripherals, such as keyboard, mouse, graphics card, real time clock, timer, loudspeaker and serial port.
Programming in the C programming language: main differences with respect to C++ language; structured programming in C. Memory layout of a process. Function calls: mechanisms, parameter passing, storage of local variables and return values. Event based programming. Combined programming in C and the IA-32 processor family assembly.
Creation and use of libraries. Static linking of object code.
Use of software development tools: cc, make, ar, diff, patch, SVN and doxygen.
A "learn by doing" approach will be used. In the first 8 lab classes, the students will carry out in groups lab assignments about some of the most common PC peripherals. In the remaining weeks, students will develop a small integration project using several peripherals and the techniques previously studied.
Lecture classes will be used to present the concepts, taking into account their application in the lab assignments, and to discuss the details of the lab assignments and the projects.
|Frequência das aulas||62,00|
Students have fill the self-evaluation forms of each of the labs submitted for grading and of the project. Furthermore, students must develop and present the final project and they cannot miss more than 25% of the scheduled classes.
Students registered as TE must also demo their lab assignments at a date and time to arrange with the lecturer.
0,4 * Labs + 0,4 * Project + 0,1 * Programming_Test + 0,1 * Class_participation
"Labs" is the average of the grade of 4 labs chosen by the student. For final grades of 19 or 20 "valores", one of the labs "chosen" must be the mouse lab.
Although the lab assignments and the project will be done in groups of 2 students, exceptionally of 1 or 3, members of the same group may have different grades.
For approval, students must have a minimum grade of 8 (in 20) in all the grade components, except for the Class-participation.
For all other students, the standard grading rules, specified above, apply.
Students have to do a project and lab assignments in the following year.
In extraordinary situations (such as registration of students who do not know Portuguese), classes can be taught in English.