Other Parts Discussed in Thread: SYSBIOS
Tool/software: TI-RTOS
Hi,
I'm trying to figure out a strange cache behavior.
#define Cache_Type_L1P ti_sysbios_family_c64p_Cache_Type_L1P
#define Cache_Type_L1D ti_sysbios_family_c64p_Cache_Type_L1D
#define Cache_Type_L1 ti_sysbios_family_c64p_Cache_Type_L1
#define Cache_Type_L2P ti_sysbios_family_c64p_Cache_Type_L2P
#define Cache_Type_L2D ti_sysbios_family_c64p_Cache_Type_L2D
#define Cache_Type_L2 ti_sysbios_family_c64p_Cache_Type_L2
#define Cache_Type_ALLP ti_sysbios_family_c64p_Cache_Type_ALLP
#define Cache_Type_ALLD ti_sysbios_family_c64p_Cache_Type_ALLD
If I do a call like:
Cache_wb(packeto[0], MAX_DATA*MAX_FRAMES, Cache_Type_ALLD, 1);
Will this write-back all data caches, all, or just the amount of bytes I selected from the set pointer for both in L2 DATA and L1 DATA ?
Jaime