Search by Tags

Reg Access Tool

 

Compare with Revision



Subscribe for this article updates

Overview

The Reg Access Tool or Register Access Tool is a free tool which allows you to read from and write to physical addresses such as registers, RAM locations, etc. on Colibri and Apalis computer on modules. Previously we had this functionality as a part of our Colibri Tweak tool but for better maintainability we have split this into a separate tool.

Features

  • Allows you to read and write memory/registers in 8Bit / 16Bit / 32Bit format.
  • Provides binary values of the output, for easy readability.
  • Drop-down keeps the history of used addresses.
  • You can copy binary data using Ctrl + c.
  • Added Command Prompt interface for read and write memory/registers in all formats.
  • Added Command Prompt interface for Clear and Set mask of memory/registers in all formats.

reg-access-tool

Note - Reading from or writing to wrong/critical memory locations and registers can lead to the tool or even system freezes and crashes. Please make sure you know which addresses you are accessing. Please refer to the individual SoC (processor) datasheet for details about the memory map and register descriptions.

Command Prompt Interface

To use application through command prompt here are the commands to use:

  • For generic read operation:
\DIRECTORY\RegAccessTool.exe /dm [ReadAddress]

[ReadAddress]: physical address to read/write
  • For bit format read operation
\DIRECTORY\RegAccessTool.exe /dm [ReadAddress] [bitType]

[ReadAddress]: physical address to read/write
[bitType]: access operation type ([b]yte, [h]alfword, [w]ord)
  • For write operation:
\DIRECTORY\RegAccessTool.exe /dm [WriteAddress] [bitType [writeData]]

[WriteAddress]: physical address to read/write
[bitType]: access operation type ([b]yte, [h]alfword, [w]ord)
[writeData]: data to be written in memory location
  • For set/clear masking operation:
\DIRECTORY\RegAccessTool.exe /c[bitFormat] [address] [clearMaskValue] [setMaskValue]

[bitFormat]: bit format for masking ([/c32] 32 bit, [/c16] 16 bit, [/c8] 8 bit)
[address]: physical address where data to be masked
[clearMask]: bit position/s which needs to be cleared
[setMask]: bit position/s which needs to be set

Examples

Reading address 0x0000000, assuming application placed in FlashDisk directory.

\FlashDisk\RegAccessTool.exe /dm 0x0000000

Reading address 0x6000d008 in 8bit format, assuming application placed in USB HD directory.

"\USB HD\RegAccessTool.exe" /dm 0xd0006008 b

Writing value 0xFFFF at address 0x0000000 in 16bit format, assuming application placed in USB HD directory.

"\USB HD\RegAccessTool.exe" /dm 0x00000000 h 0xFFFF

Clear and Setting mask at address 0x81000000 in 32bit format, assuming application places in USB HD directory.

"\USB HD\RegAccessTool.exe" /c32 0x81000000 0x00f01010 0x10000001

Download

Please find the download links below, for respective OS:

Tool WinCE6, WEC7 WEC2013
RegAccessTool Latest version Latest version