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.

OMAP-L138: DSP bringup Issue

Part Number: OMAP-L138
Other Parts Discussed in Thread: OMAPL138

Hi,

    I am using OMAP-L138 processor for one of our custom board. I have a AIS format custom DSP binary, How to load the ais binary to the dsp core ? How to make sure that dsp core is running?

    Regards,

Sharmila 

    

  • Hello Sharmila,

    We have a flashing tool that you can use. Please refer to the attached document: 5123.Serial Boot and Flash Loading Utility for OMAP-L138.pdf

    Regards,

    Jianzhong

  • Hi  Jianzhong,

              I am using this tool for flashing u-boot. Can you please tell me what is the command for flashing dsp binary? 

         Actually we are keeping the dsp firmware file in root filesystem and using AISLOAD application we are loading the dsp firmware, this application actually writes the data to the device memory by opening /dev/mem. 

    The problem is the dsp firmware I am able to load using AISLOAD application in kernel 3.10.12, but same dsp firmware with same application i am not able to load in kernel 4.14.94. 

    Can you please comment something about the above mentioned issue.

    Thank you,

    Regards,

    Sharmila 

  • If your DSP firmware is in the root filesystem, then you can use IPC remoteproc to load the firmware to DSP. Please refer to IPC user's guide here.

    Regards,

    Jianzhong

  • Hi Jianzhong,

       Thanks for your input. I am successfully able to load the DSP firmware, but now DSP firmware is crashing when attempting to create thread. Can you please help me to resolve this issue?

    Thank you,

    Regards,

    Sharmila D

  • Hi Sharmila D,

    I have a few questions to help me understand your issue. Are you using SYS/BIOS on the DSP? Are you doing rpmsg between DSP and host, or just using remoteproc to load DSP firmware to the DSP? What error messages did you see on the host when DSP crashed? 

    Please check this thread for some references.

    Regards,

    Jianzhong

  • Hi Jianzhong,

          Unfortunately  I do not have JTAG for sending the logs.

         I have added a test function called Led_blink () in dsp firmware for testing purpose.

          So in main function before creating the thread Led_blink function is executing  ,but after create thread function Led_blink function is not getting called.

       Looks like dsp firmware is getting stuck when it is trying to create thread.

        Please provide some input and  help me to resolve this issue.

    Thanks,

    Regards,

    Sharmila

  • Hi Sharmila,

    Are you using the latest Processor SDK for OMAP-L138 and IPC 3.50.04.08?Are you using SYS/BIOS to create tasks? If that's the case, you can follow the IPC example at ipc_3_50_04_08/examples/OMAPL138_linux_elf/ex02_messageq. You'll see that the DSP code uses BIOS API Task_create() to create a task.

    You can follow the IPC Quick Start Guide instructions here to build and run this example.

    Regards,

    Jianzhong