Hi,
Is this the right way to read PRU DRAM from the ARM processor ?
int val = *((unsigned int*)(DATARAM0_PHYS_BASE + offset)); // where DATARAM0_PHYS_BASE = 0x4a300000
I'm able to read the values correctly using this way.
However, the values which I write to the PRU memory are not reflected in the PRU code.
*((unsigned int*)(DATARAM0_PHYS_BASE + offset)) = value;
But if I remove the reading step, the writing works fine.
Am I missing something here ?
Thanks !