Hello!
I am looking at getting dsplink & dsplib working on the beagleboard. I've managed to successfully build and install dsplink and have ran the sample apps that came with it to confirm functionality. I've also built, installed, and tested the CMEM module as well. I can compile the "call_dsplib" example program. However, I'm having difficulties running it with the sample data provided. The issue is that, depending on what DSPLIB function I specify on the command line, the behavior of the program changes. If I specify "DSPF_sp_mat_trans" as the DSPLIB function to call, the program runs fine without problem. If "DSPF_sp_mat_mul" or "DSPF_sp_iir" then the program returns but the output.txt file contains all zeros(incorrect data). If "DSPF_sp_fftSPxSP", "DSPF_sp_ifftSPxSP", or "DSPF_sp_fir" then the program hangs forever with the ARM waiting in the "MSGQ_get" function. I have checked all the provided sample data carefully and it seems valid to me. As it is, I do not receive any error messages other than invalid data.
I did get a "DSP MMU Error Fault MMU_IRQSTATUS = [0x1]" error initially, but I managed to fix it by adding the CMEM memory region to the DSPLINK memory map(the dsplink-omap3530-base.tci & CFG_OMAP3530_SHMEM.c files).
I feel like I'm finally on the verge of getting DSPLIB up and going, but am stuck on this last problem. Any help you guys could provide would be very appreciated! I can provide any code or outputs you need. Thanks!
Here are the versions for the various apps/libraries I am using:
Linux: Angstrom Linux, kernel version 2.6.32
ARM toolchain: Built with openembedded, gcc version 4.3.3
DSP toolchain: "TMS320C6000 C/C++ Code Generation Tools" 7.0.4
DSPLINK: 1.63.01
CMEM: part of linuxutils_2_25_04_10
DSPLIB: version 1.2 ( downloaded from http://focus.ti.com/docs/toolsw/folders/print/sprc265.html )