Forum Discussion
Altera_Forum
Honored Contributor
15 years agoUnable to establish link between PCS and PHY in SGMII mode
Hi, I was trying to use System Console for setting up Triple Speed Ethernet design in SGMII mode. I was able to successfully configure the MAC and PHY registers. After this i configured the PCS...
Altera_Forum
Honored Contributor
14 years agoI think this will work for the DE4 only, maybe also for other TSE cores with SGMII interface, PCS, embedded PMA and external FIFOS.
I basicly dumped the register addresses and data that are written from the DE4-Ethernet Demo with the Nios to two ROMS. Now I run through those memorys from address 0x0 to 0x7E at my own setup sequence, reading addresses and data step by step and give them to the configuration interface at the TSE core. Here are the dumped memory contents. I know that some commands seem to be redundant, but at least its working. Regards, Kai Addresses
: 00000010;
021 : 00000094;
022 : 00000002;
023 : 00000005;
024 : 0000000B;
025 : 0000000C;
026 : 0000000D;
027 : 0000000E;
028 : 00000009;
029 : 0000000A;
02A : 00000007;
02B : 00000008;
02C : 0000003A;
02D : 0000003B;
02E : 00000002;
02F : 00000003;
030 : 00000004;
031 : 00000010;
032 : 000000A0;
033 : 00000010;
: 000000A9;
: 00000010;
: 000000A4;
: 00000010;
: 000000A4;
: 00000010;
: 000000A0;
: 00000010;
064 : 00000094;
: 00000010;
068 : 000000A0;
069 : 00000002;
06A : 00000005;
06B : 0000000B;
06C : 0000000C;
06D : 0000000D;
06E : 0000000E;
06F : 00000009;
070 : 0000000A;
071 : 00000007;
072 : 00000008;
073 : 0000003A;
074 : 0000003B;
075 : 00000002;
076 : 00000003;
077 : 00000004;
: 00000000;
Data
000 : 00000000;
001 : 00000001;
002 : 00000002;
003 : 00000003;
004 : 00000004;
005 : 00000005;
006 : 00000006;
007 : 00000007;
008 : 00000008;
009 : 00000009;
00A : 0000000A;
00B : 0000000B;
00C : 0000000C;
00D : 0000000D;
00E : 0000000E;
00F : 0000000F;
010 : 00000010;
011 : 00000011;
012 : 00000012;
013 : 00000013;
014 : 00000014;
015 : 00000015;
016 : 00000016;
017 : 00000017;
018 : 00000018;
019 : 00000019;
01A : 0000001A;
01B : 0000001B;
01C : 0000001C;
01D : 0000001D;
01E : 0000001E;
01F : 0000001F;
020 : 00000001;
021 : 00000003;
022 : 00002003;
023 : 000005EE;
: 00000008;
027 : 00000003;
028 : 000007F0;
029 : 00000000;
02A : 000007F0;
02B : 00000000;
02C : 00040000;
02D : 02000000;
02E : 04000003;
02F : FFED0702;
030 : 000015ED;
031 : 00000000;
032 : 00001140;
033 : 00000000;
: 00000F00;
: 00000000;
: 000001E1;
: 00000000;
: 000001E1;
: 00000000;
041 : 00001140;
042 : 00001340;
043 : 00000000;
044 : 00000001;
045 : 00000002;
046 : 00000003;
047 : 00000004;
048 : 00000005;
049 : 00000006;
04A : 00000007;
04B : 00000008;
04C : 00000009;
04D : 0000000A;
04E : 0000000B;
04F : 0000000C;
050 : 0000000D;
051 : 0000000E;
052 : 0000000F;
053 : 00000010;
054 : 00000011;
055 : 00000012;
056 : 00000013;
057 : 00000014;
058 : 00000015;
059 : 00000016;
05A : 00000017;
05B : 00000018;
05C : 00000019;
05D : 0000001A;
05E : 0000001B;
05F : 0000001C;
060 : 0000001D;
061 : 0000001E;
062 : 0000001F;
063 : 00000001;
064 : 00000003;
065 : 00000000;
066 : 00000001;
067 : 00000000;
068 : 00001140;
069 : 00002003;
06A : 000005EE;
: 00000008;
06E : 00000003;
06F : 000007F0;
070 : 00000000;
071 : 000007F0;
072 : 00000000;
073 : 00040000;
074 : 02000000;
075 : 04000033;
076 : FFED0702;
077 : 000015ED;
: 00000000;