System @ NU

  1. Power up the ATCA shelf
  2. Insert the F125 switch in the shelf according to link (Sec 2.6)
    • N.B:
      • green light: F125 connected to the shelf and working
      • blinking blue light means: F125 is trying to establish communication with the shelf management controller
      • red light: F125 connected to the shelf and booting
  3. connect the optical cable from the 10Gb NIC to the F125 (fabric port)
    • it should be base port since IPBus runs at 1 Gb, but base ports are being used by the IPMC
      • N.B: communication desktop switch via fabric, but switch to pulsar via base
  4. Insert the Pulsar in the shelf
    • wait for green light.
  5. Enable communication to the F125 and from F125 to the pulsar via the backplane

From the desktop connected with the MINICOM via USB to F125

  • su root
  • minicom -s
  • Serial port setup:
    • type A and decide the USB according to what you see by doing "ls /dev/ttyUSB*"
    • type E and choose 9600 8N1
    • type F and choose No
    • (save setup as dfl)
    • Exit
  • root (login), root (passwd)
  • Enabling ports (to associate the physical slot number and the logic port number check page 238-239 of Emerson switch manual)
    • root@ATCA-F125:/root> imish
    • ATCA-F125>en
    • ATCA-F125#conf t
    • ATCA-F125(config)#interface xe17
    • ATCA-F125(config-if)#switchport mode access
    • ATCA-F125(config-if)#switchport access vlan 11
    • ATCA-F125(config-if)#no shutdown
    • ATCA-F125(config-if)# ctrl D
    • ATCA-F125(config)#interface xe28
    • ATCA-F125(config-if)#switchport mode access
    • ATCA-F125(config-if)#switchport access vlan 11
    • ATCA-F125(config-if)#no shutdown
    • ATCA-F125(config-if)# type Ctrl D
    • ATCA-F125(config)# type Ctrl D
    • show ip interface brief
      • check if the connection with optical fiber and check if xe17 link is established

(it shoud look like

xe17 unassigned up up )

    • xe28 will be fully established when the F/W will be loaded on the pulsar

(6.) ping the switch ping 192.168.11.1

  • N.B:
    • ifconfig eth5 192.168.11.X (e.g: X=105)
    • check if eth5 is connected by doing ethtool eth5

(7.) load the F/W on the pulsar:

  • via the diligent JTAG cable program the pulsar by using the already generated pulsar4leds.bit

JTAG diligent cable from laptop to Pulsar

(8.) Verify that xe28 is established as in (5.)

(9.) Ping Pulsar: ping 192.168.11.131

  • IP address hard coded in the F/W

(10.) communicate to the pulsar via IPBus: light leds

  • download PyChips.tgz
  • cd PyChips/scripts/
  • export PYTHONPATH=../src/:./
    • check if ipadrr.dat contains 192.168.11.131
  • python vc709.py
    • first time crashes
    • change 0xf in glib.write("reg",0xf,0x1)if you want to turn on/off a different number of leds (0xf=1111 all four, 0x5=0101 two, etc.)
    • may need to change ipaddr.dat and/or glibAddrTable.dat


ADDITIONAL INFO

  • Make sure that the dipswicthes on the pulsar are set as follows: gtxrefclk @ 125 Mhz, sysclk @ 200 Mhz
    • dipswicth configuration can be see at link
    • [Pulsar2b SYSCLK is hardcoded to 200 MHz as from schematics, need to set only GTref clk. Top dipswitch for RTM, bottom for fabric. Check link]
  • Serial port (MINICOM):

    • type E and type C, Q such to have Bps/Par/Bits: 9600 8N1
    • Save setup as dfl
  • xe17, xe28 fabric switch ports may vary based on the position of the switch and pulsar in the shelf. Check pag 239 of link for the right name of the switch ports
  • (8.5.) enabling 1Gb/10Gb connection between F125 and Pulsar via the backplace:

    • hpmcmd -c portget fabric (see which port is enabled)
    • hpmcmd -c portset FABRIC 5 0 ETHER 0 0 ENABLE
      • 5 logical slot,
        • hpmcmd -c slotmap to check the link between the physical location and the logical slot
      • 0 0 are the type (0=1Gb, 1=10Gb), and the number of lanes (0 or 0123).
      • See config.sh
  • pulsar2a F/W via fabric (ISE) : link
  • kc705: https://www.dropbox.com/s/mkeefdguf5li20o/ipbus_kc705_mezz.tgz?dl=0
    • FNAL modification of NU kc705 F/W
      • N.B: depending on the revision of the board inversion of TX/RX GTX polarity in gig_eth_pcs_pma_v11_5_transceiver_kc705.vhd ( AR#46709 ) may be needed.
        • If I remember correctly revision 1.2 doesn't need any inversion, 1.1 need TX or RX inversion (check with FNAL people)
  • VC709 (impact): https://drive.google.com/file/d/0B9BllaGZcm6jb0tDdDVKa2FCS0U/view?usp=sharing
  • pulsar2a F/W via fabric (Vivado): link
    • wrt to the backup one modified xdc file and used slower clock for the drpclk: now "All user specified timing constraints are met" in top_post_route_timing.rpt
    • backup - pulsar2a F/W via fabric (Vivado): link
  • pulsar2a F/W via RTM (Vivado): link
  • pulsar2b F/W via fabric (Vivado): link
  • bit file is attached [[https://twiki.cern.ch/twiki/pub/Sandbox/IpBusNorthwestern/pulsar_4leds.bit][pulsar_4leds.bit]
    • Connect SMA as in the picture kcu105 internal clk

-- MarcoTrovato - 23 Apr 2014

-- MarcoTrovato - 2016-09-16

Topic attachments
I Attachment History Action Size Date Who Comment
JPEGjpg 20150722_164230.jpg r1 manage 2272.5 K 2015-07-22 - 23:56 MarcoTrovato  
PDFpdf 6806800l83a_bbs_atca_f125_with1393025246.pdf r1 manage 6501.0 K 2014-12-12 - 00:24 MarcoTrovato Emerson switch manual: pages 238-239 for locating base and fabric ports
JPEGjpg DSCF1935.jpg r1 manage 5896.8 K 2014-04-24 - 14:48 MarcoTrovato Pular and JTAG Diligent cable
JPEGjpg DSCF1936.jpg r1 manage 4998.4 K 2014-04-24 - 14:47 MarcoTrovato System at NU
Compressed Zip archivetgz PyChips.tgz r1 manage 65.1 K 2014-10-14 - 08:54 MarcoTrovato  
Unknown file formatdat glibAddrTable.dat r1 manage 0.7 K 2014-05-06 - 21:15 MarcoTrovato  
Unknown file formatdat ipaddr.dat r1 manage 0.1 K 2014-05-06 - 21:16 MarcoTrovato  
Unknown file formatbit pulsar_4leds.bit r1 manage 4062.2 K 2014-04-24 - 23:15 MarcoTrovato bit file which allows to turn on/off leds on the top of the pulsar
PDFpdf schematic_bom-3.PDF r1 manage 2272.5 K 2015-07-22 - 23:56 MarcoTrovato  
Texttxt vc709.py.txt r1 manage 1.0 K 2014-04-24 - 23:40 MarcoTrovato  
Edit | Attach | Watch | Print version | History: r26 < r25 < r24 < r23 < r22 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r26 - 2016-09-16 - MarcoTrovato
 
    • 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-2023 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