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.

L137 DSP side question?

Dear TI Experts,

There is an OMAP application which the DSP code is controlled by ARM (loading, etc), all I want to do is to test the DSP side and for this, I want to be able to read and write from/to a file in my DSP application (in run time) however I don't know if this is firstly possible ?

and If this is possible, can I do it directly inside the DSP and where the files shoudl be stored in the filesys structure of OMAP?

If I need to use the RTDX, can I use the RTDX independent of the way ARM is run?

I appreciate any comments/advice on this.

Cheers,

Hasper

  • There is no easy way to make DSP code access the ARM/Linux side file system, if not possible. However, you can have DSP side RTDX to run independent of ARM. As a matter of fact, you can still use CCS/JTAG to debug your DSP code.

    Here are the procedures you can try.

     

    1. Have the following spin loop code at the beginning of your dsp code.

    spin = 1;

    while(spin);

     

    2. Have your ARM/Linux code load and run DSP code (I assume you are using DSPLINK?). At that time, your DSP should spin in that loop.

    3. Open CCS and connect JTAG to the DSP of OMAPL137. Make sure you don't run at GEL function when connecting DSP.

    4. Open the DSP side CCS project. At that time, you should see your DSP program halts at that spin loop. Change spin to 0 and then you can debug your DSP code line by line.