Hi,
 
Can anybody tell me as to how can I access the memory mapped registers
directly? I have a linux kernal image sitting on my board and every time
I try to access the registers directly, it gives me segmentation fault.
I use the below command. 
 
*(unsigned int *)(0x01c67038)=0x4F4;  
 
Even though it compiles fine, when I run the executable, it gives me
segmentation fault. Note the above works fine when I run it using JTAG
because there is no Kernal image on the board.
 
I also have some drivers to set the registers but those make my code
very slow and it does not meet the timing requirements. 
 
I was wondering if anybody knows how to set or read registers in a fast
manner with the Kernal image present on the board.
 
Thanks,
 
-Furqan
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to