• Connect yellow cable (CLK+ from AMC13) to J58 and white cable (CLK-) to J55 on the ML605
  • On the IPC board, select with S1 which transmitters you want to power on (pushed to open = ON).
  • On the ML605 Eval. Board plug the USB cable to JTAG and the Ethernet cable.
  • Plug the TwinMux on slot 9.
  • Switch on the IPC power supply, the ML605 and the uTCA crate.
  • Wait until the the lower-right LED lights blue and pull and push the black switch.
  • Wait until the LED array lights and program the TM7 with the firmware located at: /home/ciemat/Proyectos/cms/upgrade/twinmux/TM7_v1_8_0_repo/twinmux/top/top.runs/impl_1
  • Program the ML605 with the latest firmware for testing TwinMux.

  • ./dtupy enables python27, setups mp7 tests, and launches the python file, which loads amc13, tm7_N and ipc objects, and also defines some shortcut functions.
  • >>> config_amc13_tm7() # (enable clk at AMC13 that is sent to the IPC)

  • open a new terminal:
  • cd /home/ciemat # (go to the folder where is located the file "setup_mp7tests"
  • . setup_mp7tests # (set some environment paths)
  • reset TM7_MAD_IP229_CH --clksrc external
  • Now, the LEDs should be light as follows: (from top to bottom) ON / ON / OFF / ON / blink / ON / ON / OFF

  • open a new terminal:
  • cd /home/ciemat/Proyectos/cms/upgrade/TM7_sw_repo/
  • python TM7/ TM7_MAD_IP229_CH # for arming the TM7 before sending the sync for alignment
  • python dtupy/ # for configuring IPC with default values and starting sending patterns
  • Now, the LEDs should be light as follows: (from top to bottom) OFF / ON / OFF / ON / blink / ON / ON / ON
  • It should be shown on screen the following message: "sending pattern". If not ("sending idles"), rerun
  • (NOTE: to disable sending patterns, rerun file for toggling ON/OFF this function).

  • python TM7/ TM7_MAD_IP229_CH # for testing the patterns received at TM7

  • every unlock_cnt counts unlocks on every 8 links.
  • "locked" is a 10 bit vector with the lsb corresponding to 1_up and the msb to 4bis_down

  • In order to reset counters( python window):
  • >>> tm7_9.write('payload.dt_sector.ctrl2.cnt_rst',1)
  • >>> tm7_9.write('payload.dt_sector.ctrl2.cnt_rst',0)

-- JavierSastreAlvaro - 2015-11-05

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2015-11-05 - JavierSastreAlvaro
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Sandbox All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback