I.MX6: Android register access tool

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

I.MX6: Android register access tool

821 Views
sureshrao
NXP Employee
NXP Employee

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

Labels (2)
Tags (3)
0 Replies