Hi
(using WEC7)
Is it possible to write a user app (C++ or C#) to see the contents of a peripheral register ie one of the AM335x SPI registers or the pad register?
I would like to do this so I can prove to myself that the driver has configured the peripheral register correctly
So far I've written an app that uses READ_REGISTER_ULONG() (in ceddk.dll) and by getting the virtual address from breaking into the SPI driver and using that as address I get the right answer from READ_REGISTER_ULONG() from a C# app.
What I would like to know is how can I get the register virtual address from the physical address? If I can get that then I can access the register. Everything I've tried to get the Virtual address has failed so far so any help would be appreciated.
Thanks
Terry