andrew peck 1 csc otmb firmware meeting february 21, 2014 alct/tmb/rat test stand at cern setting up...

6
Andrew Peck 1 CSC OTMB Firmware Meeting February 21, 2014 ALCT/TMB/RAT Test Stand at CERN Setting up complete duplicate of the ALCT-TMB-RAT test stand at CERN. Setting up computer, crate controller today. David Saltzberg is coming to CERN on Sunday with the remaining equipment. Just need to plug in some things, move rails around on the rear of the crate (to accommodate RAT board)--- Should be done by Monday if things go okay.

Upload: kevin-phelps

Post on 18-Jan-2018

223 views

Category:

Documents


0 download

DESCRIPTION

Andrew Peck 3 CSC OTMB Firmware Meeting February 21, 2014 Muonic timing Working with Indara, Jason on investigating the problems with ALCT muonic timing. Issues are more fundamental than just muonic timing.. ALCT-tx windows aren’t being found, muonic timing capabilities have been cannibalized to compensate for this. Likely conflated issues of software + firmware. Two cases.. maybe related: 1.1D-Tx and 1D-Rx window are both found, but the 2D scan fails to find any good spots for certain TOFs. This is a feature of more recent software versions, possibly related to pipeline depth scan. Right now comparing two versions (working + nonworking) of code to track down what change introduced this. Indara reports that in these cases, a good working window can found based on the 1D scans, despite the 2D scan failing.. 2.No 1D-Tx window is found for certain TOFs. Firmware? Firmware+software interaction? Will keep testing..

TRANSCRIPT

Page 1: Andrew Peck 1 CSC OTMB Firmware Meeting February 21, 2014 ALCT/TMB/RAT Test Stand at CERN Setting up complete duplicate of the ALCT-TMB-RAT test stand

Andrew Peck1CSC OTMB Firmware MeetingFebruary 21, 2014

ALCT/TMB/RAT Test Stand at CERN

Setting up complete duplicate of the ALCT-TMB-RAT test stand at CERN.• Setting up computer, crate controller today. • David Saltzberg is coming to CERN on Sunday with the remaining

equipment.• Just need to plug in some things, move rails around on the rear of

the crate (to accommodate RAT board)---Should be done by Monday if things go okay.

Page 2: Andrew Peck 1 CSC OTMB Firmware Meeting February 21, 2014 ALCT/TMB/RAT Test Stand at CERN Setting up complete duplicate of the ALCT-TMB-RAT test stand

Andrew Peck2CSC OTMB Firmware MeetingFebruary 21, 2014

UCLA TMB Test Software

Discussed with Karoly and Jinghua about the best approach to adapting the UCLA TMB test software

• Both were very much in favor of extracting and porting selected components of the software into the emuLib system. Shouldn’t be a problem..

Hoping to do a very simple port, leaving the UCLA code mostly as-is.. Write a wrapper around needed emulib functions and minimize having to rewrite code.

• Right now removing Microsoft Visual C++ components of the software and rewriting with standard C++ libraries.

• Starting to work out a basic framework for porting the code.. Identifying what needs to be translated, finding emuLib equivalents.

Starting with muon injection code. Can work on other tools if they’re wanted

Page 3: Andrew Peck 1 CSC OTMB Firmware Meeting February 21, 2014 ALCT/TMB/RAT Test Stand at CERN Setting up complete duplicate of the ALCT-TMB-RAT test stand

Andrew Peck3CSC OTMB Firmware MeetingFebruary 21, 2014

Muonic timing

Working with Indara, Jason on investigating the problems with ALCT muonic timing. • Issues are more fundamental than just muonic timing.. ALCT-tx windows

aren’t being found, muonic timing capabilities have been cannibalized to compensate for this.

• Likely conflated issues of software + firmware. Two cases.. maybe related: 1. 1D-Tx and 1D-Rx window are both found, but the 2D scan fails to find any

good spots for certain TOFs. This is a feature of more recent software versions, possibly related to pipeline depth scan. Right now comparing two versions (working + nonworking) of code to track down what change introduced this.

Indara reports that in these cases, a good working window canfound based on the 1D scans, despite the 2D scan failing..

2. No 1D-Tx window is found for certain TOFs. Firmware? Firmware+software interaction?

Will keep testing..

Page 4: Andrew Peck 1 CSC OTMB Firmware Meeting February 21, 2014 ALCT/TMB/RAT Test Stand at CERN Setting up complete duplicate of the ALCT-TMB-RAT test stand

Andrew Peck4CSC OTMB Firmware MeetingFebruary 21, 2014

Extra slides for Jason/Yuriy

Page 5: Andrew Peck 1 CSC OTMB Firmware Meeting February 21, 2014 ALCT/TMB/RAT Test Stand at CERN Setting up complete duplicate of the ALCT-TMB-RAT test stand

Andrew Peck5CSC OTMB Firmware MeetingFebruary 21, 2014

vme_tst_v7 Main Menu

1: TMB Slot [%2.2i] adr=%6.6X\n",islot,base_adr);2: Read ID Register3: Read Boot Register4: Peek/Poke Address5: Read Trigger/Error/Discard counters6: Read/Write 3D3444 Delays with State Machine7: Hard Reset TMB8: Hard Reset ALCT9: Read DMB Raw Hits RAM10: Walking 1 Tests11: Read ADC+Status Register12: Read FPGA and User PROM IDcodes+RAT13: Read Hardware Serial Numbers14: Crate Scan15: Read Loopback Backplane JTAG Chain16: Trigger Tests17: MPC Tests18: TMB Automatic full test: Loop-back backplane19: RAT Tests20: TTC Command/FMM Status

21: Sequencer State/Seq Debug/Buffer Queue/L1A Queue22: MPC Accept23: ALCT+CFEB Loopback Tests24: Boot Register Test25: RAT Automatic full test: Requires TMB+backplane26: Scope snapshot of current system27: Trim Vcore or Vtt28: TMB Unjam, try to clear a jammed TMB29: Program Xilinx PROMs30: JTAG PROM file utilities31: VME PROM file utilities32: Check U76 JTAG Bus-Hold circuit33: VME register dump/compare34: Load VME registers from dump file35: Playback event dump to display header and raw hits36: Playback event dump into TMB, compare result37: Read/Write Phaser Delays38: Fire VME sysreset39: VME bus contention test40: GTX Optical Receiver Status

Page 6: Andrew Peck 1 CSC OTMB Firmware Meeting February 21, 2014 ALCT/TMB/RAT Test Stand at CERN Setting up complete duplicate of the ALCT-TMB-RAT test stand

Andrew Peck6CSC OTMB Firmware MeetingFebruary 21, 2014

Submenu 16: Trigger Tests

TMB Trigger Test Menu:1: Inject ALCT2: Inject CLCT3: Inject ALCT+CLCT4: Inject ALCT+CLCT + readout5: Fire ext_trig + L1A to ALCT + readout ALCT RAM6: Fire CLCT ext trig linked with ALCT ext trig7: Fire CLCT pattern injector, check CLCT08: External trigger ALCT+CLCT9: External trigger ALCT10: External trigger CLCT11: ext Trig ALCT+CLCT with GTL pulser12: ext Trig ALCT+CLCT with GTL pulser check CRC13: Check bxn reset and increment14: Fire L1A-only event. check readout15: Fire VME trigger + readout