dtctool usage

dtctool is a command-line tool which reads/writes registers on the DTC. The latest copy is (should be) located in /home/daq/bin/ and are built in /home/msdim/ipmi/ipmitool-1.8.11/dtctool/ where the current version is called dtctool_vREL.

The syntax for use is as follows:

./dtctool < ip address > < register (hex) > < command tag > < data (hex, dec for read) >

The following commands are available:

• -h Help.

• -r Reads from an 8-bit register. If < data > is given a number, additional registers will be read.

• -w Writes to an 8-bit register with data given. Ex: ./dtctool 192.168.1.10 0x8 -w 0x2c

How to build; Version info

As dtctool currently lacks a makefile, use bld.sh to build dtctool. Note that the argument of bld.sh gives a version number. So ./bld.sh 1 builds dtctool_v1

v1 (2010-06-16)

Skeleton program. Has read from one or multiple 8-bit registers (-r) and write to one 8-bit register (-w) and help.

-- MichaelDimitriyev - 16 Jun 2010

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r2 - 16 Jun 2010 - MichaelDimitriyev
 
  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback