⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 http:^^www.cs.washington.edu^education^courses^477^assignments^lab1^lab1.html

📁 This data set contains WWW-pages collected from computer science departments of various universities
💻 HTML
字号:
Date: Mon, 02 Dec 1996 15:00:00 GMTServer: NCSA/1.4.2Content-type: text/html<html><head><title>CSE477 Laboratory Assignment #1</title></head><h1>CSE477: Digital Systems Design</h1><h3>Steve Burns, Spring 1996 </h3><hr><h2>Lab 1</h3><p><h3>Introduction to the M68HC11EVB: Using the Evaluation Board to Debug Microcontroller Programs</h3><p><b>Distributed:  April 3 - Complete By: April 12</b><hr><p><H3>Objectives</H3>When you have completed this lab, you should know how to:<UL><LI>Power up your evaluation board and connect it to an NT machine,<LI>Enter and debug simple assembly language programs using the operatingsystem on the evaluation board,<LI>Download S-records generated from an assembly language program,<LI>Use a microcontroller to output a digital signal.</UL>                                <H3>Part 1: Powering up the EVB and connecting it to the PC</H3>You will need to supply power to the evaluation board through the power supplyconnected to your protoboard.  Four lines are needed: +12, -12, +5, and GND.The supply lines are clearly marked on the power supply name plate and theEVB. Make sure they are connected properly before plugging in the power supply.(If you exchange +12 and -12, or +12 and +5, or even +5 and GND, some damagewill occur to the EVB. Don't do this. You will be responsible for thissort of damage.)<p>The serial line from the PC should be connected to the terminal port on theEVB (the RS-232 connector furthest away from the red reset button.) Tocommunicate with the EVB, run the terminal emulation program residing at:C:\WINNT35\system32\TERMINAL.EXE .  You will need to configure the baud rateto be 9600 (under the Settings->Communications panel). Flow control should beset to "None" on this panel.  Then enter the Settings->Text Transfers panel andset the Flow Control radio button to "Line at a Time".  The "Delay Between Lines" value should be set to "1/10" of a second.<p>Now plug in the power supply, and press the red reset button on the EVB.A prompt should be sent to the terminal program and displayed on the PC'sscreen. It should read:<pre>BUFFALO 2.5 (ext) - Bit User Fast Friendly Aid to Logical Operation</pre>Pressing return twice should list a bunch on commands that the EVB andBUFFALO can be asked to perform.<H3>Part 2: BUFFALO Tutorial</H3>Read Section 4.7 of your EVB user manual. Type in the assembly code on pages4-27 and 4-28.  Then issue the commands lists on page 4-29. (Remember toconnect Pins 20 and 21 together on connector P1. This connects theTxD and the RxD lines of the SCI together. The example program will notwork correctly if this connection is not made.)<H3>Part 3: Assembly Language Program</H3>Devise an assembly language program to turn a port bit on and off with acycle period of one second.  I suggest using port bit PB0. To get started, download the following sample program to the EVB.It just turns on this port bit.Then modify it for your needs.<pre>	ORG $C000	LDAA #$01	STAA $1004</pre>Type this program in using "notepad" and run the assembler that is locatedat "T:\cse477\buffalo\as11.exe". Run the assembler using the file manager'sRUN command and the assembly program's name as its only argument.To load the assembled file to the EVB, you need to perform a text Transferusing the terminal emulator. First type<pre>LOAD T</pre>at the BUFFALO prompt and then pull down the Transfers->Send Text Filepanel. Select the file generated by the assembler (it has the extension.S19) and click the OK button.  Your program should now be loaded intothe EVB. Press the red reset button to restart BUFFALO. (I don't know whyyou need to do this.)<p>To actually run these two instructions, first set a breakpoint afterthe last instruction (use the BUFFALO "BR C005" command) and thenenter "G C000". You be able to observe that PB0 is set to 1. (Theother bits of port B have been cleared.)<H3>What to Turn In</H3>Turn in the assembly program that makes the port bit turn on and off witha cycle period of one second.</body><address><hr>burns@cs.washington.edu</address><p></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -