C Programming for Embedded Systems, part 1
Place: Onsite
Request more information
Magnus Kindberg (SE, NO)
Phone: +46 (0)40 59 22 22
magnus.kindberg@nohau.se
Heidi Lehtomäki – Finland
phone: +358 40 196 0142
heidi.lehtomaki@nohau.fi
Klaus Ahrensbach – Denmark
Phone: +45 3116 1019
ka@nohau.dk
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 that spans over 2 days.
Goal
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.
Participants
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.
Previous knowledge
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.
Content
Introduction
The origin of C and what is has meant for development.
C orientation
- Overview of the advantages and downsides of C.
Standard C (ANSI)
- The meaning of the standard and portability.
Structures
- How the language is built and included parts.
Datatypes
- Overview of declarations, integer types, etc.
Constants
- Number constants, character constants, strings and constants in strings.
Variables
- Initiatings, vectors and indexing.
Operators
- Overview of arithmetic, shift, comparisons, bit, logical operators, terms and allocations.
Bit handling
- Shift and operator applications.
Functions
- Declaration of functions, definitions and calls with parameters.
- Pointers as parameters.
Self defined data types
- Structures and type declarations.
Pointers
- An orientation on pointers and the use of such.
Library
- An overview of standard functions and libraries.
- Practical exercises with input and output, file handling and strings.
Loan of training material, loan computers and lunch are included (Sweden).
Lunch are included (Finland).