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.

AM5718: How to run DSP code from OCMC_RAM1

Genius 13655 points
Part Number: AM5718


Hello Champs,

SW: RTOS SDK  04.01.00.06 (26 Sep 2017) and the latest version SDK 08.01.00.09. 

Customer wants to run DSP code from OCMC_RAM1, but it prompts below errors:

[21579.679926]omap_hwmod:mmu1_dsp1: _wait_target_disable failed

[21583.879970]omap_hwmod:mmu0_dsp1: _wait_target_disable failed

[21583.880344]remoteproc remoteproc0:stopped remote processor 40800000.dsp

[21583.888075]remoteproc remoteproc0:releasing 40800000.dsp

[21583.898551]omap-rproc 40800000.dsp:assigned reserved memory node dsp1_cma@99000000

[21583.908473]remoteproc remoteproc0:40800000.dsp is available

[21583.927859]remoteproc remoteproc0:powering up 40800000.dsp

[21583.933763]remoteproc remoteproc0:Booting fw image dra7-dsp1-fw.xe66,size 4686076

[21583.950234]omap_hwmod:mmu0)dsp1: _wait_target_disable failed

[21583.979343]remoteproc remoteproc0:bad phdr da 0x300000 mem 0x20120

[21583.985806]remoteproc remoteproc0:Failed to load program segments:-22

[21584.007753]omap_hwmod:mmu1_dsp1: _wait_target_disable failed

[21584.020313]omap_hwmod:mmu0_dsp1: _wait_target_disable failed

DSP MEMORY:


DSP SECTIONS:

 

The same DSP code can run on L2SRAM、EXT_CODE、EXT_DATA、TRACE_BUF. 

Can the DSP code run from OCMC_RAM1? Is there some special configurations?


Thanks
Regards
Shine