Does anyone know how to set up c6711 cache?
|
|
C6711 cache - setup
Started by ●July 22, 2002
Reply by ●July 23, 20022002-07-23
In a message dated Mon, 22 Jul 2002 4:14:44 PM Eastern Standard Time, writes: > Does anyone know how to set up c6711 cache? Setting up the cache must be done along with the SDRAM parameter configuration. Since I am using TI's DSK for code development, I used the software example, CnfDSP_nohost.c, under the C:\ti\examples\dsk6711\board_util\conftest\cnfdsp_nohost directory to config the SDRAM. Then I added the following lines *(unsigned volatile int *)L2CFG = 0x00000003; // 3 way cache, which you can change to *(unsigned volatile int *)MAR0 = 0x00000001; *(unsigned volatile int *)MAR1 = 0x00000001; *(unsigned volatile int *)MAR2 = 0x00000001; *(unsigned volatile int *)MAR3 = 0x00000001; Regards, /Khalid |