Vetar2a Commissioning Guide

Note: This test is functional. It is not intended to cover verification & validation tests of the design!

Needed components for each Vetar2a device

  • 1xSFP (green/purple)
  • 1xAddon board (VETAR1DB2A mezzanine board)
  • 1xLC-Display (LCD)
  • 1xWREX1 board
  • 1xFront panel (with screws and handles...)

Needed components for testing

  • JTAG device (i.e. USB Blaster)
  • Micro USB cable
  • 4xLEMO cables
  • MHDMR adapter/connector and cable (see section "MHDMR Connector")
  • LVDS connector (see pictures at IO-Test1)
  • PROMO5 adapter (21 pin plug)
  • PROMO11 adapter (micro USB like)
  • Connection to a White Rabbit network
  • VME-Crate with a VME-CPU (Master)

Step-by-step guide to commissioning a new Vetar2a:

  1. Place powered-off Vetar2a on desk
  2. Check EVERY SMD component and module on each side
  3. Limit your power-supply to 2A
  4. Attach wrex1 addon board to baseboard (WR1)
  5. Connect a USB plug to the board
  6. Furthermore attach a LC-Display to the Vetar2a
  7. Insert green or purple SFP into baseboard cage
  8. Connect SFP to WR network
  9. Connect PROMO5 JTAG to the BASEBOARD (setting: 0x1 0x4):
    vetar2a_promo5.png
  10. Open a new shell ...
  11. Create a new directory:
    mkdir vetar2a_com_guide
  12. Go to the directory:
    cd vetar2a_com_guide
  13. Check out the latest bel_projects:
    git clone https://github.com/stefanrauch/bel_projects.git --recursive
  14. Go to the bel_projects directory:
    cd bel_projects
  15. Check out the latest proposed_master:
    git checkout proposed_master
  16. [Optional]: If you get warnings like this:
    Branch proposed_master set up to track remote branch proposed_master from origin.
    Try this:
    git submodule update --recursive
  17. [Optional] If you want to (re)build the bit stream:
    make vetar2a
  18. Go to the tools directory:
    cd tools/commissioning
  19. Power the Vetar2a device
  20. Run the commissioning script:
    ./activation.sh dev/ttyUSB0 vetar2a
  21. Follow the instructions until the IO-Test ...
  22. For IO-Test #1 use this setup:
    vetar2a_step1_top.png

    vetar2a_step1_front.png
  23. For IO-Test #2 use this setup:
    vetar2a_step2_front.png

    vetar2a_step2_top.png
  24. Use a scope to measure the 200MHz MHDMR Clock:
    hdmi_200MHz.jpg
  25. Finish the test script ...
  26. Perform the VME-Test [ VME Base Address, WB Base Address and WB Ctrl Base Address ]
  27. Done!

Troubleshooting:

Message/Problem Solution
Script: Error (213019): Can't scan JTAG chain. Error code 87. Check JTAG connection and Adapter setting.
Adapter should be set to 0x1 0x4. Make sure that only ONE JTAG device AND Adapter is connected.
Flashing the USB Chip:
Script: Permission denied : /dev/bus/usb/xxx/yyy
Error: Flash attempt failed!
Change the permission for this device (i.e. sudo chmod 777 /dev/bus/usb/xxx/yyy)
Script: Trying to erase the USB device now...
microcontroller type: fx2lp
single stage: load on-chip memory
erase_eeprom.ihx: unable to open for input.
Error: Flash attempt failed!
The file erase_eeprom.ihx is missing. Go to ip_cores/etherbone-core/hdl/eb_usb_core/ and use "make".
cd ip_cores/etherbone-core/hdl/eb_usb_core/
make
Script: IO Jitter Check cable connections or change the maximum allowed jitter at device-test-vetar2a.cpp:
<device-test-vetar2a.cpp:>
#define TOLERANCE_FACTOR_NS 2 /* Tolerance for frequency measurement */
</device-test-vetar2a.cpp:>

MHDMR connector

hdmi_plug.png

Plug Overview

Pin Number Function Color
1 TMDS Data2+ White
2 TMDS Data2 Shield Shielded
3 TMDS Data2- Green
4 TMDS Data1+ White
5 TMDS Data Shield Shielded
6 TMDS Data1- Green
7 TMDS Data0+ White
8 TMDS Data Shield Shielded
9 TMDS Data0- Green
10 TMDS Clock+ White
11 TMDS Clock Shield Shielded
12 TMDS Clock- Green
13 CEC White
14 Reserved (N.C.) Purple
15 SCL Red
16 SDA Orange
17 DDC/CEC Ground Yellow
18 +5V Power Green
19 Hot Plug Detect Blue
20 Ground  

Connection Matrix (from ... to ...)

In Out
TMDS Data2+ TMDS Clock+
TMDS Data2- TMDS Clock-
TMDS Data1+ TMDS Data0+
TMDS Data1- TMDS Data0-

GPIO/LVDS

Output

Number Function
0 LVDS_OUT[0]
1 LVDS_OUT[1]
2 NIM/TTL LEMO PAIR
3 OUT1 LEMO
4 OUT2 LEMO
5 OUT3 LEMO
6 INOUT1 LEMO
7 INOUT2 LEMO
8 INOUT3 LEMO
9 MHDMR_OUT
10 LED9
11 LED10
12 LED11
13 LED12

Input

Number Function
0 LVDS_IN[0]
1 LVDS_IN[1]
2 NIM/TTL LEMO PAIR
3 INOUT1 LEMO
4 INOUT2 LEMO
5 INOUT3 LEMO
6 MHDMR_IN[0]
7 MHDMR_IN[1]
8 NIM/TTL IN[0]
9 NIM/TTL IN[1]

Images

Type rpd sof jic jed date
Vetar2a Default Image vetar2a.rpd.tar.xz vetar2a.sof.tar.xz vetar2a.jic.tar.xz - Nov 2014
Vetar2a +4 GPIO LEDs, VN1 and VN2 to LEDs vetar2a_dec2014.rpd.tar.xz vetar2a_dec2014.sof.tar.xz vetar2a_dec2014.jic.tar.xz - Dec 2014
Vetar2a BuTiS Special Image for Niko vetar2a_b.rpd.tar.gz vetar2a_b.sof.tar.gz vetar2a_b.jic.tar.gz - Nov 2014/Build Sep 2015
I Attachment Action Size Date Who Comment
hdmi_200MHz.jpgjpg hdmi_200MHz.jpg manage 120 K 02 Dec 2014 - 09:22 AlexanderHahn  
hdmi_man.pngpng hdmi_man.png manage 329 K 02 Dec 2014 - 10:28 AlexanderHahn  
hdmi_plug.pngpng hdmi_plug.png manage 598 K 02 Dec 2014 - 10:27 AlexanderHahn  
vetar2a.jic.tar.xzxz vetar2a.jic.tar.xz manage 1 MB 02 Dec 2014 - 14:02 AlexanderHahn  
vetar2a.rpd.tar.xzxz vetar2a.rpd.tar.xz manage 1 MB 02 Dec 2014 - 14:02 AlexanderHahn  
vetar2a.sof.tar.xzxz vetar2a.sof.tar.xz manage 1 MB 02 Dec 2014 - 14:02 AlexanderHahn  
vetar2a_b.jic.tar.gzgz vetar2a_b.jic.tar.gz manage 1 MB 02 Sep 2015 - 14:31 AlexanderHahn  
vetar2a_b.rpd.tar.gzgz vetar2a_b.rpd.tar.gz manage 1 MB 02 Sep 2015 - 14:31 AlexanderHahn  
vetar2a_b.sof.tar.gzgz vetar2a_b.sof.tar.gz manage 1 MB 02 Sep 2015 - 14:31 AlexanderHahn  
vetar2a_dec2014.jic.tar.xzxz vetar2a_dec2014.jic.tar.xz manage 1 MB 17 Dec 2014 - 09:19 AlexanderHahn  
vetar2a_dec2014.rpd.tar.xzxz vetar2a_dec2014.rpd.tar.xz manage 1 MB 02 Sep 2015 - 14:31 AlexanderHahn  
vetar2a_dec2014.sof.tar.xzxz vetar2a_dec2014.sof.tar.xz manage 1 MB 17 Dec 2014 - 09:19 AlexanderHahn  
vetar2a_promo5.pngpng vetar2a_promo5.png manage 221 K 02 Dec 2014 - 08:36 AlexanderHahn  
vetar2a_step1_front.pngpng vetar2a_step1_front.png manage 179 K 02 Dec 2014 - 09:12 AlexanderHahn  
vetar2a_step1_top.pngpng vetar2a_step1_top.png manage 701 K 02 Dec 2014 - 09:11 AlexanderHahn  
vetar2a_step2_front.pngpng vetar2a_step2_front.png manage 688 K 02 Dec 2014 - 09:14 AlexanderHahn  
vetar2a_step2_top.pngpng vetar2a_step2_top.png manage 178 K 02 Dec 2014 - 09:15 AlexanderHahn  
Topic revision: r11 - 22 Oct 2015, AlexanderHahn
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback