EVM5509A Test Example
We include most of out internal production test code as an example in examples/test. It serves as a confidence test (every board passes a superset of these tests before it ships) and an example of how to use various board features. When it runs it will display the test index on the LEDs. If a test fails, its index will blink continously. If all tests pass, all the of the LEDs will blink 3 times then stay on. Note, the MMC test has been commented.
External Connections
For all tests to pass, you must have headphones connected (to hear the codec test) and the external keypad/display module should also be plugged in. The MMC test requires a MMC card plugged in.
Follow these instructions to load and run the test example.
Plug a pair of headphones or speakers into the EVM5509A’s headphone jack
Open the test.pjt Code Composer project using Project -> Open and selecting test.pjt. It is in the directory
c:\ti\boards\evm5509a\examples\test
Load the test.out executable file. Select File -> Load Program. It will open a file browser dialog. Select the test.out file in the tone\Debug directory in the file browser and hit "Open" to load the executable file.
Select the Debug -> Run option under the Debug menu. You will see the in the output window the status of each test.
The test will run to completion when all test ( listed below ) have passed.
| Index |
Device |
Description |
| 1 |
Int Mem |
Tests the top half of internal memory |
| 2 |
SDRAM |
Tests all of the SDRAM in CE0 |
| 3 |
Flash ID |
Check to make sure Flash manufacturer and device IDs can be read |
| 4 |
Flash |
Erases and overwrites all but first 64kBytes |
| 5 |
Timer |
Tests the timer interrupt 100 times |
| 6 |
SROM |
Tests first few pages of the serial ROM |
| 7 |
Keypad |
Displays the values of the switches and pots on the keypad/display module |
| 8 |
Codec |
Generates a 1KHz tone for 1 second on headphone output |
| 9 |
MMC |
Tests MMC card (requires MMC card to be plugged in) |
|