Embedded Systems

Published on July 2016 | Categories: Documents | Downloads: 54 | Comments: 0 | Views: 428
of 2
Download PDF   Embed   Report

Comments

Content


Embedded C & RTOS Programming

Module Title:

Embedded C & RTOS Programming
CRN:

CCCC
University module code:


Level:
M
Credit Value:
30
ECTS Value:

Length (in
Semesters)
1
Semester(s) in which to
be offered:
1
Pre-requisites (between levels):

Basic C Programming, Either of the
microcontroller architecture

Co-requisites (within a level):


Indicative learning hours:
300 (72 Contact Hours)

Aims of Module:

This Module is meant to strengthen C programming skill which forms the foundation of Embedded
Systems and give an overview of the tools, techniques and platforms that are used for programming of
Embedded Systems. Further it gives in-depth insight into AVR family of controllers. The module also
aims at making student aware of Real Time needs of the Embedded System, understanding framework
of RTOS and using µC/OS-II with ATMega128 in designing RTOS based applications.


Intended Learning Outcomes

Knowledge and Understanding
At the end of the module students will have the knowledge and understanding to be able to:
Decide the design requirements of an Embedded System
Design an AVR based Embedded System
Difference between GPOS and RTOS
Understand the framework of RTOS



Transferable/Key Skills and other attributes

At the end of the module students will have the skills to be able to:
Appreciate the architectural features of different 8-bit microcontrollers
Write C programs for ATMega128
Design ATMega128 based systems
Communicate over different protocols like SPI, I2C with various compliant devices
RTOS porting concepts and design systems with µC/OS




Module mark calculation: Method A / Method B
Assessment components (in chronological order of submission/examination date)
Type of assessment Weighting% Duration Word count (if Component pass
(if exam) essay/dissertation): required
Assignments 50
Examination 50 3 hour




Learning and teaching strategies:

The syllabus will be taught by a series of lectures, tutorials and laboratory activities

Syllabus outline:

Introduction to GNU and GCC
C programming concepts like: Variable scope, Qualifiers and Modifiers, Pre-processor
directives, Bit-wise Operator, In-line assembly and it's usage
Architectural study to explore different AVR micro-controller features
Communication Protocols (e.g. RS232, RS485, SPI, I2C)
Interfacing different devices to microcontroller
Data structures and its Applications
µC/OS II:
 Hard and Soft Real Time systems
 Different scheduling algorithms
 µC/OS II kernel architecture and its porting on ATMega128
 Developing libraries and applications based on
 Multi-tasking , IPC mechanisms like mail boxes
 Using semaphores and mutexes
Running demo applications

Indicative texts and/or other learning materials/resources:

1. C Programming for microcontrollers – Joe Purdue
2. Embedded C programming and Atmel AVR – Barnet, Cox and O’Cull
3. µC/OS-II, The Real Time Kernel: Jean Labbrose


Sponsor Documents

Or use your account on DocShare.tips

Hide

Forgot your password?

Or register your new account on DocShare.tips

Hide

Lost your password? Please enter your email address. You will receive a link to create a new password.

Back to log-in

Close