User Tools

Site Tools


phase1:phase1:bpixeltools

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
phase1:phase1:bpixeltools [2015/03/27 17:07] ngadiubaphase1:phase1:bpixeltools [2015/05/21 11:38] (current) ngadiuba
Line 13: Line 13:
    help // to get a list of options when using the command line interface    help // to get a list of options when using the command line interface
  
-Main general commands:+Some general commands:
  
 +  * **scanccu** : returned the list of the connected CCUs
   * **scanringedevice** : scan all the connected electronic devices and addresses (ccu, dohs, pohs, ... )   * **scanringedevice** : scan all the connected electronic devices and addresses (ccu, dohs, pohs, ... )
   * **scanpixeldevice** : summary of the connected and missing devices (no addresses list)   * **scanpixeldevice** : summary of the connected and missing devices (no addresses list)
 +  * **delay25 init** , **pll init** , **doh init** : initialize the devices
  
 To check pohN response (N = 1,2,3,4,5,6,7): To check pohN response (N = 1,2,3,4,5,6,7):
Line 24: Line 26:
   * **pohN read** : read the values of the 4 channels bias and gain (b0, b1, b2, b3, g0, g1, g2, g3)   * **pohN read** : read the values of the 4 channels bias and gain (b0, b1, b2, b3, g0, g1, g2, g3)
   * to set the bias or the gain do for example: **pohN set b0 30**   * to set the bias or the gain do for example: **pohN set b0 30**
-  * to set all the values at the same time do for example: **pohN set all 3 3 3 3 0 0 0 0** +  * to set all the values at the same time do for example: **pohN set all 3 3 3 3 0 0 0 0** 
 +  * to init the poh settings: **pohN init** 
  
-====Test Program====+To test i2c speed: 
 + 
 +  * first set the ccu: **ccu 0x7b** 
 +  * set the channel (0x13 for L34 and 0x11 for L12): **channel 0x13**   
 +  * set the i2c speed: **i2cspeed 1000** 
 +  * NB: the programmable i2c speeds are 100,200,400,1000 kHz 
 + 
 +====Test Programs====
        
 Run the test program (from a different terminal): Run the test program (from a different terminal):
Line 71: Line 81:
  
 ====pxFEC==== ====pxFEC====
 +
 Start the server: Start the server:
 +
    cd TriDAS/pixel/BPixelTools/pxfec    cd TriDAS/pixel/BPixelTools/pxfec
    source setup.bsh    source setup.bsh
    ./run.bsh    ./run.bsh
 +
 +Some commands:
 +
 +  * **exec data/d.ini** : program the module (N.B: the settings in the d.ini file are loaded automatically when starting the server)
 +  * **cn +2PL12** : set control network (+2PL12 for layers 1-2 and +2PL3 for layers 3-4)
 +  * **module 31** : set the module hub
 +  * **roc 0:15** : set the ROCs you want to program
 +  * **Vana 120** : program the ROCs registers (ex: Vana)
 +  * **tbm reset** : reset the tbm
 +  * **tbm disable triggers** (**tbm enable triggers**) : force no token passed mode (the tbm does not wait for the token to be returned)
 +  * **tbm enablepkam** (**tbm disablepkam**) : the tbm is reset after a lapse of time in which it does not receive the token back 
phase1/phase1/bpixeltools.1427472466.txt.gz · Last modified: 2015/03/27 17:07 by ngadiuba