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.

How to set cache enable and disable?

Other Parts Discussed in Thread: SYSBIOS

1.About cache enable and disable.

Can I change it by C source?

I find 4 functions in "am335x_sysbios_ind_sdk_1.0.0.1" folder.

・CP15ICacheDisable()
・CP15DCacheDisable()
・CP15ICacheEnable()
・CP15DCacheEnable()

Can I set cache enable and disable by call the above 4 functions?

by the way, does the function CP15DCacheCleanFlush() has  the function that cleans the cache( Dcache only ? ) ?

 

2.About cache hit rate.

Are there some algorithms for improve the cache hit rate?

Can I improve it by change the C source?

 

3.How to set RAM address mapping to the cache L1?