Hi all,
I developed a simple 30 bands equalizer application starting from the audio streaming pspiom example on the OMAPL137 evm: the DSP code works well with fixed biquad coeffs, so now I would set the gains value of each band by UDP messages using the ethernet interface controlled by ARM. As a first step I started from DSPLINK 1.63 Message sample to build a simple LINUX program that receives datagram packet from a Windows application and then retransmit data to DSP side: all worked fine and I saw led blinking right number of times, according data received.
At this point started all troubles: integrating audio EQ dsp code (about 1MB more or less) with the Message template, PROC_load returned error0x80008014 (DSP_ESIZE).
So I tryed changing DSPLINK memory map according the application note guidelines: I extended DSP CODE / DATA section to 0x2FFF80
/** ============================================================================
* @name RESETCTRLADDR
*
* @desc Indicates the start address of Reset Ctrl memory region.
* last two nibbles must be zero i.e. align to 256 boundary.
* ============================================================================
*/
#define RSTENTRYID 0
#define RESETCTRLADDR 0xC3C00000
#define RESETCTRLSIZE 0x80
/** ============================================================================
* @name CODEMEMORYADDR/CODEMEMORYSIZE
*
* @desc Indicates startaddress/size for dsplink code region.
* ============================================================================
*/
#define CODEENTRYID 1
#define CODEMEMORYADDR (RESETCTRLADDR + RESETCTRLSIZE)
#define CODEMEMORYSIZE 0x2FFF80u
After this step the error changed in 0x80008013 (DSP_ERANGE) and a warning suggests me to verify file .TCF, but I am confident address settings are correct in both ARM / DSP side. I recompiled module dsplinkk.ko even if docs says it is not necessary, with same results.
My first (led blinking) sample runs correctly after map changes.
Any suggestion?
Thanks,
Diego