Hi there

I have written a shell utility called kcpbr. 
It will save the content of a remote borph register
to a local file.

It uses the katcp ?bulkread command available in 
the raw mode of tcpborphserver2.

kcpbr may be useful in shell scripts which
need to control a roach remotely. Below a
shell fragment to illustrate this:

# set the roach to use (see also the -s flag)
  export KATCP_SERVER=ip.of.your.roach:7147
# configure/trigger something
  kcpcmd wordwrite some_register 0 0xdeadbeef
# retrieve 1Mb of data
  kcpbr -f save-data.bin -b $[1024*1024] dram_memory

The code can be found at
http://casper.berkeley.edu/svn/trunk/roach/sw/tcpborphserver2/
the kcpbr utility will be built in the bulkread/ subdirectory

regards

marc

Reply via email to