LAB1-ECE3551

LAB1-ECE3551 - ECE 3551-Microcomputer System 1 Fall 2008...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
ECE 3551-Microcomputer System 1 Fall 2008 LAB Exercise # 1: Building and Running a C Program Plotting DATA Using: Visual DSP++ 5.0 Purpose:
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
The purpose of this lab is to introduce the student to hands on experience with the tools by building and running pre-written sample programs. The student will then use some simple debugging techniques to compare execution time using different build options. Experimentation is encouraged and the user should feel free to explore through the menu items. This lab is based upon a tutorial in the “Programming ADSP-BF533 EZ-Kit Lite with VisualDSP++” manual. It is suggested to go through all the getting started labs when time permits for a more complete demonstration and understanding. Outline: This lab is broken into 3 main parts Part A involves: Connecting power and USB to the board Opening projects and setting up sessions and other desired settings Building and running pre-written programs, and examining windows and dialog boxes Exploring Debug vs. Release compiler versions How to create your own project Part B, included for demonstration purposes, involves: Opening, building, and running a project The use of programmable flags to generate interrupts and control LEDs Part C involves: Loading and debugging a prebuilt program that applies a simple Finite Impulse Response (FIR) filter to a buffer of data Using VisualDSP++’s plotting engine to view the different data arrays graphically, both before and after running the program. Getting Started:
Background image of page 2
For this lab you will need to make a LAB_1 folder in your U-Drive: U:\username\ece3551\LAB_1 Copy the following folders into your LAB_1 folder. You will be required to use these at different stages of the lab: C:\ Program Files\Analog Devices\VisualDSP5.0\Blackfin\Examples\ Tutorial\dot_product_c C:\ Program Files\Analog Devices\VisualDSP 5.0\Blackfin\ Examples\ADSP-BF533 EZ-Kit Lite\LED Blink (C) C:\ Program Files\Analog Devices\VisualDSP 5.0\Blackfin\Examples\ Tutorial\fir PART A (Dot Product) The sources for this exercise are in the dot_product_c folder Step 1: Start VisualDSP++ (version 5.0) & open an existing project. Connect the USB cable from the PC to the ADSP-BF533 EZ-KIT Lite. Plug in the AC/DC power adapter and power the board. Click the Windows Start button and select: Programs Analog Devices VisualDSP++ 4.5 VisualDSP++ Environment . If you are running VisualDSP++ for the first time, you will not be connected to a debug target. In VisualDSP++ 5.0, it is possible to edit and build your code without being connection to a debug target through a debug session. When you are ready to run and debug your program, you can quickly connect to a target and disconnect when you are finished. Doing so eliminates the overhead associated with the target connection, resulting in a smoother and more responsive experience. When you need to connect to a debug session, click the Connect to Target
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/10/2012 for the course ECE 3551 taught by Professor Staff during the Spring '11 term at FIT.

Page1 / 22

LAB1-ECE3551 - ECE 3551-Microcomputer System 1 Fall 2008...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online