arjun.a
rename files
6c7b14a
Ticket Name: RTOS/TDA2: TDA2x: Invalid MultiProc id
Query Text:
Part Number: TDA2 Tool/software: TI-RTOS Hello, I'm working with a TDA2EVM5777 and use Vision SDK version 2.5 (old Version because of legacy reason). I wrote a new link and wanted to test it in a usecase. After compiling i try to load the program but got this message in the console: [Cortex_M4_IPU1_C0] IPU1-0 Remote Log Shared Memory @ 0xa0d00000 IPU1-1 Remote Log Shared Memory @ 0xa0d04010 HOST Remote Log Shared Memory @ 0xa0d08020 DSP1 Remote Log Shared Memory @ 0xa0d0c030 DSP2 Remote Log Shared Memory @ 0xa0d10040 EVE1 Remote Log Shared Memory @ 0xa0d14050 EVE2 Remote Log Shared Memory @ 0xa0d18060 EVE3 Remote Log Shared Memory @ 0xa0d1c070 EVE4 Remote Log Shared Memory @ 0xa0d20080 ti.sdo.ipc.Ipc: line 102: ti.sdo.ipc.Ipc: line 102: assertion failure: A_invalidMultiProcId: Invalid MultiProc id xdc.runtime.Error.raise: terminating execution [C66xx_DSP1] ti.sdo.ipc.Ipc: line 101: ti.sdo.ipc.Ipc: line 101: assertion failure: A_invalidMultiProcId: Invalid MultiProc id xdc.runtime.Error.raise: terminating execution What is the reason for this failure and how can i fix this?
Responses:
Hi Julian, Will it be possible for you to try compiling this using VSDK 3.6 software-dl.ti.com/.../index_FDS.html If not can you share the changes you have made in a zip file? Regards, Rishabh
Thank you for the fast reply. In the used Project are links and a usecase which i need. They are not included in newer versions of vision sdk because its a project from someone else. For this reason i didn't compile it with a newer version of vision SDK. What kind of changes should I share? Only the Link i created or every file where i changed anything.
Hi, Can you share all files you changed on top of VSDK 2.5. Regards, Rishabh
All the files I change in the Project are in this file. I deleted the usecase to test the link. Only an unused link is left in the project. But then i get the same Error.
Hi Julian, Can you try to build VSDK 2.5 and run without these changes to check the sanity of system. Regards, Rishabh
Hi Rishabh, I can build and run VSDK2.5 without these changes. There is no Error in consol and I can choose the different usecases. I am sure that there are a few mistakes in my new link but I don'tunderstand why this Error happens so early without calling the new link in any usecase. Regards, Julian
Hi Julian, At a glance code seems fine. Can you add a while loop in the start of main application for DSP1 and then connect using CCS & debug further. Regards, Rishabh
Hi Julian, Is there an update on this? Regards, Rishabh
Hi Rishabh, Thank you for your help. I finally found my problem. In the Function MultiProc_getId there was something strange. UInt16 MultiProc_getId(String name) { Int i; UInt16 id; Assert_isTrue(name != NULL, ti_sdo_utils_MultiProc_A_invalidProcName); id = MultiProc_INVALIDID; for (i = 0; i < ti_sdo_utils_MultiProc_numProcsInCluster; i++) { if ((ti_sdo_utils_MultiProc_nameList[i] != NULL) && (strcmp(name, ti_sdo_utils_MultiProc_nameList[i]) == 0)) { id = i + MultiProc_module->baseIdOfCluster; } } return (id); } In the debugger I observed that the Variable 'i' started in the for loop with '-1' instead of '0'. I thought that maybe there was something wrong compiled. Therefor I used 'gmake -s all' instead of 'gmake -s' to rebuild everything. This solved my Problem. Regards, Julian
Hi Julian, Thanks for the confirmation. I am closing the thread. Regards, Rishabh