Initialize new OEPs

  1. Connect JTAG cable, then power cable
  2. Check that 1 LED is on
  3. Program board via JTAG from IspVM.
    • Program FPGA directly, do not program the flash, this will take too much time
    • If programming fails, just try again. The software has some bugs
    • use golden image bitfile
  4. Check that 4 + 1 LED are one
  5. Connect optical cable
  6. 2 LED should stay on. Green led on FOT on optical AddOn should blink for a while, then stay on. Red LED must be off.
  7. Run first communication test: read unique id
    • trbcmd i 0xfffd
    • if it fails, reset network: trbcmd W 0x10 0x8000 & wait 10s.
    • repeat several times to test communication
    • Write Serial Number and unique id to table
  8. Program first flash
    • trbflash -y -g program 0xfffd golden_image.bit
    • running trbflash is also a good way to test communication, since a complete verify of all transmitted data is done
  9. Program second flash
    • trbflash -y program 0xfffd mdc_oepb_20091006.bit (!)
  10. Check voltages, ADC
    1. initialize adc :
      • trbcmd w 0xfffd 0x8000 0xd
      • trbcmd w 0xfffd 0x8000 0x9
    2. read & check voltages with oep_voltages
  11. Try booting from both flashs:
    • trbcmd w 0xfffd 0xd200 0x0
    • trbcmd w 0xfffd 0x20 0x8000
    • try communication
    • trbcmd w 0xfffd 0xd200 0x1
    • trbcmd w 0xfffd 0x20 0x8000
    • try communication
  12. Test connection to MBO (individually for each OEP)
    1. Connect OEP to the long motherboard
    2. Boot fpga from second flash
    3. Write thresholds:
      • trbcmd w 0xfffd A0CD 0x30
      • trbcmd w 0xfffd A0CF 0x30
      • trbcmd w 0xfffd A0D1 0x30
      • trbcmd w 0xfffd A0D3 0x30
      • trbcmd w 0xfffd A0D5 0x30
      • trbcmd w 0xfffd A0D7 0x30
    4. Test calibration trigger
      • trbcmd w 0xfffd 0x20 0x1
      • trbcmd w 0xfffd 0xc0 0xc20
      • trbcmd w 0xfffd 0x20 0x01000000
      • for n in 0 to 100 loop
        • trbcmd w 0xfffd 0x20 0x10000
        • trbcmd T 1 0 0 n
        • trbcmd I 0 0 0 n
        • Check for 0x240 datawords from OEP
    5. Test normal readout
      • trbcmd w 0xfffd 0x20 0x1
      • trbcmd w 0xfffd 0xc0 0x020
      • trbcmd w 0xfffd 0x20 0x01000000
      • for n in 101 to 200 loop
        • trbcmd w 0xfffd 0x20 0x10000
        • trbcmd T 1 0 0 n
        • trbcmd I 0 0 0 n
        • Check for no errors

-- JanMichel - 30 Sep 2009

This topic: DaqSlowControl > DaqUpgrade > DaqUpgradeMDCOverview > MDCUpgradeInstallation > OEPBasicTests
Topic revision: 2009-10-26, JanMichel
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki Send feedback | Imprint | Privacy Policy (in German)