Hello
I have recently been playing with the ARM PAD (pinmux) settings and
wish to move onto actually viewing the registers for these. As I am
new to linux I was quite surprised with the implementation of /sys/
kernel/debug/omap_mux and think it is a fantastic tool. I was
wondering if something existed for the peripheral registers.
If not from my research I currently think it would be possible to
create a C program using /dev/mem to target a particular physical
memory address and read/write it contents. This program could then
read/write to the peripheral registers to setup the registers for a
particular device.
I would like some feedback, firstly does this already exists, if not
would it work using /dev/mem. My background is in cortex-M3 so I am
comfortable with the ARM's peripheral register memory mapping and
offsets.
If its agreed that it will work and doesn't already exist I'll setup
up a project on github and get cracking.
Troy