dtctool usage

dtctool is a command-line tool which reads/writes registers on the DTC. There is a copy included in the modified version of ipmitool at http://cms1.bu.edu/~msdim/dtc_software/

The syntax for use is as follows:

./dtctool  <.ip address.>
>  <.command.>  <.register address.>  <.data.>
> ...

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. r16 and r32 read 16-bit and 32-bit registers.

w Writes to an 8-bit register with data given. w16 and w32 write 16-bit and 32-bit registers.

x writes from a file. Each line of the file must be in the following format:

<.hex address of register.> <.data to write.> <.data type (8-bit, 16-bit, 32-bit).>

If "x file.dat 8" is used, then all of the registers in the file are assumed to be 8-bit (same goes for 16 and 32). Simply using "x file.dat" will cause dtctool to look for the data type on each line of the file, which is good if assorted-length registers need to be written.

How to build; Version info

There is a makefile included in the dtctool directory. For detials on the dependencies for ipmitool-based programs, see ipmitool.

-- MichaelDimitriyev - 16 Jun 2010

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