Introductory
message from Kurtis
Okay guys... here's the short version while I pull together some
fuller documentation.
Please update your svn checkouts. The latest projects are:
belle2/itop/electronics/trunk/
firmware/targets/ScrodRevB_b2tt_gigE/
[firmware]
belle2/itop/electronics/trunk/software/gigE/ [software]
Note that in the firmware "targets" subdirectories there is not
much except the top level vhdl for the project and the constraints
(xdc). The majority of the firmware lives in the "modules"
directory:
belle2/itop/electronics/trunk/firmware/modules/
The b2tt_gigE project is relatively modest and is meant to provide
a simple way to test whether a SCROD is working. To do so,
you need:
- SCROD Rev B
- FTSW (if you want remote clocking)
- (Optional) IRSX Rev B FMC to plug into the SCROD Rev B
- (Optional) if using the above, a very strange CAT5/6/7 cable
that I'll describe below
- Media converter or fiberoptic gigabit Ethernet card
- Power supplies, a signal generator for triggers, some patience,
etc.
The optional FMC card is for translation of a single ended trigger
signal (0 - 2.5 V into 50 ohm) into an LVDS pair for reception by
the FTSW. If you have some other LVDS translation scheme, by
all means do what's easier.
If you're using the IRSX FMC Rev B... make sure first that the DAC
on it (U5) is either removed or reworked. If removed, you
may need to rig up a small circuit for pedestal voltage generation
(though not relevant for this firmware release, it will be if you
want reasonable IRSX data out in an upcoming release).
Schematics for this board are posted here:
http://www.phys.hawaii.edu/~idlab/taskAndSchedule/PCBs/DC_IRSX_FMC_EVAL_REVB/DC_IRSX_FMC_EVAL_REVB_SCH.pdf
I found it rather convenient to use the breadboard area for
this. Please let me know if you need some assistance in this
regard, as I can describe what I did.
I recommend using it in "5 V" mode with an external power
supply. If you need to make a power cable for it, the power
pins are on the outside (+5 V) and grounds are the two
center. Despite the fact that it says "5 V" you should give
it at least 5.5 V to get one of the regulators out of dropout.
System trigger signals (are accepted in through the "AUX_OUT" MMCX
connector on the FMC card. These are passed through the FMC
connector, to the FPGA, and back up to the RJ45 as an LVDS signal
on pins 2 and 7. The cable used to connect to FTSW should go
to the AUX port, and the mapping on the cable should be 2
<-> 7, 7 <-> 8.
Powers for the SCROD that I've been using are:
RAW1: 1.87 V
RAW2: 3.15 V
RAW3: 4.33 V
Jumpers should be installed in the following locations, looking at
SCROD Rev B on the FMC connector side of the board with the FMC
connector facing up. The following are described top to
bottom in this orientation.
(left set of jumpers, J2)
J2-A : off
J2-B : on [if using FTSW, off if using standalone clocking]
J2-C : off
J2-D : on
(right set of jumpers, J1)
J1-A : off
J1-B : off
J1-C : on
J1-D : off
If you need to do things with the PS, I'll have to double check
these again, but these settings should be valid for the firmware
in the repo right now. If you want to see what jumpers do
what, check page 1, lower right corner on the SCROD Rev B
schematics here:
http://www.phys.hawaii.edu/~mza/PCB/SCROD/SCROD.revB.schematic.pdf
I recommend programming via JTAG through the FTSW as well, if
you're using it. There are no special switches or toggles to
get the programming through JTAG to work. Just plug the JTAG
RJ45 cable from the SCROD Rev. B into a JTAG appropriate port (see
ft2u.pdf for details on how to wire up your flying leads and what
ports are valid). Do make sure you have the latest
FTSW firmware.
The connection via gigabit Ethernet should be on the "DATA" SFP
(you may have to plug in a transceiver if one isn't there
yet). The firmware only supports point-to-point UDP, so
please wire up appropriately.
Power everything up... program the SCROD with the firmware.
You can use the existing image if you like:
belle2/itop/electronics/trunk/firmware/targets/ScrodRevB_b2tt_gigE/images/ScrodRevB_b2tt_gigE_B0000000.bit
You should see the green light go up on the appropriate timing
link RJ45 port of the FTSW after the SCROD comes up. You
should also be able to arping the SCROD at 192.168.1.20. Due
to what I believe are some autonegotiation issues, it may take ten
or more seconds for the arping to come up properly. Once it
does, though, you should be all set. Open up the GUI from
the software branch and try to read/write registers or
configuration in the appropriate tabs. If you can do that
successfully, you should also be able to issue triggers. For
each one, you'll receive a short header and some PRBS data.
Obviously this is a lot of info, and a lot is missing.
Please see here for more details on compiling, etc.:
https://www.phys.hawaii.edu/elog/iTOP-IRS3/210
It is an old release for the ZC706, but a lot applies here as
well. Working on more detailed docs for everything, but
hopefully this gives people a chance to start to get things online
Return to scheduling page
[UH Physics] [University of Hawaii]
Last modified: 12/23/2014
-- GSV