This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Reading PRU DRAM from ARM processor



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 !