Difference: Dtctool (1 vs. 4)

Revision 407 Jul 2010 - MichaelDimitriyev

Line: 1 to 1
 
META TOPICPARENT name="DTCSoftware"

dtctool usage

Changed:
<
<
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.
>
>
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:

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

The following commands are available:

Changed:
<
<
• -h Help.
>
>
h Help.
 
Changed:
<
<
• -r Reads from an 8-bit register. If < data > is given a number, additional registers will be read.
>
>
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.
 
Changed:
<
<
• -w Writes to an 8-bit register with data given. Ex: ./dtctool 192.168.1.10 0x8 -w 0x2c
>
>
w Writes to an 8-bit register with data given. w16 and w32 write 16-bit and 32-bit registers.
 
Added:
>
>
x writes from a file. Each line of the file must be in the following format:
 
Changed:
<
<

How to build; Version info

>
>
<.hex address of register.> <.data to write.> <.data type (8-bit, 16-bit, 32-bit).>
 
Changed:
<
<
There is a makefile included in the dtctool directory. For detials on the dependencies for ipmitool-based programs, see ipmitool.
>
>
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.
 
Deleted:
<
<
v1 (2010-06-16)
 
Changed:
<
<
Skeleton program. Has read from one or multiple 8-bit registers (-r) and write to one 8-bit register (-w) and help.
>
>

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 \ No newline at end of file

Revision 322 Jun 2010 - MichaelDimitriyev

Line: 1 to 1
 
META TOPICPARENT name="DTCSoftware"

dtctool usage

Line: 21 to 21
 

How to build; Version info

Changed:
<
<
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
>
>
There is a makefile included in the dtctool directory. For detials on the dependencies for ipmitool-based programs, see ipmitool.
  v1 (2010-06-16)

Revision 216 Jun 2010 - MichaelDimitriyev

Line: 1 to 1
 
META TOPICPARENT name="DTCSoftware"
Added:
>
>

dtctool usage

 
Added:
>
>
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.
 
Added:
>
>
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 \ No newline at end of file

Revision 116 Jun 2010 - MichaelDimitriyev

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="DTCSoftware"

-- MichaelDimitriyev - 16 Jun 2010

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback