User Tools

Site Tools


daq_setup

Quick Start

  1. Locate an empty slot in the MicroTCA crate.
  2. Remove any other AMC cards in the crate to make sure there is no conflicts on the backplane.
  3. Make sure that the MCH (UTC002) is plugged in, and the Power Supply (UTC010) is plugged in.
  4. Connect Xilinx USB JTAG to CoBo
  5. Insert cobo to any slot you desire.
  6. Switch on the crate. after a while a green LED should light up on CoBo in the upper right corner i.e. top. Since you are using a socket, Asad status LEDS might come on. you can ignore these for now.
  7. If the board is ready, the LED on the JTAG connector should be green not amber. If it is amber then the cobo is not powered up.
  8. Connect the MCH port GbE0 or GbE1 to your network. This has to be a local network. If you are using VadaTech the IP should be 192.168.40.xxx
  9. You should have a DHCP server and a NFS server running in that subnet. See (Setup) and (Setup).
    1. NFS should be exporting the embedded software that will run on CoBo-VxWorks. e.g. getHwServer-release-20130829.out
    2. in /mnt/local/export/filesystem create a file called startup.vxsh and insert the getHwServer out file in it e.g.
      ld < getHwServer-release-20130829.out
  1. Look at at :cobo_fp.pptx, you must short L2 and L3 LEMO connectors. This will not be needed in the future. The FPGA sends a sync plus to PLL to allow it to start.
  2. L0 connector should be connected to an oscilloscope.
  3. Connect a mini-usb cable from your workstation to cobo. on windows you will need a driver. I didn't need one for ubuntu 12.04 nor fedora 19. The driver can be installed from silicon labs the chip is cp21xx, open a terminal using putty or screen with the same settigns you use for ML507 cobo. i.e. 115200
  4. On your workstation start xmd. Take a look at XMD setup for Linux xmd setup info.
  5. Once you are in xmd flash the FPGA by typing fpga -f system.bit
  6. If the FPGA is flashed successfully a blue LED should light up. this is inside the crate not on the front panel. The led is located above the fpga.
    $ xmd
    Xilinx Microprocessor Debugger (XMD) Engine Xilinx EDK 14.5 Build EDK_P.58f Copyright (c) 1995-2012 Xilinx, Inc.  All rights reserved.
    
    XMD%
    
    JTAG chain configuration
    --------------------------------------------------
    Device   ID Code        IR Length    Part Name
     1       232d8093          14        XC5VFX100T
    ERROR: PowerPC405 Version UNKNOWN. The PowerPC405 Config String is NOT Valid
                    : 0xffffffff
    
    XMD% fpga -f system.bit
    Programming Bitstream -- system.bit
    Fpga Programming Progress ......10....20....30....40....50....60....70....80....90.....Done
    Successfully downloaded bit file.
    
    JTAG chain configuration
    --------------------------------------------------
    Device   ID Code        IR Length    Part Name
     1       232d8093          14        XC5VFX100T
    
    0
    XMD% connect ppc hw
    
    JTAG chain configuration
    --------------------------------------------------
    Device   ID Code        IR Length    Part Name
     1       232d8093          14        XC5VFX100T
    
    PowerPC440 Processor Configuration
    -------------------------------------
    Version.............................0x7ff21912
    User ID.............................0x00f00002
    No of PC Breakpoints................4
    No of Addr/Data Watchpoints.........2
    User Defined Address Map to access Special PowerPC Features using XMD:
                    I-Cache (Data)........0x70000000 - 0x70007fff
                    I-Cache (TAG).........0x70008000 - 0x7000ffff
                    D-Cache               (Data)........0x78000000 - 0x78007fff
                    D-Cache               (TAG).........0x78008000 - 0x7800ffff
                    DCR...................0x78020000 - 0x78020fff
                    TLB...................0x70020000 - 0x70023fff
    
    Connected to "ppc" target. id = 32
    Starting GDB server for "ppc" target (id = 32) at TCP port no 1234 XMD%
  7. to run cobo in standalone mode you need to start the clocks. go to xmd and type dow coboTest.elf
  8. now type run
  9. cobotest should run on CoBo. Look at putty or screen. You should see a menu. press 5 to load default PLL settings.
  10. on the oscilliscpe connected to L0 you should see a dirty 100Mhz clock. This is normal. If you don't see a clock then the fpga is not flashed.
  11. on xmd type stop
  12. now you can download vxworks by typing (in xmd) the following dow vx4.elf
  13. now type run
  14. vxworks should load on the console and get an IP thru the MCH thru your DHCP server.

Quick Test

  1. Turn on MicroTCA crate
  2. open USB-Serial terminal e.g. putty
  3. load FW thru xmd fpga -f system.bit
  4. load PLL config thru xmd dow coboTest.elf then run
  5. in usb-serial terminal choose option 5 to load PLL options. take a look at oscilloscope, You should see a clock.
  6. stop cpu thru xmd stop
  7. load vxworks image thru xmd dow vx4.elf then run
  8. take a loko at usb-serial terminal, CoBo should get an IP. Start using GetController
daq_setup.txt · Last modified: 2014/05/20 09:10 by abunimeh