Difference: IPaddressAssignment (24 vs. 25)

Revision 2521 Mar 2016 - EricHazen

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"

AMC13 IP and MAC Address Assignment

Line: 34 to 34
  See https://twiki.cern.ch/twiki/bin/viewauth/CMS/CMSCommonMacAddresses.
Changed:
<
<
For all AMC13XG with current firmware, the MAC address is in the range 08-00-30-F3-00-00 to 08-00-30-F3-01-FF with the low 9 bits as follows:
>
>
Firmware review reveals-
 

Changed:
<
<
bits 0-5 complement of serial number bits 0-5 bit 6 =0 for T2 board (lower IP) =1 for T1 board (upper IP) bit 7, 8 serial number bits 6, 7 (complemented for S/N > 64)
>
>
nSN <= not SerialNumber; mac => x"080030f30" & "000" & not nSN(7 downto 6) & '0' & nSN(5 downto 0) #old T2 mac => x"080030f30" & '0' & not nSN(8) & '0' & not nSN(7 downto 6) & '0' & nSN(5 downto 0), #new T2 mac <= x"080030f30" & '0' & not nSN(8) & '0' & not nSN(7 downto 6) & '1' & nSN(5 downto 0); #all T1
 
Added:
>
>
So all MAC addr start with 08-00-30-F3. The S/N bits are mapped to MAC address bits as follows:
 
Changed:
<
<
Example:

If we have a board with serial number 37, we can calculate the last digit of the MAC address:

63-37 = 26, which is 0x1a in hex

SN37 MAC addresses:

08-00-30-F3-00-1a (for T2, low IP)and

08-00-30-F3-00-5a (for T1, higher IP)

For modules with serial numbers above 63 the upper two bits are complemented and assigned to MAC address bits 7, 8.

example SN66 (0b01000010)

  bit 8 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit0
66 (inserted) 0 1   0 0 0 0 1 0
  upper 2 bits     lower six bits      
compliment 1 0   1 1 1 1 0 1
  Byte2 Byte 1       Byte 0      
66 T2 1 0 0 1 1 1 1 0 1
66 T2 1 3       d      
66 T1 1 0 1 1 1 1 1 0 1
66 T1 1 7       d      

SN66 MAC addresses:

08-00-30-F3-01-3d (for T2, low IP)and

>
>
MAC Source
5:0 not S/N( 5:0)
6 T2=0 T1=1
8:7 S/N( 7:6)
9 '0'
10 S/N( 8)
11 '0'
 
Changed:
<
<
08-00-30-F3-01-7d (for T1, higher IP)
>
>
This results in a range of 00-00 to 01-FF for AMC13 serial# 0-255 and 04-00 to 05-FF for AMC13 serial# 256-511.
 
Deleted:
<
<
-- EricHazen - 12 Mar 2014
 \ No newline at end of file
Added:
>
>
-- EricHazen - 21 Mar 2016
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback