50 likes | 141 Views
Updates from Lab 4-120. Andrew Peck & Shayan Rastegari April 17 , 2014. Test Stand Software – vmetst_v7 + alct_test Major: Merged the ALCT and TMB/RAT test code.. Eliminated ~10,000 lines of redundant code
E N D
Updates from Lab 4-120 Andrew Peck & ShayanRastegari April 17, 2014
Test Stand Software – vmetst_v7 + alct_test • Major: Merged the ALCT and TMB/RAT test code.. Eliminated ~10,000 lines of redundant code • Minor: Added more instruction messages and sanity checks to the automatic full tests.. Easier to use, helpful. • Minor: Some misc. bugs fixed, cleanup some code. • emuDCSMuon Injection Software • Continued work with Yuriy on muon injection software for the TMB yellow page. • Add configurable (via a text file) parameters for ALCT injection. • Fixed a lot of lousy formatting due to cout • Add more verbose output to the tools. • Looking deeper in the “Inject Walking CLCT” tool. Looks like it suits most of Yuriy’s needs. • Inject a (now) configurable number of ALCTs + CLCTs with configurable properties and readback scope output. • Writing some notes on the test and configuration parameters. • RAT2005e • Shayan finished RAT testing (Tuesday). Last shipment of RATs will be sent to CERN this morning.. • All 56 boards are good. Only one needed repair (a small solder bridge). • Shayan to start entering board information and digital serial numbers into tracking database today.
VME Prom Programming Issue • Finished work on the vmetst_v7 software… Can now generate MCS-86 prom files • Lets user type in all the registers to write, and it generates a working MCS file to load. • Used old Fortran code for reference.. • Tediously checked through different combinations of the uninitialized variables. Two naughty bits: • VME state machine sreset = 1 • sreset=1 consistently results in bad VME communication. Reads back garbage data.. Reprogramming USER prom restores working configuration. • Consistent with the bad boards I had seen before.. • JTAG state machine start = 1 • start = 1 causes board to fail in backplane loopback test. • Seems like a different issue.. Would result in problems with JTAG communication to other boards.
U76 Bus Hold Test Fail • Jason mentioned to me that the OTMBs regularly fail the U76 bus hold test. Looked through the software for any problems. Looked okay. Then found in the UCLA meeting notes: • U76 bus hold test • Checks for the U76 bus hold IC update on the TMB main board (a fix for JTAG clocking noise) • Requires FPGA to be able to float 4 IO signals • FET voltage translation buffers 3.3V-to-2.5V may not be able to float • Not a concern if the TMB is already known to have the correct U76 device • Still looking into it.... • Problem in TMB Documentation • Xiaofeng discovered a table in the TMB specifications with bad/outdated pin assignments on the RPC backplane connectors. • Discrepancy between the documentation and the schematics.. Checked with DVM and schematics were right. Emailed Gilmore to confirm and see that it can be updated.
Next… • Still some work with Yuriy, but it is slow since I can’t test the software myself. • VME test software could still be improved quite a bit • Maybe not so important though. The code is ugly and a mess to maintain.. But it works for everything we need. • Make some additions to the csc-fw repository (https://github.com/csc-fw) • Started by Manuel. Is really nicely organized with CSC firmware and source code. Missing some things from UCLA electronics. Would be good to have everything in one place. • Things are winding down..