Can any body help me to access internal registers of mini2440 directly in in C#.
How to access internal registers directly in C#
I think that there is something easier and more direct but you can write a driver that write in the register using the "__raw_writel" function. An easier method is to use "mmap" /dev/mem. By this way you can read/write on the registers as you want. Look on google about "mmap".
All you need is explain here : http://www.simtec.co.uk/appnotes/AN0014/
Thanks for your reply. I think there might be a way to access the internal registers in C# using VirtualAlloc function. Have any one done this before? If we are successful to do this i don't think we need to write any kind of driver. Please correct me if i am wrong.
Do you read my link ? With mmpa you don't need to write a driver. You can directly write in the CPU's register from your user space app.
This application note describes how General Purpose Input/Output (GPIO) pins may be manipulated, from Linux ---------------------------------- How to access internal registers directly in C# ---------------------------------- C# for Linux ??!!
"*Baby*" Thanks for your reply But as i mentioned i need a solution through which we can access internal registers directly in C#. Sorry i did not give details. I am using WinCE 6.0 and need to access internal registers directly in C#. I heard we have Mono Framework which work on Linux but i am unaware whether they have ported to Mini2440. What you suggested is useful when i am using Linux this is what i understood after going through the link you provided. have anyone know how we can do this. Any kind of help appreciated. thnx

