Difference: BUToolDump (1 vs. 2)

Revision 103 Apr 2019 - SiqiYuan

Line: 1 to 1
Added:
>
>

BUToolDump

Setup BUTool:

Check out the BUTool and IPBus plugins:

svn co http://gauss.bu.edu/svn/butool/branches/makefile_refactor BUTool
svn co http://gauss.bu.edu/svn/butool.genIPBus/trunk butool.genIPBus
svn co http://gauss.bu.edu/svn/butool-ipbus-helpers/trunk butool.ipbusHelpers

Set environment variables and compile:

cd BUTool
source env.sh
make
cd ..
cd butool.ipbusHelpers
source env.sh
make
cd ..
cd butool.genIPBus
make
source env.sh
cd ..

You should run all env.sh everytime you need to use BUTool. You can create a script to do this:

Create a set_all_env.sh and include the following commands:

cd BUTool
source env.sh
cd ..
cd butool.ipbusHelpers
source env.sh
cd ..
cd butool.genIPBus
source env.sh
cd ..

With all environment variables set up you are ready to try running the BUTool:

BUTool.exe -i "192.168.100.10 butool.genIPBus/tables/simple.xml"
 

If everything is right, you should see the following message when you connect to the board:

Registered device: GENIPBUS
use_ch false
Created URI from IP address:
ipbusudp-2.0://192.168.100.10:50001
Address table name is file://butool.genIPBus/tables/simple.xml

BUTool commands

Type "help" for a list of commands and descriptions.

Read registers

The read commands has the format: read <address> <number of words>

$ read 0

gives the following output

0x00000000:  0x46433720
$ read 0 10

gives the following output

0x00000000:  0x46433720 0x616C6C20 0x50021F79 0x00000000 0xFF7FFFD8 0x00FF0000 0xF6030010 0x00000000
0x00000008:  0x00000000 0x00000000

-- Siqi Yuan - 03 Apr 2019

Comments

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