This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

executing our own function on DSP side

hi everybody,

I want to run some code on DSP on DM8168 platform and I am using DVR RDK 3.5.
I looked into some sample code of audio AAC-decode function in which the use the Remote-processor-execute calls(Rpe_XXX).


But still i haven't figured out completely how to run a function on DSP side.
My requirement is as follows:

I have a function :

int modify_yuv_buffer(char *in_buf, char *out_buf){.....}


I want this function to be called from ARM side and execute on DSP

1. How do i compile this function to DSP executable and load it DSP-code region?
2. How do i call this function from ARM side?
3. How do i allocate the buffers for in_buf and out_buf?
4. How do i get the return value and out_buf on the ARM side?

How do i accomplish the above?(I am not using Code-composer-studio in my setup)

Thanks in advance for your reply,

Srimugunthan