NXP Semiconductors Symphony SoundBite Demo User Manual Download Page 12

 

 

Symphony SoundBite Demo User’s Guide 

 
10  

Freescale 

Semiconductor 

Chapter 4 

Building the Demonstration Application  

The demonstration application source consists of a collection of assembly code and include files that are individually 

assembled and then linked together into an executable object for the DSP.  The detailed function of the code within the 

source is beyond the scope of this document. For more information about the internal workings of the demonstration 

application, please refer to Symphony SoundBite: Assembly Project Template document.  

This chapter details the procedure to build the demonstration application from the source.  Some working knowledge of 

Symphony Studio is assumed. 

4.1 

Importing and Preparing the Project 

The source of the demonstration application is included in the accompanying zip file archive within a compressed 

workspace file (Symphony Studio can directly import the source project from the compressed archive).  To import the 

demonstration application source into a Symphony Studio project: 

1)

 

Launch Symphony Studio. 

2)

 

In the C/C++ perspective, right-click in the Projects pane (or use the File menu to select Import) and choose 
Import.  

3)

 

In the pop-up dialog box, select General > Existing Projects into Workspace. Click Next

4)

 

Choose the Select archive file radio button, browse to the demonstration application workspace archive, and Open 
it. 

5)

 

Make sure that the check box next to the Symphony SoundBite board test project is checked. 

6)

 

Check “Copy projects into workspace.” 

7)

 

Click Finish.   

8)

 

Right-click on the project and select Properties

9)

 

Select C/C++ Build > Tool Settings

10)

 

Select 56k ASM Assembler > Options. Verify that the Debug option is checked and that there is a “%” in the List 
File
 field.  

The checkbox tells the assembler to place symbolic information for debugging into the intermediate object files.  

The “%” tells the assembler to generate a listing file for each input source file (the make file assembles each .asm 
file separately and the %” is a placeholder for the filename being acted upon). 

11)

 

Select 56k ASM Linker > Options. Verify that the Debug option is checked. In the Map File field, there should be 
a filename “mapfile.txt,” which is what was used in the original project (although this name is arbitrary). The text 
in the Memory Control File field should be “..\sb_boardtest_lnk.ctl,” which points to an existing file in the project 
folder.   

The checkbox directs the linker to include the symbolic debugging information in the object output file.  

The map file name specifies the filename to use for saving the map file (which contains textual information about 
the symbolics in the object file, where the labels are located and so on).  

Summary of Contents for Symphony SoundBite Demo

Page 1: ...Symphony SoundBite Demo User s Guide Including Factory Board Test Procedure Document Number SNDBDMOUG Rev 2 0 09 08...

Page 2: ...ducts for any particular purpose nor does Freescale Semiconductor assume any liability arising out of the application or use of any product or circuit and specifically disclaims any and all liability...

Page 3: ...ayout 3 Chapter 2 Using the Demonstration Application 5 2 1 Configuring the Jumpers and Switches 5 2 2 Running the Demonstration Application 6 Chapter 3 Factory Board Test Procedure 7 3 1 Performing t...

Page 4: ...lso included The source code for the demonstration application is provided separately Audience This guide is intended for users of the Symphony SoundBite audio development board Organization This docu...

Page 5: ...ns An expansion header is provided to facilitate off board expansion An on board USB interface provides low level JTAG OnCE debugging capability The USB interface also provides high level SPI and I2 C...

Page 6: ...ony SoundBite Board Layout Mic Enable Jumpers Boot Mode Select SW2 Left to Right order is 654321 image incorrect RESET SW3 Power Select 1 2 Ext 2 3 USB General Purpose SW1 J3 J5 J7 J1 J4 J6 J8 J2 Inpu...

Page 7: ...nerates audio This demonstration application originated from test software written to allow the measurement of the audio performance of the various subsystems of the Symphony SoundBite with an Audio P...

Page 8: ...udio signals to be processed by the DSP In the main loop of the application an LED LED9 flashes a heart beat to indicate that the DSP is up and running The DIP switch status is continually read with t...

Page 9: ...utility provided by FTDI MProg 3 0a http ftdichip com Drivers D2XX htm for the driver http ftdichip com Resources Utilities htm for the programming utility Mprog 3 0a About Programming the Firmware Th...

Page 10: ...verifying that each switch and LED pair works correctly For each switch the corresponding general purpose LED should display the ON OFF state of the switch 8 Verify that the microphone on the Symphon...

Page 11: ...ir of corresponding jacks the output should have a 1 kHz sine wave with approximately the same amplitude as the input but with some phase shift If all of the tests listed in steps 1 10 pass without an...

Page 12: ...into Workspace Click Next 4 Choose the Select archive file radio button browse to the demonstration application workspace archive and Open it 5 Make sure that the check box next to the Symphony SoundB...

Page 13: ...plication field by clicking the Search Project button choose the object file and click OK 6 Verify that the Core Index is 0 7 Verify that Download onto Target is checked 8 Verify that Run at Startup a...

Page 14: ...set Change the PC register to the start address noted in Step 2 which is the start address of the EEPROM programming routine Note that the default number of words to store in EEPROM is 0x450 so if the...

Page 15: ...Symphony SoundBite Demo User s Guide Freescale Semiconductor 13 THIS PAGE INTENTIONALLY LEFT BLANK...

Page 16: ...Symphony SoundBite Demo User s Guide 14 Freescale Semiconductor THIS PAGE INTENTIONALLY LEFT BLANK...

Reviews: