ECET 330 Innovative Education--snaptutorial.com - PowerPoint PPT Presentation

About This Presentation
Title:

ECET 330 Innovative Education--snaptutorial.com

Description:

Laboratory Title: Introduction to Memory Map Submittal Date:Click here to enter a date. Objectives: – PowerPoint PPT presentation

Number of Views:7
Slides: 16
Provided by: JohnstonStone23

less

Transcript and Presenter's Notes

Title: ECET 330 Innovative Education--snaptutorial.com


1
ECET 330 Innovative Education--snaptutorial.com
2
ECET 330 Innovative Education--snaptutorial.com
ECET 330 Week 1 iLab Part 1 Introduction to
Memory Map For more classes visit www.snaptutori
al.com   Laboratory Title Introduction to Memory
Map Submittal DateClick here to enter a date.
Objectives The objective of this lab is
familiarize ourselves with different factor for
memory such as memory decoding and memory
mapping Give two differences between EEPROM and
Flash memory.
3
ECET 330 Innovative Education--snaptutorial.com
ECET 330 Week 1 iLab Part 2 Introduction to
Assembly and Machine Language For more classes
visit www.snaptutorial.com   Laboratory Number 1
(Part 2) Laboratory Title Introduction to
Assembly and Machine Language Submittal
DateClick here to enter a date. Objectives
4
ECET 330 Innovative Education--snaptutorial.com
ECET 330 Week 2 Homework For more classes
visit www.snaptutorial.com   1. Write a simple
program in which the value, 55, is added three
time 2. Which of the following instructions is
(are) illegal? I. LDAA 500 II. LDAA 50 III.
LDAA 255 IV. STAA 50 V. STAA 50
5
ECET 330 Innovative Education--snaptutorial.com
ECET 330 Week 2 iLab Introduction to CodeWarrior
For more classes visit www.snaptutorial.com   Obj
ectives To Install CodeWarrior Explore the
CodeWarrior IDE and the operations Become
familiar with how an assembly language program is
entered and simulated using CodeWarrior To learn
how to generate a list file
6
ECET 330 Innovative Education--snaptutorial.com
ECET 330 Week 3 iLab Introduction to Loops and
Subroutines in Assembly For more classes
visit www.snaptutorial.com   Objectives To
become familiar with conditional branch
instructions Understanding how to write
loops Understanding how to write subroutines What
does the CPU do (in terms of register contents
and stack) when it executes a JSR
instruction? What does the CPU do (in terms of
register values and stack) when it executes a RTS
instruction?
7
ECET 330 Innovative Education--snaptutorial.com
ECET 330 Week 4 Homework For more classes
visit www.snaptutorial.com   1. Write a program
to get eight-bit data from PORTA and send it to
PORTB and PORTC. Make sure to define each port as
input or output 2. Write a program to toggle all
bits of PORTA continuously by sending 55 and AA
to it 3. Write a program to toggle PB3, PB7, and
PB5 continuously without disturbing the rest of
the bits. Assume that there is a delay procedure
that you can call.
8
ECET 330 Innovative Education--snaptutorial.com
ECET 330 Week 4 iLab Introduction to Tower
Module For more classes visit www.snaptutorial.c
om   Objectives 1.To set up the Tower
System 2.Become familiar with programming and
using the Tower Module 3. Become familiar with
I/O port programming Results I learned how to
Set up the Tower Module and connect it to the PC.
9
ECET 330 Innovative Education--snaptutorial.com
ECET 330 Week 5 Homework For more classes
visit www.snaptutorial.com   1. Show the value
of the register and the carry after the execution
of the ASLA instruction Given the original
content of Register A and carry flag 0
1 0 0
1 0 1 0
1 C

C Register A 2. Show the value
of the register and the carry after the execution
of the LSLB instruction. Given the original
content of Register B and carry flag 0
1 0 0
1 0 1 0 1
10
ECET 330 Innovative Education--snaptutorial.com
ECET 330 Week 5 iLab Data Manipulation in
Assembly Language For more classes
visit www.snaptutorial.com   Objectives Given an
arithmetic equation or data conversion, develop
an assembly-language algorithm to implement the
correct sequence of operations. Learn how to
design assembly-language programs that require
decision logic in order to accomplish their
tasks. Results
11
ECET 330 Innovative Education--snaptutorial.com
ECET 330 Week 6 Homework For more classes
visit www.snaptutorial.com   1. Write a program
to continuously read the DIP switches connected
to PORTA and send it to PORTB. 2. Assume that
eight DIP switches are connected to PORTB and
eight LEDs are connected to PORTC. Assume that
the switch values are normally high. Turn all of
the LEDs on and wait in a loop until one of the
switches becomes zero. At that time, send 0x55 to
PORTC 3. Write a C program to declare two
character arrays called list1 and list2.
Initialize list1 with your first and last name.
Write the main code to copy list1 to list2.
12
ECET 330 Innovative Education--snaptutorial.com
ECET 330 Week 6 iLab Embedded C Programming Part
I For more classes visit www.snaptutorial.com  
Objectives To learn how to write a C program
using CodeWarrior IDE To learn how to program I/O
instructions in C language To learn how to
organize a C program to read data from input
ports, process the data, and display the result
on a simple output device To learn how to write
inline assembly language in C
13
ECET 330 Innovative Education--snaptutorial.com
ECET 330 Week 7 Homework For more classes
visit www.snaptutorial.com   1. Is it possible to
interface an IC with a different technology such
as TTL to HCS12 ports? What are the conditions in
terms of electrical parameters that need to be
satisfied for this purpose? 2. Given an LED with
a forward drop of 1.5V and an operating current
of 10 mA, design the interface to the HCS12
showing your calculations 3. Bit 4 of Port B is
connected to a switch that normally outputs a
zero. Monitor this switch to detect a change from
zero to one. Immediately when it becomes one,
call a function to toggle Bit 5 of Port B, which
is connected to an LED. Use an exclusive-OR
operation to toggle PB5 two times.
14
ECET 330 Innovative Education--snaptutorial.com
ECET 330 Week 7 iLab Embedded C Programming Part
II For more classes visit www.snaptutorial.com  
Objectives To become familiar with enabling
internal pull-up resistors and reading an input
port To learn how to wait for a pushbutton
press To learn how to organize a C program to
read data from input ports, process the data, and
display the result on a simple output device
15
ECET 330 Innovative Education--snaptutorial.com
Write a Comment
User Comments (0)
About PowerShow.com