Difference: Dtctool (1 vs. 2)

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-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