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.

IPC - MultiProc_setBaseIdOfCluster()

Hello,

I'm using hardware with two C6678 devices. I want to use IPC with SRIO using a single executable. The IPC Users Guide explains how the processor ID can be changed during runtime by using a startup function. Because my system now has two clusters, I additionally tried to call MultiProc_setBaseIdOfCluster() in my startup function.

First, there seems to be a bug in the implementation of the function:

    Assert_isTrue(((baseId + ti_sdo_utils_MultiProc_numProcsInCluster)
            < ti_sdo_utils_MultiProc_numProcessors),
            ti_sdo_utils_MultiProc_A_invalidMultiProcId);

baseId is 8 for the second chip, ti_sdo_utils_MultiProc_numProcsInCluster is 8 and ti_sdo_utils_MultiProc_numProcessors is 16. Therefore the condition will fail.

Second, it doesn't seem to be possible to change the clusters base ID during runtime. I think it has to be valid in the RTSC configuration, before calling MultiProc.setConfig. But what would be a use case for MultiProc_setBaseIdOfCluster()?

Is there any chance to use a single binary for both processors? It would be annoying to have to build two binaries with the only difference in the clusters base ID.

Thanks,
Ralf