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.

EVM6678L board - How to disable the cache?

Dear Everyone, I would like to ask the forum's assistance in resolving the problem I experience in EVM6678L board.

I wrote an Ethernet Application based on the  PA_simpleExample and PA_multicoreExample projects. I have some problem of cache coherency. Then I want to disable the cache but it continues working.

I changed in the evmc6678.gel file:

    CACHE_L1PCFG = 0;    
    CACHE_L1DCFG = 0;       
    CACHE_L2CFG  = 0; 

and the cache is working yet.

I used the CACHE_disableCaching(i) function for all the DDR at the start of my program

and the cache is working yet.

Some know how to disable all cache on c6678 ?

Thanks,

Enrique

  • So you modified this in the GEL file - which this is in the Hotmenu 'Set_DSP_Cache'.  This is not automatically run.  Though it's called by Global_Default_Setup_Silent, which is called by another hotmenu 'Global_Default_Setup' which also isn't automatically called.

    Have you loaded the GEL script and have you execute either of these hotmenu items?

    Have you looked at what's in the memory at those locations after you've done it?

    Let's start there.

    Best Regards,
    Chad

  • Chad,

    Thanks for your response.

    You are right, I run the Set_DSP_Cache in the Hotmenu: Scripts->EVMC6678L Init Functions -> Set_DSP_Cache, and now I see that the cache is disabled

    Thanks,

    Enrique.