Difference between revisions of "Adsp-21369"

From CCRMA Wiki
Jump to: navigation, search
(FAUST Integration Tool)
(FAUST Integration Tool)
Line 32: Line 32:
 
1) Download and install faust2sharc from the link above.
 
1) Download and install faust2sharc from the link above.
  
  The interface should look like this:
+
The interface should look like this:
  
 
https://cm-wiki.stanford.edu/mediawiki/images/1/1b/Faust2sharc.jpg
 
https://cm-wiki.stanford.edu/mediawiki/images/1/1b/Faust2sharc.jpg
Line 41: Line 41:
  
 
4) Upload the [name_of_file].c file to VisualDSP++.
 
4) Upload the [name_of_file].c file to VisualDSP++.
 +
 +
5) The Faust generated diagrams can be viewed by pressing on the '''view diagram''' button. This generates a folder in your workspace called [name_of_file].dsp-svg which includes block diagrams for the project.
  
 
== Resources ==
 
== Resources ==

Revision as of 16:48, 4 May 2008

Project Title -- Quick Guide to using the ADSP-21369 and Visual DSP++ development environment

People Involved

  • Andrew Best
  • Kyle Spratt
  • Baek San Chang
  • Steinunn Arnardottir
  • Turner Kirk


GOALS

  1. The main goal of this project is to create a relatively simple step by step guide of how to get an Analog Devices "adsp-21369" dsp (SHARC) chip up and running using the "ADDS-21369-EZLITE" development board and "Visual DSP++" development environment.
  2. A second goal is to create an easy to use tool that can be used to interface with the FAUST programming language in order to generate c++ code that can be imported into a Visual DSP++ project file and used with the SHARC chip.


Setting Up Development Board and Visual DSP++ Development Environment

The development software used is VisualDSP++ Release 5.0 which can be downloaded here. It is compatible with Blackfin, SHARC and TigerSHARC processors.

FAUST Integration Tool

We (or, more precisely Andrew, A.K.A the captain of the A-TEAM), developed a script which takes in Faust code (on .dsp format), and returns C code, ready to plug into VisualDSP++. The script is called faust2sharc, release 0.0.2 can be downloaded from here.

When modifying a code or trying out new code, it is recommended that you make sure your Faust code definitely compiles as such, by for example generating a C++ code or a block diagram using Faust.


Instructions on running faust2sharc


1) Download and install faust2sharc from the link above.

The interface should look like this:

https://cm-wiki.stanford.edu/mediawiki/images/1/1b/Faust2sharc.jpg

2) Upload the [name_of_file].dsp file with the open file button.

3) Press generate project. This generates a [name_of_file].c file.

4) Upload the [name_of_file].c file to VisualDSP++.

5) The Faust generated diagrams can be viewed by pressing on the view diagram button. This generates a folder in your workspace called [name_of_file].dsp-svg which includes block diagrams for the project.

Resources

Analog Devices Resources

Faust Resources

LAB Session Notes

  1. Ideas for Wiki
  2. April 20th Log