C Programming for Embedded Systems, part I

Day(s): 2
Dates/City:

Contact us

Price:

12.500 SEK

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 seminar.

Goal

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 emulator connected to an ARM CortexM3 board.

Contact at Nohau

Lena Bernhardsson

phone: +46 (0) 40 59 22 09
phone: +47 (0) 92 44 22 09 (no)
lena.bernhardsson@nohau.se

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.
 
Share |