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.

how run DSP if DSP code from IRAM in NORMAL boot mode?

Other Parts Discussed in Thread: OMAPL138

      I am working on omapl138. I have used Linux in ARM side and DSP BIOS in DSP side.

My application working fine When I keep all section(Linker command file) of DSP Executable in DDR.

Now I  move some part  of my DSP code & data  to L2 RAM( IRAM ).  I can able to load DSP executables ARM application is not saying any error. but DSP is not running.

When I google this problem. I found that  LPSC0 15 has to be enabled.  

I am not clear about this.

Help me,    is it true?  ...  I  have enable LPSC0 15.

if I need to enable LPSC0 15. Where i have to enable.

                      Whether I need to write a separate Linux driver. Is there any way it may be enabled in dsplink kernel module.

                       I don't want to enable LPSC0 15 using AIS GEN.

 

  • If you already have an application running in the ARM+ DSP environment from DDR, chances are that the issue is not with enabling LPSC0_15. That note that you found on the ARM+DSP boot wikis, is provided only to ensure that the user turns on the power domain of the DSP and wakes it up before the ARM tries to write into it`s internal memory.

    Are you turning on the caches in the DSP BIOS application ?Is the L2 RAM divided into data memory and cache memory? If you have not done this explicitly, chances are that DSP BIOS is using all of the L2 RAM as cache and so when you try to put data into the IRAM memory, you are system is adversely affected as it assumes the IRAM memory as cache. You will have to create the right partitions in IRAM for Data and cache and handle the cache coherence accordingly to resolve this issue.

    Regards,

    Rahul