Miscellaneous utilities for TI's C64x+ DSP.
These utilities communicate with the DSP through the DSP/BIOS Bridgedriver, and are oriented to test that communication. Some of them are replicas from the TI bridge samples, but without extra dependencies.
Runs simple trivial tests
Usage: dsp-test [OPTION...] -p, --ping Run the ping test. The default is the DMM test. -n, --ntimes <number> Count of pings to send before stop. The default is 1000 -s, --size <buffersize> Specifies the number of data bytes to be sent. The default is 1024 -f, --fault Provokes a MMU fault. -w, --write Writes 1s in the input buffer.
Prints the DSP CPU load and frequency
Lists the running tasks in the DSP
Loads base images into the DSP
Usage: dsp-exec <imagefile>
Follow carefully the DSP howto.
As there are no dependencies, you only need to grab and compile the code. So, using your preferred cross compilation environment, checkout and compile the project.
git clone git://github.com/felipec/dsp-tools.git cd dsp-tools make make install DESTDIR=/media/rootfs
If you are using an old version of TI's dspbridge driver, do
Test Socket Node
In order to run dsp-test you need to install the test.dll64P socket node. You can grab the binary from the firmware branch of the repository.
But if you're bold enough and want to compile the socket node by yourself, you can find the source code in http://github.com/felipec/dsp-dummy in the fc-ping branch.