Cpr E 281x/282x Laboratory

Lab 1 Part A

Introduction to the CodeWarrior/PowerPC Platform

 

Lecture – Lab Connection

“I hear and I forget; I see and I remember; I do and I understand.” – ancient Chinese proverb

In lecture, we are starting with an overview of microcontrollers and embedded systems.  In this lab, we are starting with an overview of the platform being used in the lab for investigating microcontrollers and embedded systems, called the PowerBox.  The PowerBox is an educational tool to learn about microprocessor-based digital systems and programming them at different levels. Lecture begins with a review of the C programming language, and we will also start using C immediately in the labs.  So self-study based on your own needs through your laboratory experiences will be an important complement to the lectures.

Purpose

In this lab, you will learn the basics of the PowerPC platform, called the PowerBox, which will be used throughout the semester.  At the end of the lab, you should know the following material:

Prelab

Make sure you have a valid account for the EE/CpE computers in Coover.  If you do not, please e-mail csg@iastate.edu to request an account for use in the Cpr E 281x/282x lab.

Print the Lab Evaluation form, so that your TA can check off work performed during this lab session.

Reference Files for the Lab

Download the following files to your U: drive.

File

Description

HelloWorld.zip

Hello World source files
  Unzip to a separate directory in your U: drive

PowerPC.ht

Hyper Terminal settings file for PowerPC

Serial_PC.c, Serial_PC.h

C source files to add to HelloWorld

Lab Components

  1. Hello World - Introduction to CodeWarrior
  2. Hyper Terminal - PowerBox to PC serial communication