CprE 211 - Microcontrollers and Digital Systems Design
Laboratory
Lab Times
|
Section |
1 |
2 |
3 |
4 |
|
Time |
Tu |
Tu |
F |
W |
|
TA |
Kritanjali
Balakrishnan |
Fei Dong |
Fei Dong
|
Kritanjali
Balakrishnan |
Quick Links (this
page)
Lab Policies
See syllabus.
Code Commenting
Weekly Labs
The lab is available when its link is active. A lab is usually available on the Friday before its scheduled week.
Lab Project
Lab Project Preliminary Activity
|
File |
Description |
|
Hello World source files for Lab 1 |
|
|
Definitions to reference memory-mapped I/O |
|
|
C header file with PowerPC-specific information |
|
|
C source files with PowerPC-specific support |
|
|
C source files to use the QTerm LCD display with the PowerPC |
|
|
HyperTerminal settings file for use with PowerPC |
|
|
C source files to use the serial communications between the PC HyperTerminal and PowerPC |
|
|
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: