<< Chapter < Page Chapter >> Page >

Step 2: log in

Use the network ID and password provided to log into the PC at your laboratory station.

When you log in, two shared networked drives should be mapped to the computer: the W: drive, which contains your own private network work directory, and the V: drive, where the necessary files for ECE 420 are stored. Be sure to save any files that you use for thecourse to the W: drive. Temporary files may be stored in the C:\TEMP directory; however, since files stored on the C: drive are accessible to any user, are local to each computer, and may be erased atany time, do not store course files on the C: drive. On the V: drive, the directories v:\ece420\54kx\dsplib\ and c:\ece420\54x\dsptools\ contain the files necessary to assemble and test code on the TI DSP evaluationboards.

Although you may want to work exclusively in one or the other of lab-partners' network account, you should besure that both partners have copies of the lab assignment assembly code.

Not having the assembly code during a quiz because "it's on my partner's account" is NOT a valid excuse!
For copying between partners' directory on W: or for working outside the lab, FTP access to your files isavailable at ftp://elalpha.ece.uiuc.edu .

The development environment

The evaluation board is controlled by the PC through the JTAG interface (XDS510PP) using the application Code ComposerStudio. This development environment allows the user to download, run, and debug code assembled on the PC. Workthrough the steps below to familiarize yourself with the debugging environment and real-time system using the providedFIR filter code (Steps 3, 4 and 5), then verify the filter's frequency response with the subsequent MATLAB exercises (Steps6 and 7).

Step 3: assemble filter code

Before you can execute and test the provided FIR filter code, you must assemble the source file. First, bring up a DOS prompt window and create a new directory to hold the files, and then copy them into your directory:

  • w:
  • mkdir lab0
  • cd lab0
  • copy v:\ece420\54x\dsplib\filter.asm .
  • copy v:\ece420\54x\dsplib\coef.asm .

Next, assemble the filter code by typing asm filter at the DOS prompt. The assembling process first includes the FIR filtercoefficients (stored in coef.asm ) into the assembly file filter.asm , then compiles the result to produce an output file containing the executablebinary code, filter.out .

Step 4: verify filter execution

With your filter code assembled, double-click on the Code Composer icon to open the debugging environment. Beforeloading your code, you must reset the DSP board and initialize the processor mode status register ( PMST ). To reset the board, select the Reset option from the Debug menu in the Code Composer application.

Once the board is reset, select the CPU Registers option from the View menu, then select CPU Register . This will open a sub-window at the bottom of the Code Composer applicationwindow that displays several of the DSP registers. Look for the PMST register; it must be set to the hexadecimal value FFE0 to have the DSP evaluation board work correctly. If it is not setcorrectly, change the value of the PMST register by double-clicking on the value and making the appropriate change in the Edit Register window that comes up.

Questions & Answers

if three forces F1.f2 .f3 act at a point on a Cartesian plane in the daigram .....so if the question says write down the x and y components ..... I really don't understand
Syamthanda Reply
hey , can you please explain oxidation reaction & redox ?
Boitumelo Reply
hey , can you please explain oxidation reaction and redox ?
Boitumelo
for grade 12 or grade 11?
Sibulele
the value of V1 and V2
Tumelo Reply
advantages of electrons in a circuit
Rethabile Reply
we're do you find electromagnetism past papers
Ntombifuthi
what a normal force
Tholulwazi Reply
it is the force or component of the force that the surface exert on an object incontact with it and which acts perpendicular to the surface
Sihle
what is physics?
Petrus Reply
what is the half reaction of Potassium and chlorine
Anna Reply
how to calculate coefficient of static friction
Lisa Reply
how to calculate static friction
Lisa
How to calculate a current
Tumelo
how to calculate the magnitude of horizontal component of the applied force
Mogano
How to calculate force
Monambi
a structure of a thermocouple used to measure inner temperature
Anna Reply
a fixed gas of a mass is held at standard pressure temperature of 15 degrees Celsius .Calculate the temperature of the gas in Celsius if the pressure is changed to 2×10 to the power 4
Amahle Reply
How is energy being used in bonding?
Raymond Reply
what is acceleration
Syamthanda Reply
a rate of change in velocity of an object whith respect to time
Khuthadzo
how can we find the moment of torque of a circular object
Kidist
Acceleration is a rate of change in velocity.
Justice
t =r×f
Khuthadzo
how to calculate tension by substitution
Precious Reply
hi
Shongi
hi
Leago
use fnet method. how many obects are being calculated ?
Khuthadzo
khuthadzo hii
Hulisani
how to calculate acceleration and tension force
Lungile Reply
you use Fnet equals ma , newtoms second law formula
Masego
please help me with vectors in two dimensions
Mulaudzi Reply
how to calculate normal force
Mulaudzi
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Ece 320 - spring 2003. OpenStax CNX. Jan 22, 2004 Download for free at http://cnx.org/content/col10096/1.2
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Ece 320 - spring 2003' conversation and receive update notifications?

Ask