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.
hello, I 'm debug program that are enabled L1D cache and L2(32KB cache) cache. when I debug the program , after I halted the program by breakpoint, I found some variable which are watched by " expression watch window in CCSV5" are not Consistent with my expectations , I want to know how to debug cache enabled program , can I watch variable by expression watch window or memory window.
Hi Cz h,
Have you enabled MAR bits to enable cache ?
We have "Cache" example code in starterware package for C6748 LCDK board so, take this code as sample for you.
C6748_StarterWare_1_20_04_01/examples/lcdkC6748/cache_mmu/uartEdma_Cache.c
http://software-dl.ti.com/dsps/dsps_public_sw/c6000/starterware/01_20_04_01/index_FDS.html
http://processors.wiki.ti.com/index.php/StarterWare
http://processors.wiki.ti.com/index.php/StarterWare_02.00.01.01_User_Guide#Example_Configurations