Syllabus

Notes

Lectures

Staff

Labs

Resources

211

 

 CprE 211 - Microcontrollers and Digital Systems Design

Department of Electrical & Computer Engineering   
Iowa State University

Fall 2003

Laboratory


Open Lab

Supervised Open Lab: The lab is open on Mondays and available to students ALL day.

Lab instructors will be present as follows: Monday 1:30-2:30 (Rob), 2:30-3:30 (Wei), and 3:30-4:30 (Joe). Feel free to request assistance from any lab instructor. You may also contact your lab instructor to arrange a meeting.

 

Quick Links (this page)

File List

Assembly Information 

 

Lab Policies

Lab Policies (from Grading Policy)

 

Code Commenting

Code Commenting Guidelines

 

Weekly Labs

The lab is available when its link is active. A lab is usually available on the Friday before its scheduled week.

Lab 1 Instructions

Lab 2 Instructions

Lab 3 Instructions

Lab 4 Instructions

Lab 5 Instructions

Lab 6 Instructions

Lab 7 Instructions

Lab 8 Instructions

Lab 9 Instructions

Lab 10 Instructions

 

Lab Project

Lab Project Preliminary Activity

Lab Project

Lab Project Progress Activity

Lab Project Evaluation Form

 


Some Files Used in the Labs

File

Description

HelloWorld.zip

Hello World source files for Lab 1

I/O Port Addresses

Definitions to reference memory-mapped I/O

defines.h

C header file with PowerPC-specific information

PPC_Support.c, PPC_Support.h

C source files with PowerPC-specific support

Qterm.c, Qterm.h

C source files to use the QTerm LCD display with the PowerPC

PowerPC.ht

HyperTerminal settings file for use with PowerPC

Serial_PC.c, Serial_PC.h

C source files to use the serial communications between the PC HyperTerminal and PowerPC

serial.c, serial.h

C source files for PowerPC serial port I/O and ASCII string formatting functions

 


C Reference Information

CodeWarrior MSL C Reference (3.5 MB)


Assembly Reference Information

The following resources are available on the assembly language for the PowerPC 555:

    Online Resources:

·         Approaches to Mixed C and Assembly Code:

·         Chapter 8, Inline Assembler for Embedded PowerPC, in Code Warrior - Targeting Embedded PowerPC

·         Application Note, Developing PowerPC Embedded Application Binary Interface (EABI) Compliant Programs

·         Using EABI for the PowerBox: Prologue and Epilogue Code Examples

·         Structured Approach to Writing Functions in Assembly

    Book Resources: