Hi, All,
The attached tool can be used to access register from android terminal window.
How to Build:
Create directory 'regaccess' under 'external' directory in the android root directory, copy the attached files and build android images. The built system image will now include 'regaccess' utility to read/write registers in android.
Syntax:
$ regaccess <register> [val]
To read IOMUX register located at 0x20e0000
$ regaccess 0x20e0000
To write to 0x0 to register 0x20e0000
$ regaccess 0x20e00000 0x0
Hope this helps in debugging issues from android.
Best Regards,
Suresh
Original Attachment has been moved to: Android.mk.zip
Original Attachment has been moved to: regaccess.c.zip