Syllabus for |
|
LEU500 - Machine oriented programming |
|
Syllabus adopted 2015-02-03 by Head of Programme (or corresponding) |
Owner: TIDAL |
|
7,5 Credits |
Grading: TH - Five, Four, Three, Not passed |
Education cycle: First-cycle |
Major subject: Automation and Mechatronics Engineering, Computer Science and Engineering, Electrical Engineering
|
Department: 37 - COMPUTER SCIENCE AND ENGINEERING
|
Teaching language: Swedish
Course module |
|
Credit distribution |
|
Examination dates |
Sp1 |
Sp2 |
Sp3 |
Sp4 |
Summer course |
No Sp |
0104 |
Laboratory |
1,5 c |
Grading: UG |
|
|
|
1,5 c
|
|
|
|
|
|
0204 |
Examination |
6,0 c |
Grading: TH |
|
|
|
6,0 c
|
|
|
|
|
14 Mar 2016 pm L, |
04 Apr 2016 pm L, |
19 Aug 2016 am L |
In programs
TIDAL COMPUTER ENGINEERING, Year 1 (compulsory)
TIELL ELECTRICAL ENGINEERING, Year 1 (compulsory)
TIMEL MECHATRONICS ENGINEERING, Year 2 (compulsory)
Examiner:
Professor
Ulf Assarsson
Docent
Lars R Bengtsson
Go to Course Homepage
Eligibility:
In order to be eligible for a first cycle course the applicant needs to fulfil the general and specific entry requirements of the programme(s) that has the course included in the study programme.
Course specific prerequisites
Introductory courses in imperative programming and computer engineering.
Aim
This course is intended as an introduction to small embedded systems. It should give the student insight into how imperative constructs are translated to assembly code and also demonstrate the problems that arise when event driven systems with several data sources are to be programmed.
Learning outcomes (after completion of the course the student should be able to)
- write simple assembly language programs using the selected architecture's instruction set.
- write simple machine oriented C programs using the programming language's data types and control structures.
- describe the assembler equivalent of typical programming structures in C.
- apply tools from the course to develop programs
- contribute to the construction and programming of simple embedded systems with given components
- construct systems generating various types of exceptional events (internal exceptions, interrupts, restarts)
- describe and illustrate a few basic types of peripherals and their use.
Content
Software development in C and assembly language, testing and troubleshooting. Structured assembler, basic code generation.
First level system programming, ie how the computer is programmed to boot from power on, and handling of different types of exceptions such as internal errors, events and interrupts.
Programming devices for parallel input and output, time management and programming of timers. Basics of computer communications and programming devices for serial communications. Moreover, a simple time-sharing systems (in C and assembly language) with special emphasis on the use of peripheral circuits, is implemented.
Organisation
Scheduled teaching comprises lectures, demonstrations, and supervised simulation and coding exercises; and also supervised mandatory laboratory.
During the course, the student designs progressively bigger and bigger building blocks of software in C and assembler. The theory is acquired through lectures and demonstrations. The student designs the blocks then carries out tests with the aid of simulators during simulation exercises. In preparation for laboratory exercises the student will finally adapt the software in order to enable hardware verification of the function.
Literature
See the course homepage.
Examination
Examination is based on a written exam and approved laboratory exercises. Based on the exam result, the grade U, 3, 4, or 5 is given.