Other Parts Discussed in Thread: OMAPL138, SYSBIOS
Hi,
I am working over omapl138 soc. We are making our customized board using this chip and making this as an VoIP gateway. We are also using different codecs provided by TI but problem we are facing is on the DSP side.
As the DSP application side code processing time is bit slow as per our need, for that we have tried different optimized way of making application fast.
But for now we are try making RAM portion as an cache-able using following method in our configuration file:-
Cache = xdc.useModule('ti.sysbios.family.c64p.Cache');
Cache.MAR192_223 = 0x00008000; /* xxxx xxxx xxxx xxxx xxxx xxxx xxxx 10xx */
RAM size - 256MB, Linux = 224, DSP = 32MB.
First 16MB portion we are making ipc, shared memory
Last 16MB we are making cache-able for code/data.
Are we doing this in correct manner?
After this we try to read the state of MAR192 by running our DSP application.
Cache_Mar checkMar192;
Ptr baseMar192;
baseMar192 = (Ptr)0xC0000000; // MAR192 base address
// Read MAR192 setting
checkMar192 = Cache_getMar(baseMar192);
printf("checkMar192[%d]\n",checkMar192);
We get this value as checkMar192 as 0 but it should be 1.
So please correct us where we are doing wrong and reply for further query.
Using DSP components as OS - sysbios_6.34, syslink module.
Regards
Rishabh Jain