ArsRegRw|工具線上App不用買

シェア記事:

【免費工具App】ArsRegRw-APP點子

I. Intro

Your Android device - a phone, a tablet, or any other type consists of a microprocessor (CPU), number of chips connected to it, and additional components - like a display, connectors, buttons, etc...

'ArsRegRw' allows read/write of the CPU registers and the chips on device hardware app - almost all of the total 4gbytes space.

II. Pre-requisites

'ArsRegRw' is a software package consisting of :

- 'ArsRegRw' Android app

- software engine installed from the host side

Pre-requisites to be able to use 'ArsRegRw' with an Android device are:

1. Allowed Root access '#' on the Android device; if the device does not have root access steps must be take to root it; if unable to root the device you will not be able to use 'ArsRegRw'.

2. User's Manual / Technical reference manual (UM/TRM) .pdf file for the CPU on which the the specific Android device is based.

The document should include a memory map and addresses of the built in preipherals - gpio, timers, i2c, spi, sdio/mmc, usb ...

III. Use

The 'ArsRegRw' app has a field to enter a command, a command button, and a status field.

Each command is a text string with 2 or 3 fields separated by space -

a bbbbbbbb cccccccc , where -

a) command - r=read memory, w=write memory

bbbbbbbb) address - 32bit physical memory address

dddddddd) data - 32bit data (to write, not used in read)

IV. Tutorial

We did test 'ArsRegRw' app on 2 boards:

- pandaboard - based on TI OMAP4 processor

- origen - based on Samsung Exynos 4 processor

We provide 3 exercises, with specific pointers.

!!! IMPORTANT: Download the User's Manual documents, and before doing the specific exercise - turn to the specific page , read and understand the information.

Exercise1 *** chip id ***

【免費工具App】ArsRegRw-APP點子

Each CPU vendor places information on the CPU id/number/revision on a specific memory location. Software can use this info to support a variety of options with a single program, and also to patch and fix things.

- ti omap .pdf page 288, ch. 1.5 OMAP4470 Family and Device Identification

Command : r 4A002200 - reads STD_FUSE_DIE_ID_0

- samsung exynos .pdf page37 , ch. 3.2.1.1 PRO_ID

Command : r 10000000 - reads PRO_ID

Exercise2 *** gpio ***

Every ARM SOC CPU has a large number of gpio pins, which can be configured by software to connect to a function - i2c, timer, spi, mmc/sdio ... or serve as a general input / output pin.

- ti omap , pandaboard.org - offers 'OMAP4460 Panda Board schematic' .pdf Commands : r 4A310134 - reads GPIO_OE, saves initial value -> x

r 4A31013c - reads GPIO_DATAOUT, initial value -> y w 4A310134 400 - write GPIO_OE , bit10=1, define as OUT

w 4A31013c 400 - write GPIO_DATAOUT, bit10=1, Vcc on pin10

w 4A31013c 0 - write GPIO_DATAOUT, bit10=0, GND on pin10

w 4A310134 x - restores GPIO_OE

w 4A310134 y - restores GPIO_DATAOUT

- samsung exynos .pdf , page162 , ch. 4.3.3.1

Commands : r 1100_0040 - reads GPK0CON; returns 3333333 = sd4

r 1100_0060 - reads GPK1CON; returns 44440000 = sd4

r 1100_0080 - reads GPK2CON; returns 2222222 = sd2

r 1100_00a0 - reads GPK3CON; returns 2222222 = sd3

Exercise3 *** cpu clock ***

There are popular apps used to overclock the CPU. The increase/decrease of the CPU clock is achieved by different means for the different CPUs.

- ti.com - omap .pdf page806 , chapter 3.11.23.2

Command : r 4A004100 - reads CKGEN_CM1

You will need to try both:

- OR the above value with 1 , and do a write

- AND the above value with 0xfffffffe , and do a write

【免費工具App】ArsRegRw-APP點子

- samsung exynos page395

The procedure is more complex, please study the details about the clock setting.

V. Feedback

We would love to know about the environment and the results of your testing. Please submit to us details like - Android device, sequence to gain root access, location of the CPU UM/TRM...

The goal of this is to create a repository with information, for the benefit of all developers.

You can contact us by email to - info@arstech.com .

免費玩ArsRegRw APP玩免費

免費玩ArsRegRw App

ArsRegRw APP LOGO

ArsRegRw LOGO-APP點子

ArsRegRw APP QRCode

ArsRegRw QRCode-APP點子
熱門國家系統支援版本費用APP評分上架日期更新日期
未知Android
Google Play
1.1
App下載
免費
1970-01-012015-04-21
シェア記事: