Difference between revisions of "Jessica FB"

From Hall A Wiki
Jump to: navigation, search
Line 62: Line 62:
  
 
to execute code:  terminal:ld < _____.o
 
to execute code:  terminal:ld < _____.o
 +
 +
Robs Method for running through analyzer:
 +
 +
terminal: analyzer
 +
terminal: .L name.c
 +
terminal: name()
 +
terminal: .q (to quit analyzer)
 +
 +
-------------------------------------------------------------------
  
 
-------------------------------------------------------------------
 
-------------------------------------------------------------------

Revision as of 14:04, 30 June 2014

Setting up fastbus crates: once everything is plugged in

terminal: minicom terminal: crtl a then o seperately

This will bring up options for changing system

terminal: go to serial port and change A - Serial Device to: /ttyUSB0

                                      E - pps/par/bits to : 9600 8N1

To configure the system:

terminal: c

type in the following information

Booting the CPU

boot device          : dc                                                       
unit number          : 0                                                        
processor number     : 0                                                        
host name            : yer122                                                   
file name            : /home/vx/kern/5.5/vx2400_u1                       
inet on ethernet (e) : 129.57.37.3:fffffe00                                    
host inet (h)        : 129.57.36.45                                             
gateway inet (g)     : 129.57.36.1                                              
user (u)             : vx                                                       
ftp password (pw)    : vxworks111                                               
flags (f)            : 0x20                                                     
target name (tn)     : eeltest2                                                  
startup script (s)   : eeltest2-yer122.boot

After all of this is filled in:

terminal: p (pritns what was typed in) terminal: @ (this will boot the system)


To log into the CPU through the network to CPU in eel: telnet eeltest2 other computer: ssh username@login.jlab.org

               ssh username@hallgw
               code
               ssh adaq@yer122
               telnet eeltest2

Where to find all files for...:

Files on yer122 : /home/vx/jessica/


TI files in /home/vx/jessica/ti directory


Writing, compiling, and executing C code:

to compile c code: terminal:ccppc -c _____.c

to execute code: terminal:ld < _____.o

Robs Method for running through analyzer:

terminal: analyzer terminal: .L name.c terminal: name() terminal: .q (to quit analyzer)



Notes on vxWorks:

to change directroy: cd "argument" ... use quotes insteaD