
Symphony SoundBite Demo User’s Guide
8
Freescale
Semiconductor
If OpenOCD does not connect to the board, an error occurs (indicated by more than one line appearing in the
command window console or if the window closes), so re-launch the batch file.
After OpenOCD succeeds in connecting to the board, a single line in a command window will appear similar to:
Info: openocd.c:82 main(): Open On-Chip Debugger ps001 (2007-10-19 18:00 CEST)
5)
Launch the batch file 01-programSoundBite.bat, which starts the EEPROM programming cycle.
Another command window should pop up. Some text should scroll in this new window as well as in the OpenOCD
window, indicating that a successful connection was made between the debugger executable and OpenOCD.
After the scrolling stops, the general purpose LEDs on the Symphony SoundBite board will begin to flash. If the
LEDs do not start flashing after the text stops scrolling, check the boot mode and EEPROM select DIP switch SW2
(particularly SW2 positions 5 and 6, which connect the EEPROM to the DSP).
LED9 flashes a constant rate heartbeat throughout the programming cycle. LED1-LED8 will count up in binary
throughout the programming cycle until all of the LEDs (LED1-LED8) are lighted.
At the completion of the programming cycle, LED9 goes out (while leaving LED1-LED8 lighted), which indicates
that the board is fully programmed.
6)
Remove the USB cable (if it is not being used to power the board). Depress the RESET switch (SW3), which
reboots the DSP and resets the board. After a short pause, LED9 should start flashing a heartbeat. LED1 should be
steadily ON while all of the general purpose LEDs remain OFF, reflecting the state of the switches of SW1. Note
that the default state according to Table 2-1 is 1000 0000 (1234 5678).
7)
Test all of the positions of the SW1 DIP switch by toggling each position ON and OFF, 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 Symphony SoundBite board works.
Connect headphones or an amplified speaker to any of the output jacks J2, J4, J6 or J8, and make a sound or tap
the microphone to verify that it works correctly (you should hear what you do).
If no sound is heard, verify that the jumpers on JP1 are properly configured, and that the board was rebooted with
1000 0000 (1234 5678) set on SW1. Recall that according to Table 2-2, the SW1 switch configuration routes
analog input on J1 (the microphone with JP1 jumpered) to all the analog outputs.
9)
Test the S/PDIF optical input and output.
The S/PDIF optical input and output can be tested without any additional optical equipment, by using the
Symphony SoundBite optical input and output to test itself. To do that you apply an analog signal to J7, routing
that to the optical output through the DSP, looping the optical J2 output to J1 through an optical cable, and routing
that optical input through the DSP to all the remaining analog outputs (J4, J6 and J8). To do that:
a.
Set SW1 to 1111 1111 (1234 5678) and reboot by depressing SW1 (RESET). (See Table 2-2.)
b.
Apply a 1 kHz 2.4V peak-to-peak sin wave to J7.
c.
Connect an oscilloscope to any output (J4, J6 or J8).
d.
Connect J1 to J2 with an optical cable with appropriate adapters
e.
After the optical connection is made, the 1 kHz sin wave should appear with the same frequency and
approximately the same amplitude at the output, but with some phase shift.
10)
Test the analog inputs and outputs.
To test the analog inputs and outputs, you apply a known signal to each input and look for the same signal on the
corresponding output. To do that:
a.
Set SW1 to 0000 1000 (1234 5678) and reboot by depressing SW1 (RESET). (See Table 2-2.)
b.
Apply a 1 kHz 2.4V peak-to-peak sin wave successively to inputs J1, J3, J5, and J7.
c.
Connect an oscilloscope to the corresponding outputs (J2, J4, J6, and J8).