Exercise 1, Part 1: Building And Running The First Program - Analog Devices ADSP-BF537 EZ-KIT Lite Getting Started

Hide thumbs Also See for ADSP-BF537 EZ-KIT Lite:
Table of Contents

Advertisement

Programming ADSP-BF537 EZ-KIT Lite with VisualDSP++
Exercise 1, Part 1: Building and Running
the First Program
Now it is time to start our first C program.
Part 1" on page 1-19
this exercise. The program randomizes and sorts two arrays using classic
sorting algorithms: the bubble sort and the quick sort. If you are familiar
with the algorithms, you know that the quick sort, true to its name, is the
faster of the two algorithms (on average,
To spare you from typing in the program, the entire Exercise 1 source
code is included on the VisualDSP++ distribution CD. The part 1 pro-
gram can be found in the
<install_path>\Blackfin\Examples\ADSP-BF537 EZ-Kit Lite\Getting
Started Examples\Part_1_1
C:\Program Files\Analog Devices\VisualDSP 5.0
Open the project file for the first part of Exercise 1 by selecting
File–>Open–>Project, browsing to the exercise directory, and selecting
the
Sorts_1_1.dpj
its source code by double-clicking the Sorts.c label in the Project window
(expand the Source Files tree control if necessary).
Build and load the executable program to the EZ-KIT Lite using the
Project –> Build Project command (or use the F7 hotkey). Once the pro-
gram is loaded, observe the blue bar on the first executable statement the
function, showing that the program is stopped there awaiting your
main()
command to set it running or to single-step through the source.
1
If your PC is used by multiple VisualDSP++ users and/or you do not have write privileges, copy the
entire Getting Started Examples folder to a location you can use without influencing other users.
Getting Started with ADSP-BF537 EZ-KIT Lite
www.BDTIC.com/ADI
is the C program we start and expand throughout
subdirectory. The default
1
project file
. Once the project is opened, you can view
"Listing 1-1. Exercise 1,
versus
O(n log n)
O(n
<install_path>
.
2
).
)
is
1-7

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ADSP-BF537 EZ-KIT Lite and is the answer not in the manual?

Table of Contents