We are using the RCE platform to preform readout of Pixel module(s).
Getting accounts, etc.
You need an account on lab1 machines, and access to the NPA area on AFS. Contact:
Mike Huffer <mehsys@slac.stanford.edu>, Amedeo Perazzo <perazzo@slac.stanford.edu>
Some links to more RCE info:
To develop RCE code:
Code Block |
---|
ssh rdusr102 #machine in lab1
#ssh rddev102 #if you want to then go to a sometimes faster build machine
source /afs/slac/g/npa/setup/npa_49.csh
|
If you don't already have a release area setup, you need to make one:
Code Block |
---|
cvs co -d <mydir> release
cd <mydir>
cvs co rce
cvs co rceusr
cvs co rceapp
#for example see ~ahaas/myrelease_new
|
Then build:
Code Block |
---|
gmake ppc-rtems-rce405-dbg #builds rce apps
#gmake i386-linux-dbg #if you want to build linux apps
|
To run netbeans:
Code Block |
---|
source /afs/slac/g/npa/setup/npa_49.csh #make sure you've done this first
~ahaas/netbeans-6.5.1/bin/netbeans &
|
Import your release area via:
"File->New Project..."
"C/C++ Project From Existing Code"
"Existing Makefile:" enter the "<release directory>/Makefile"
Change "Build Command:" to "gmake ppc-rtems-rce405-dbg"
Next, Next, Finish, then build the project.
To run RCE code:
Code Block |
---|
telnet rce22
root (nopass)
mount -t nfs 172.21.5.150:/nfsexport/home /nfs #got ip address from "mount" on rddev102
cd /nfs/ahaas/myrelease_new/build/rceapp/mod/ppc-rtems-rce405
runtask -N test ./hellomod.1.0.test.so
|
Other handy RCE commands:
...
- .
...
Working on STcontrol / PixLib / unixdaq
...
- ..
...