1 / 4

Updates from Lab 4-120

Updates from Lab 4-120. Andrew Peck & Shayan Rastegari April 03, 2014. Test Stand Software – vmetst_v7 Minor changes: Update to accept different RAT FPGA idcodes (corresponds to different chip revisions). Update RAT “sync mode delay scan” to give less garbled output Major changes

koen
Download Presentation

Updates from Lab 4-120

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Updates from Lab 4-120 Andrew Peck & ShayanRastegari April 03, 2014

  2. Test Stand Software – vmetst_v7 • Minor changes: • Update to accept different RAT FPGA idcodes (corresponds to different chip revisions). • Update RAT “sync mode delay scan” to give less garbled output • Major changes • Modified whole code to a more “C++ style” using headers + includes (easier to maintain code, compiles much faster..) • Replacing placeholder code with real code for generating USER prom .mcs files from ASCII prom files.. Porting from Fortran code to C++. Mostly works already but some bugs to fix. Wish to use this tool to generate a bad prom, trying to reproduce the faulty behavior that shows up intermittently in the emuLib code. • RAT2005e • Front panels arrived with silkscreening(some hiccup due to the artwork being in such an old file format). • Shipped first 8 RATs. Possibly already at CERN? Package includes some misc. supplies for Xiaofeng. • 6 more shipments to follow. • Testing nearly finished by Shayan. One board had a small solder bridge (fixed). Otherwise all have been without any problem.

  3. EMU DCS Software: • Emulib VME Programming Bug • TMB.cc software turns out to be writing unpredictable data to several registers.. Is the possible/likely cause of several TMBs losing VME communication and having to be removed.. • Still need to investigate to confirm whether this really is the source of our problems… but its an issue regardless. Code is patched now and should be updated in SVN (soon). • Need to finish some software modifications to continue testing.. • //------------------------------------------------------------------ • + //0X14 = ADR_DDDSM: 3D3444 State Machine Control + DCM Lock Status • + //------------------------------------------------------------------ • + ddd_state_machine_start_ = ddd_state_machine_start_default; • + ddd_state_machine_manual_ = ddd_state_machine_manual_default; • + ddd_state_machine_latch_ = ddd_state_machine_latch_default; • + ddd_state_machine_serial_in_ = ddd_state_machine_serial_in_default; • + ddd_state_machine_serial_out_= ddd_state_machine_serial_out_default; • + ddd_state_machine_autostart_ = ddd_state_machine_autostart_default; • //------------------------------------------------------------------ • //0XD4 = ADR_JTAGSM0: JTAG State Machine Control (reads JTAG PROM) • //------------------------------------------------------------------ • + jtag_state_machine_start_ = jtag_state_machine_start_default ; • + jtag_state_machine_sreset_ = jtag_state_machine_sreset_default ; • + jtag_state_machine_throttle_ = jtag_state_machine_throttle_default; • + // • + //------------------------------------------------------------------ • + //0XDA = ADR_VMESM0: VME State Machine Control (reads VME PROM) • + //------------------------------------------------------------------ • + vme_state_machine_start_ = vme_state_machine_start_default; • + vme_state_machine_sreset_ = vme_state_machine_sreset_default; • + vme_state_machine_jtag_auto_= vme_state_machine_jtag_auto_default; • + phase_shifter_auto_ = phase_shifter_auto_default; • + vme_state_machine_throttle_ = vme_state_machine_throttle_default;

  4. EMU DCS Software (continued): • TMB Trigger Test Software: some misc changes. • Rebased from latest SVN files to work off a more updated version of the code (was using the ME4/2 version before). • Explicitly specify all calls to std:: namespace and remove any “using namespace std”, a la the existing code. • Clean out lots of redundant code, misc. cleanup • Move functions into the TMB namespace.. • There isn’t so much I can do with this right now.. (without a VCC / DMB). Waiting for Texas A&M to give feedback on the tools.

More Related