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.

AM5728: DSP firmware load

Part Number: AM5728

Hello,

I am a graduate student from the Electric Power College of South China University of Technology. Recently, we are using the development board of am5728 for development.  We need am5728 to start dsp when running Linux under arm,and run sys/bios  developed dsp (.out) program.

Because we are not professional embedded developers, we hope that our development work can be as simple as possible, so we don't want to be as described like below

https://e2echina.ti.com/question_answer/dsp_arm/sitara_arm/f/25/p/139873/546387?tisearch=e2e-sitesearch&keymatch=%20user%3A93057#546387

use opencl, ipc to start the program under dsp, which means we need to use the corresponding components, and our dsp program needs to be modified,it will be more difficult for us. In the above post, it also mentioned the use of the mailbox to achieve communication between dsp and arm. I tried this method, but the dsploader program used in this routine does not seem to be correctly loading a tl-led-flash_c66.out routine into dsp1. I don't know whether the mailbox support dsp routines developed under sys/bios, so these three methods don't seem to suit us.

My professor wants to implement this program like this: He said that we don't need opencl, ipc development components, we want arm and dsp to run independently, arm run linux program, dsp runs  the (.out) program developed by sys / bios development component under ccs,  arm run first, then arm move (.out) file to dsp space, start dsp to run (.out) program, band realize the data transfer through the shared memory.

I am very grateful if you can help us with the solution.

Yours sincerely

LI

  • Hello LI,

    I think you are asking how to load DSP firmware and initialize the DSP from the ARM core running Linux. Let me know if you were asking about something else.

    In Linux, TI uses RemoteProc to load firmware into slave cores and initialize them. Please find more information on that loading process in our IPC documentation.

    Regards,

    Nick

  • Hello Nick,

    Thanks for your reply,when I ‘m running the linux on arm,at the same time if I just want to run the tl-led-flash_c66.out ,or the ccs project I created by myself into dsp1 ,how to achieve it?Just using RemoteProc?

    Regards,

    LI

  • Hello LI,

    Please check out the documentation. If you have specific questions after that, feel free to ask them.

    In general, you will use bind and unbind commands to tell RemoteProc to load the firmware and initialize the DSP. Note that you will need to have a Resource Table so that both the Linux ARM and the DSP core know where the DSP memory is. See Sahin's reply on the post RemoteProc Error for IPU for more information about the Resource table.

    Regards,

    Nick