Instructions to read hardware information for ATCA BPMs in LCLS or FACET production.

You can read LCLS or FACET information from either system, for example from either lcls-srv01 or facet-srv01.


  •  Read AMC information, given BPM name

$ source $PACKAGE_TOP/IPMC/env.sh

$ bpm_read_atca_info.bash <bpm> amc_data

Example:

$ source $PACKAGE_TOP/IPMC/env.sh

$ bpm_read_atca_info.bash BPMS:UNDH:5190 amc_data
---Run amcc_dump_bsi for BPMS:UNDH:5190 with option amc_data
---Crate shm-undh-sp03-1 slot 4 bay 0
amcc_dump_bsi --amc_data shm-undh-sp03-1/4/0
   AMC 0 info: Aux: 01 Ser: 1a00000134cacf70 Type: 00 Ver: C03 BOM: 00 Tag: 159


  • Read all ATCA information, given BPM name:

$ source $PACKAGE_TOP/IPMC/env.sh

$ bpm_read_atca_info.bash <bpm>

Example:

$ source $PACKAGE_TOP/IPMC/env.sh

$ bpm_read_atca_info.bash BPMS:UNDH:5190 

---Run amcc_dump_bsi for BPMS:UNDH:5190 with option all
---Crate shm-undh-sp03-1 slot 4 bay 0
amcc_dump_bsi --all shm-undh-sp03-1/4
================================================================================
| BSI: shm-undh-sp03-1/4/CEN (shm-undh-sp03-1/4/4)                             |
BSI Ld  State:  3          (READY)
BSI Ld Status: 0x00000000  (SUCCESS)
  BSI Version: 0x0103 = 1.3
        MAC 0: 08:00:56:00:49:5e
        MAC 1: 08:00:56:00:49:5f
        MAC 2: 08:00:56:00:49:60
        MAC 3: 08:00:56:00:49:61
   DDR status: 0x0003: MemErr: F, MemRdy: T, Eth Link: Up
  Enet uptime:   13221615 seconds
  FPGA uptime:   13221663 seconds
 FPGA version: 0x04030001
 BL start adx: 0x04000000
     Crate ID: 0x0001
    ATCA slot: 4
   AMC 0 info: Aux: 01 Ser: 1a00000134cacf70 Type: 00 Ver: C03 BOM: 00 Tag: 159
   AMC 2 info: Aux: 01 Ser: 7c00000134e07070 Type: 00 Ver: C03 BOM: 00 Tag: 160
     GIT hash: 7b3785622e463916a04e03347a2f77f4cfa682d1
FW bld string: 'AmcCarrierBpmCavityDDV2: Vivado v2019.1, rdsrv305 (Ubuntu 20.04.2 LTS), Built Thu 18 Mar 2021 05:42:59 PM PDT by leosap'
--------------------------------------------------------------------------------
 

  • Get associated device names, given BPM name

$ caget<bpm>:{CPU,CRAT,SLOT,BAY}

Example:

$ caget BPMS:UNDH:5190:{CPU,CRAT,SLOT,BAY}
BPMS:UNDH:5190:CPU             CPU:UNDH:SP03
BPMS:UNDH:5190:CRAT            CRAT:UNDH:SP03:1
BPMS:UNDH:5190:SLOT            4
BPMS:UNDH:5190:BAY             0



  • No labels