<< Chapter < Page Chapter >> Page >

Step 2: log in

Use your netID and password to log into the PC at your laboratory station.

When you log in, verify that the U: and V: networked drives are mapped to the computer. The U: drive is your personal work directory, and V: is a read-only course drive.

Although you may want to work exclusively in one partner's network account, you should be sure that both partners have copies of the lab assignment code.

The development environment

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

Step 3: assemble filter code

Setup code composer

By default, a shortcut to CCS is available by going to Start>All Programs>Texas Instruments>Code Composer Studio v5 . When CCS starts for the first time, Workspace Launcher will start because it will need to set up your workspace.

Create or make sure you have the following directory: U:\workspace\ECE420 . In Workspace Launcher, hit Browse... , navigate to this folder, and make sure to check "Use this as the default and do not ask again".

In the future, verify that you are in the correct workspace by going to File>Switch Workspace...
Make sure the workspace path does not start with "\\ad.uillinois.edu..."

Import project

In CCS, go to Project>Import Existing CCS Eclipse Project :

  1. Browse to V:\ece420\55x\ccs5\filter
  2. Check "Copy projects into workspace"

Build project

Once the project is copied into your workspace, we can proceed to build it:

  • In Project Explorer, make sure that "filter" is highlighted.
  • Select Project>Build Project .

In a successful build, there will be zero errors and maybe a few warnings and remarks. The output file will be placed in a Debug folder within the project's directory. In this example, the executable binary code will be located at .\Debug\filter.out .

Step 4: verify filter execution

    Connect to the dsp

  1. Select View>Target Configurations
  2. In the panel that comes up, expand Projects>filter
  3. Right-click on dsk5510.ccxml and select "Launch Selected Configuration"

Once CCS connects to the DSP, the debugger view will launch. Select Run>Connect Target

Load and run program

Now, load your assembled filter file onto the DSP:

  • Select Run>Load>Load Program .
  • Select "Browse project" and choose the binary file filter.out .
  • Execute the code by selecting Run>Resume .

The program you are running accepts input from input channel 1 and sends output waveforms to output channels 1 and 2 (the filtered signal and raw input, respectively).

Note that the "raw input" on output channel 2 may differ from the actual input on input channel 1. Why?

Because of distortions introduced in converting the analog input to a digital signal and then back to an analog signal.

What differences do you expect to see between the signals at input channel 1 and at output channel 2?

Hint: The A/D and D/A converters on the six-channel surround board operate at a sample rate of 48 kHz and have an anti-aliasing filter and an anti-imaging filter , respectively, that in the ideal case would eliminate frequency content above 24 kHz.

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Ece 420 fall 2013. OpenStax CNX. Sep 26, 2013 Download for free at http://cnx.org/content/col11560/1.3
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Ece 420 fall 2013' conversation and receive update notifications?

Ask