AMC13 IP and MAC Address Assignment
The AMC13 has two PCB Tongues. Tongue 1 (T1) and Tongue 2 (T2) each has their own FPGA (Virtex6/Kintex7 for T1, Spartan6 for T2) and therefore each has their own IP address. Typically T2 has an IP address one higher in the last octet than T1.
There are several schemes in the midst of being implemented when it comes to AMC13 IP Address assignment.
The following procedures are those which I know of at the moment.
How the IP Address is assigned
1. Via the Serial Number
This scheme acts as the "backup" plan, using the jumper connections on T2 to assign IP addresses to both tongues
Net Base = 192.168.1
- Final Byte for Spartan Chip = 254 - 2*SN
- Final Byte for Virtex/Kintex Chip = 255 - 2*SN
2. Via MMC SPI EEPROM
In this scheme, the MMC sends a configuration packet which contains the IP address to be assigned from non-volitile EEPROM to the Spartan and Virtex chips at powerup. For information on how to load new configuration information into the SPI, see
the MMC software page
3. RARP from a software daemon.
This is not yet implemented (until we update our IPBus firmware) but may be come the preferred scheme.
Note that we are working out a new scheme as we go into mass production in early 2014.
We expect that the default addresses will be in the range 192.168.x.y where x is 1-4 and y is 128-254.
HCAL will use a crate-based scheme where x is the crate and y is 4*slot.
AMC13 MAC address assignment
For all boards produced through 2013 (Serial numbers below 64) the MAC address is as follows:
08-00-30-F3-00-xx
With xx:
bits 0-5 complement of serial number 0-63
bit 6 =0 for T1 board (lower IP)
=1 for T2 board (upper IP)
NOTE: There may be some mistakes in the above algorithm
SN 34 has MAC address:
08-00-30-F3-00-1a
and
08-00-30-F3-00-5a
--
EricHazen - 12 Mar 2014