Hi,
I have an application that communicates ARM and DSP cores w/ IPC MessageQ system. Currently using z3-DM8168 and ezsdk-5_05_01_04.
arm binary uses:
#include <ti/syslink/utils/Cache.h>
dsp firmware uses:
#include <ti/sysbios/hal/Cache.h>
#include <xdc/runtime/Diags.h>
#include <xdc/runtime/Log.h>
Have been using Diags and Log modules since some time with UIA, here is the UIA code of the .cfg script
var LoggerSM = xdc.useModule('ti.uia.runtime.LoggerSM');
LoggerSM.partitionId = MultiProc.id;
LoggerSM.bufSection = ".loggerSM";
LoggerSM.sharedMemorySize = 0x20000;
LoggerSM.numPartitions = 3;
LoggerSM.isTimestampEnabled = true;
Defaults.common$.logger = LoggerSM.create();
Now that I use cache for coherency of data have lost my Logs at all and I need them to track what the DSP is doing at runtime.
I saw in this forum http://e2e.ti.com/support/embedded/tirtos/f/355/p/241491/845373.aspx#845373 that cache cannot be enabled for the shared memory that is being used for the Log data.
I have my memory table .bld file that tells where the Logger SM is going to be placed, consulted xdc.bld package documentation saying that there is an attribute .cacheable that can be set to false so I can enable UIA and cache support for the Firmware at the same time.
The build broke and said that .cacheable attribute is not supported for my platform, that is: Build.platformTable["ti.platforms.evmTI816X"]so I think for now that one is not an option for me.
Does some Expert knows how can do some memory management so I can use Cache API at same time I use UIA?
Apprecciate some help on this. THANKS !