Hi,
I am trying to modify the IPC ex02_messageq Example with using an Linux executable as Host and DSP executable for the DSP1. The Linux executable is built with the IPC libraries and almost the same IPC function calls like in the example.The DSP executable is quite the same, no big modification.
My problem is this. There is the possiblity to use the makefile to build the DSP-file and copying it on the target in /lib/firmware or using CCS6 on my Linux -VM to builld the makefile project and load the programm into the DSP1-Core. But it seems like I am getting 2 different results, even though the generated xe66-files are the same.
Output Console:
Makefile Build
Processor List...
procId=0, procName=HOST
procId=1, procName=IPU2
procId=2, procName=IPU1
procId=3, procName=DSP2
procId=4, procName=DSP1
FILTER_MEDIAN
Trying MessageQ_create...
MessageQ_create OK!!
Trying MessageQ_open...
MessageQ_open status: 0
MessageQ_open OK!!
Copying Data OK!!
Trying MessageQ_put...
TransportRpmsg_put: send failed: 90 (Message too long)
MessageQ_put had a failure error
CCS6 JTAG-Connection:
Processor List...
procId=0, procName=HOST
procId=1, procName=IPU2
procId=2, procName=IPU1
procId=3, procName=DSP2
procId=4, procName=DSP1
FILTER_MEDIAN
Trying MessageQ_create...
MessageQ_create OK!!
Trying MessageQ_open...
MessageQ_open status: -6
MessageQ_open: Failed opening MessageQ: -6
When I try to debug the CCS6 programm, it seems like, I am hanging in an infinite loop of IpcMgr. The call stack says that I am staying in the function IpcMgr_ipcStartup and the call to TransportRpmsgSetup_attach(procId, 0) in line 96 of IpcMgr.c
The problem with the makefile program is another issue. I want to find out, what causes the "Message too long" message. And I wanted to use the debugging way of CCS6.
Why is there a difference between these 2 ways of using the DSP? I have also checked the console output of the making process. Its 1 by 1 the same.
I have attached the neccessary files. I am using following stuff:
Target: EVM AM572x
IPC: 3.40.01.08
Processor SDK Linux (ARM) / RTOS (DSP): 2.00.01.07
Any help? Thank you!
https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/Files.7z

