cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
kiranpanch
Observer
Observer
989 Views
Registered: ‎11-08-2017

Xil_DCacheFlush() does not work always

Hi,

 

I am writing few bytes of data to OCM memory from R5 and calling Xil_DCacheFlush(). But many times the data is not been flushed to OCM.

 

I have enabled both the D and I Cache at the start of my main().

int main()
{
    init_platform();
    Xil_DCacheEnable();
    Xil_ICacheEnable();

.....

Is there any condition, only then cache flush works ?

 

HW : Zynq Ultrascale + on ZCU102

 

Regards,

Kiran

0 Kudos
0 Replies