Hi,
I would like to ask if anyone knows how or has ever written a code to access any of the DSP registers from a program running on the ARM. I have the below simple code piece :
...
volatile int *pPSC_MDCTL1_DSP = (int *) 0x01c41a04;
if ( (*pPSC_MDCTL1_DSP & 0x001F) == 3)
return;
...
This code is giving me seg fault because the address is not readable, and that is because I need the virtual address not the actual address if I understood previous posts correctly.
How can I make this work? (Without running this code in the linux kernel).
Setup: DM6467 EVM, ARM running MontaVista linux.
Many thanks in advance.
Nejat.