ECE 375 Lab Home | Lab Information | Syllabus | Lab Assignments | Resources

Fall 2022 ECE 375 Lab - Computer Organization and Assembly Language Programming

Instructor: Professor. Ben Lee
Contact: benl@eecs.NOSPAM.edu
Lecture Time: TTR 16:00-17:20
Office Hours: TTR 15:00-16:00 via Zoom at here
Course Web: Canvas page

This page was last updated on September 20th, 2022 at 16:49 by Han Jang.


1. Introduction

This page contains information concerning all lab sections for ECE 375. You will find all of which are intended to help you successfully complete your lab assignments.

  • For the ECE/CS 375 Labs, please collect an ATMEGA32U board from the Tekbot store.
  • Links for the datasheets and ISA are provided in the Resources section (see Section 5).
  • Please make sure to read the Academic Integrity section of the syllabus closely (see Section 3-1).
  • To contact TAs, replace 'NOSPAM' with 'oregonstate' in the TA information section (see Section 2).

2. Lab Information

Classes, lab sessions, and TA office hours are held on site.
Please talk with your lab TA regarding lab gradings. Contact the head-TA for any concern including lab, homework, and exams.

TA Information

Han Jang
jangha@NOSPAM.edu
Lab [012] : W 10:00-11:50
Lab [014] : W 14:00-15:50
Office Hours: W 16:00-17:50, F 17:00-17:50

Dongjun Lee
leedongj@NOSPAM.edu
Lab [017] : F 12:00-13:50
Lab [016] : F 14:00-15:50
Office Hours: W 16:00-17:50, F 16:00-16:50

Austin Castro
castraus@NOSPAM.edu
Lab [015] : W 16:00-17:50
Lab [010] : F 16:00-17:50
Office Hours: W 12:00-13:50, F 14:00 - 15:50

Jarrod Hollis
hollisj@NOSPAM.edu
Lab [013] : W 12:00-13:50
Office Hours: W 10:00-11:50, F 12:00-13:50



3. Syllabus

3-1. Academic Integrity

It is never allowed to represent another person's work as your own. As an Oregon State University student, you are obligated to conduct yourself in accordance with the Student Conduct Code (PDF link). The Student Conduct Code makes it clear that cheating and plagiarism qualify as academic dishonesty, and are strictly forbidden. This applies to all submitted lab work, including prelab questions, lab write-up content, actual assembly code, and study questions. For some examples of acceptable and unacceptable academic conduct in the context of ECE 375, please read the following document: DOs and DO NOTs. If you have any questions about these examples, or about the Academic Integrity policy in general, please don't hesitate to ask your lab TA. Prelabs are independent. *Plagiarism Penalty : Reporting to the department for the first instance.


3-2. Pre-lab (10%)

The pre-lab is due by the beginning of lab via Canvas, and accounts for 10% of your lab grade unless otherwise noted. It is important to take the time to understand and complete each pre-lab. You have to include your name in prelabs and to follow file naming convention. By doing so, you will be able to perform the lab easily and in a timely manner.


3-3. Report Write-up (30%)

Each lab consists of a write-up that is due by the following week, as a .pdf file submitted to Canvas. This part of the lab makes up 30% of grade. Therefore, you will need to spend some time and effort each week on creating a professional, organized, and readable document in order to receive full credit for this part of the lab. You are required to use the templates provided below (see Section 5). You will notice the outline consists of the following:

  • Introduction: purpose of lab
  • Program Overview: detailed description of assembly program
  • Study Questions: answers to any study questions in lab handout
  • Difficulties: (optional but recommended) a description of any difficulties encountered
  • Conclusion: summary of lab with a personal thought
  • Source Code: your completed assembly code MUST be included in your report, and MUST be well-documented.


3-4. Source Code Implementation (60%)

The implementation and demonstration of your lab is weighted heavily(60%). This part of the lab is graded based on the correctness of your source code, which you must include in your lab report and also submit to Canvas as an .asm file. If your code is incorrect, you will lose some points even though your demo was successful. When any of turning in lab reports, including source code in lab reports, submitting asm files, or checking demo is missing, you will get zero for both check-off and lab report.


3-5. Submission Guides

All lab work is to be submitted online using Canvas(direct link). All document-type submissions must be in .pdf format, while all code submissions must be in .asm format (or .c for Lab 2). All document-type and code submissions are required to be submitted individually and follow the naming-convention as follows.
  • You must include your partner's name in addition to your name for each file if you work in a group.
  • Late work is not accepted in this class, Canvas is configured to not accept submissions after an assignment’s listed due time/date.
  • For those few students who are registered for one lab section but have permission to regularly attend a LATER section, please note that Canvas will only allow you to submit to the section for which you are officially registered. Since this will result in Canvas having the wrong due date for you, you may submit your assignments before the early deadline.
  • You are responsible to cross check your partner when submitting the same file as your group's assignment. Members of a group are always joint-responsible.

3-6. Grading Weights

  • Lab 1 - 2%
  • Lab 2 - 4%
  • Lab 3 - 15%
  • Lab 4 - 18%
  • Lab 5 - 18%
  • Lab 6 - 18%
  • Lab 7 - 25%


4. Lab Assignments

Schedules Files Due What to Turn In

Lab 1

General Introduction to Lab

Lab 1 Handout

Lab 1 PPT

Example AVR Code

2nd Week

Study Questions, Demo to TA

Lab 2

C->Assembly->Machine Code->TekBot

Lab 2 Handout

Lab 2 PPT

Example C Code

Makefile for Example C Code

Skeleton C Code

3rd Week

Lab report, Source Code, Demo to TA

Lab 3

Data Manipulation and the LCD Display

Lab 3 Handout

Lab 3 PPT

Skeleton Code

Program and Data Memory (pdf)

4th Week

Lab report, Source Code, Demo to TA

Lab 4

Large Number Arithmetic

Lab 4 Handout

Lab 4 PPT

Prelab Tutorial, Tutorial Slides

Prelab Sample Code

Skeleton Code

6th Week

Lab report, Source Code, Demo to TA

Lab 5

External Interrupts

Lab 5 Handout

Lab 5 PPT

Skeleton Code

7th Week

Lab report, Source Code, Demo to TA

Lab 6

Timer/Counters

Lab 6 Handout

Lab 6 PPT

Skeleton Code

8th Week

Lab report, Source Code, Demo to TA

Lab 7

(USART)

Lab 7 Handout

Lab 7 PPT

Lab7 Skeleton Code

Lab7 Demo video

10th Week

Lab report, Source Code, Demo to TA



5. Resources

5-1. Templates

5-2. Installation Guides

5-3. Software

5-4. Reference Documents