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.

disable cache on DM8148

Other Parts Discussed in Thread: SYSBIOS

hello  ,

  I am  working with  DVRRDK_04.01  and ccs  version  5.5    .

  I am programming  the C674x .

  What do i have to do to disable cache only in the  shared regions  in the system .  

  If  i set  the field 'cacheEnable' in the struct 'SharedRegion.setEntryMeta'  to 'false'

  my application stops working with the Arm .

Regards .

  • Shlomo Kabaz said:

    If  i set  the field 'cacheEnable' in the struct 'SharedRegion.setEntryMeta'  to 'false'

      my application stops working with the Arm .

    The cacheEnable field for SharedRegion is just information for SharedRegion, telling it whether or not it needs to perform cache maintainence calls or not.  It has no effect on the cache mode itself.

    You need to use Cache_setMar() (for runtime setting) or Cache.setMarMeta() (for static setting in .cfg file) to disable caching of your SharedRegion.  Please see <SYSBIOS_INSTALL_DIR>/docs/cdoc/ti/sysbios/family/c66/Cache.html

    Regards,

    - Rob

  • Hello  Rob 

      Thank you for your answer , it helped a lot .

    Regards , Shlomo .