Hi Talents,
I found the following code in C:\ti\bios_6_37_02_27\packages\ti\sysbios\family\c64p\Cache.c
/*
* make a dummy write and read to emif config register to
* insure that data made it out to external memory, otherwise
* its possible that the data is out of the Master's view but
* has not reached its final destination.
*/
mask = Hwi_disable();
if (Cache_module->emifAddr != NULL) {
*(Cache_module->emifAddr) = 0;
*(Cache_module->emifAddr);
Cache_module->emifAddr = NULL;
}
I want to know if it is a unavoidable operation?
The background that I ask for is we enable the MMU in the system, the Cache_module->emifAddr is usually 0x4C000000 and beyond the allowed regison of MMU. So now we need to solve it either by re-config MMU to allow the access or by make it clear whether we can remove this access in Cache module.
Thanks,
Allen