uTCA Crate Setup
General
The VadaTech 811 crate is configured with four modules:
- UTC002 MicroTCA Controller Hub (MCH): This controls and manages the crate.
- 2xAMC502: FPGA-based mezzanine carrier, each of which holds
- 2xFMC228: 4-channel 1 Gigasample digitizer card
- AMC725: Buffering and pipeline module
When set up as described below, the cards will be mapped as follows:
- 192.168.40.252: AMC502A module
- 192.168.40.253: AMC502B module
- 192.168.40.250: UTC002 module
- 192.168.16.1: shelf manager interface (needed by the ScorpionWare software)
The crate is accessed via the mu2etest.fnal.gov gateway, the setup of which is described here.
A gigabit ethernet router
allows the secondary ethernet card in the the mu2etest node to be
connected to both the Tektronix scope and the uTCA crate, via the GbE0
input of the UTC002 module.
The built-in RS-232 port is connected to the system port of AMC502A. The first two ports of a 4-port USB->RS-232 hub are connected to the FPGA ports on AMC502A and AMC502B, recpectively.
Two Digikey USB JTAG Xilinx programming modules are connected to the JTAG interfaces on the AMC502 modules, using the special cable provided by VadaTech.
UTC002 Setup
The default mapping is used. No additional setup is required.
AMC502 Setup
Two things need to be fixed in order to use the AMC502s:
- The IP address must be changed from the default (192.168.1.252), because it conflicts with the UTC002 MCH module.
- The two modules are set up as amc502A=192.168.40.252 and amc502B=192.168.40.253
- The "dropbear" sshd server must be started and allowed to create
a host directory and host key. The fact this wasn't done at the
factory appears to be a mistake on their part.
You can initially communicate with the AMC502 via one of the GbE ports
on the UTC002 MCH module. You'll need to use telnet because SSH
isn't working yet. Username: root, password: root. You can
also communicate via the "CPU" RS-232 port, which doesn't have a
username or password.
The disk is mounted READONLY by default, so in order to make changes, you'll need to type
> mount -o remount,rw /
Then use vi to edit the file /etc/rc.conf to change the IP address by changing the following lines to:
export
HOSTNAME="AMC502A"
(or AMC502B)
export
IPADDR0="192.168.40.252"
(or 192.168.40.253)
export NETMASK0="255.255.255.0"
export BROADCAST0="192.168.40.255"
export GATEWAY0="192.168.40.1"
Then type
>sync
to synchronize the file systems.
This will put the board on the same 192.168.40 subnet as the UTC002.
Then edit the /etc/rc.d/init.d/hostname file to
export
HOSTNAME=amc502A
(or amc502B)
>sync
Then start the ssh server by typing
> /etc/rc.d/init.d/dropbear
This will create the necessary /etc/dropbear subdirectory and host
key. Once this has been done, the SSH server will run correctly
with no further intervention.
Sync the file system one last time and reboot
> sync
> reboot
AMC725 Setup
(coming soon)
(Last modified March 20, 2017 by Eric Prebys)