C Programming for Embedded Systems, part I
2 day course
Request more information
Leevi Lehtinen – Finland
phone: +358 40 546 1469
Lena Bernhardsson – Sweden
+46 (0) 40 59 22 09
Loan of training material, loan computers and lunch are included.
C is still the most common language for programming microprocessors. We offer you a complete introduction course that gives you a kick-start!
This is mainly a hands-on training course.
On this C Programming training course you will learn about datatypes, functions, operators, and expressions. We also talk about standard libraries and programstructuring.
You will gain enough knowledge to start programming yourself, you will have a good platform to start for developing in C.
We have had developers of embedded systems with no or little prior knowledge of C in our minds as participants, when we created this seminar.
To gain the most from this seminar, you must be familiar with programming in one language or the other, but not necessarily C. Maybe you have old knowledge in C that you need to freshen up?
Practical exercises / Tools
This class has many exercises included, showing the advantages of programming in C for microcomputers.
Each theoretical part is followed by a practical exercise. We perform the exercises on a PC under teacher’s supervision.
We use an integrated Windows environment. You will edit, compile and link you code via a compiler from Keil, and a Lauterbach-debug connected to an ARM Cortex-M3 board.
The origin of C and what is has meant for development.
- Overview of the advantages and downsides of C.
Standard C (ANSI)
- The meaning of the standard and portability.
- How the language is built and included parts.
- Overview of declarations, integer types, etc.
- Number constants, character constants, strings and constants in strings.
- Initiatings, vectors and indexing.
- Overview of arithmetic, shift, comparisons, bit, logical operators, terms and allocations.
- Shift and operator applications.
- Declaration of functions, definitions and calls with parameters.
- Pointers as parameters.
Self defined data types
- Structures and type declarations.
- An orientation on pointers and the use of such.
- An overview of standard functions and libraries.
- Practical exercises with input and output, file handling and strings.