Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

88e1111 on custom board

Altera_Forum
Honored Contributor II
1,758 Views

Hi everyone, 

i'm facing a problem using 88e1111 on a custom board i produced. 

I copied most of things on de2 115 especially on 88e1111 side. 

I m using lwip in superloop mode and this is working fine on de2-115. 

But this won't on my board although i resolved some mistakes i did on the schematic. Software is telling me :  

 

--- Quote Start ---  

.entering init of tse_mac[tse_mac_init] 

 

 

GetPHYSpeed(tse[iface].mi.base = 0x 0, result 

tse[0].ethernetif->linkspeed = 0 

 

 

tse[0].ethernetif->full_duplex = 1 

êæÒ’u"¾$£í¨�ñ]ºƒêQ“F&…®?ºÁ®‰oôèSëUw–ºøPš1©MÉ»ÕúÀ‚}’T«oA×?Ó§ÑêȪE¾uªYŽeí�‹×êYšP‚}àeà‡ÿ€Eøw6t¨vŒRªA¢•û—Šu’U«£E®~îíÕËWÉ];w«D?‚]n× 

GB“« 

’QƒA¾ñ2u{,ê"•foŠ&ªTŒTª3¶Ä *TŠ—¢´é[º×²†»Ô&–˜xº˜•Š}£eÛ] yn_ˆŠlQ¢E«N"Dîõ⨢×êèêTúô*VŠ›¨Õ£×šEÓGËgRl²FÑÃç©[“”¢á¹V¢U¦M¡Õ²3ªì=rWŠ\ºQQ¢Wê”êT"C€O*veÖÊEŠñÈjåjU~]¢M¿-³�«#*ҪͶêdº\¿Ñú3¨Ë'ÝêQ©|ªáVSâ÷ž‰¨ÝÎ×¢O›qƒ6®wŽNVŠE€Dªí¢ÿ*ß)W¢ÔªM*GµO‹Õ«•ÎQÊ$‘šT›®E²u¯¢‹ 

êuêE’n^œzvª9êÑ‹ZŽ$¾Šp¦DÂǹ~™×*z„U®Uª•“FÊQxW*F*u³e/SªU/t•(Q²èä‚sÚ1:U®Aò–‡ÕÃe‹T²T²Dê\¨Ö(ÃèS®P@«•*}iº�@t�QïýÛâE;fÊW¬µ©ÓªV D¨ýP&®”ªO*Uª¨�²5üE#U¾s¦|ŠD¨ªYp.D¦¬o׺TÛ5ŠÕ$ñ‡eª×ÙŠ“Èlèº&D¦èº[›ùº\°Uó|¡Æå¿c×¼inX²VªWî�h’’eÁs³eºWü]ø 

®T(Sçú¶¡ý°¢Ï¨UÊYþ·)Õ£v‚õ¾Ä}.¢E 

SºAŠEkIo@¢qjýžTÈUû\ q°\ªV&#65533;e®D¢•ò4ÙK°ÙL£Ñ®U§VlWìU£WnÕ;H¾o:n’¨¨E Ú>òã9ªE‡—ª•š¢A‹}Á{Å;ñŠ»‰t¢¨_*eÀ&#65533;¢F¾Ù*²Qà•Š‹tªD’UªÿÃ,ßìÕJTŽ|ô@ªA®®µ«[è÷<Qv²Ùé}.Yª‡ÈU•Î0kTó]›V Tj©‹)w°s«ED¼í¨&#65533;.ŠR(x*UI¦L²mꢊZ+@ªuÔ 

X$*¦—ˆÑ¬ñ¨_È<u‚Ùá売•j”ºE W»B4Eªå23¶ÕœñâvƒIªðŠŠT:ˆt©D&Qé]¨Ä‚]8WšUûê]‰YŠ!†· d 

×ÛQ‚ï¾D’F«M.DúQîbºQ*L:R,Vš\¢Shµ‰Õ¨Wêu:ײM 2½©”ìu¨ÅÂD`Ý.EºH«E¬qûE(Ró^>zD2YŠTZdâ_$Þú|¶]¡yn"~!û•n•ªµ¦<)}Gò•ê땲u’#ß"]Ú7[<ì…(Ô+BªÕVa•êæÒ’u"¾$£í¨&#65533;ñ]ºƒêQ“F&…®?ºÁ®‰oôèSëUw–ºøPš1©MÉ»ÕúÀ‚}’T«oA×?Ó§ÑêȪE¾uªYŽeí&#65533;‹×êYšP‚}àeà‡ÿ€Eøw6t¨vŒRªA¢•û—Šu’U«£E®~îíÕËWÉ];w«D?‚]n× 

GB“« 

’QƒA¾ñ2u{,ê"•foŠ&ªTŒTª3¶Ä *TŠ—¢´é[º×²†»Ô&–˜xº˜•Š}£eÛ] yn_ˆŠlQ¢E«N"Dîõ⨢×êèêTúô*VŠ›¨Õ£×šEÓGËgRl²FÑÃç©[“”¢á¹V¢U¦M¡Õ²3ªì=rWŠ\ºQQ¢Wê”êT"C€O*veÖÊEŠñÈjåjU~]¢M¿-³&#65533;«#*ҪͶêdº\¿Ñú3¨Ë'ÝêQ©|ªáVSâ÷ž‰¨ÝÎ×¢O›qƒ6®wŽNVŠE€Dªí¢ÿ*ß)W¢ÔªM*GµO‹Õ«•ÎQÊ$‘šT›®E²u¯¢‹ 

êuêE’n^œzvª9êÑ‹ZŽ$¾Šp¦DÂǹ~™×*z„U®Uª•“FÊQxW*F*u³e/SªU/t•(Q²èä‚sÚ1:U®Aò–‡ÕÃe‹T²T²Dê\¨Ö(ÃèS®P@«•*}iº&#65533;@t&#65533;QïýÛâE;fÊW¬µ©ÓªV D¨ýP&®”ªO*Uª¨&#65533;²5üE#U¾s¦|ŠD¨ªYp.D¦¬o׺TÛ5ŠÕ$ñ‡eª×ÙŠ“Èlèº&D¦èº[›ùº\°Uó|¡Æå¿c×¼inX²VªWî&#65533;h’’eÁs³eºWü]ø 

®T(Sçú¶¡ý°¢Ï¨UÊYþ·)Õ£v‚õ¾Ä}.¢E 

SºAŠEkIo@¢qjýžTÈUû\ q°\ªV&#65533;e®D¢•ò4ÙK°ÙL£Ñ®U§VlWìU£WnÕ;H¾o:n’¨¨E Ú>òã9ªE‡—ª•š¢A‹}Á{Å;ñŠ»‰t¢¨_*eÀ&#65533;¢F¾Ù*²Qà•Š‹tªD’UªÿÃ,ßìÕJTŽ|ô@ªA®®µ«[è÷<Qv²Ùé}.Yª‡ÈU•Î0kTó]›V Tj©‹)w°s«ED¼í¨&#65533;.ŠR(x*UI¦L²mꢊZ+@ªuÔ 

X$*¦—ˆÑ¬ñ¨_È<u‚Ùá売•j”ºE W»B4Eªå23¶ÕœñâvƒIªðŠŠT:ˆt©D&Qé]¨Ä‚]8WšUûê]‰YŠ!†· d 

×ÛQ‚ï¾D’F«M.DúQîbºQ*L:R,Vš\¢Shµ‰Õ¨Wêu:ײM 2½©”ìu¨ÅÂD`Ý.EºH«E¬qûE(Ró^>zD2YŠTZdâ_$Þú|¶]¡yn"~!û•n•ªµ¦<)}Gò•ê땲u’#ß"]Ú7[<ì…(Ô+BªÕVa•MDIO ADDRESS = 0x10 

ethernetif->linkalive = 0 

.entering init of tse_mac 

[tse_mac_init] 

--- Quote End ---  

 

 

there is no link as you can see and ENET_RX_CLK from phy is switching from 25MHz to 125 MHz all the time(checked with scope). i guess this is constantly trying to negociate the link speed. 

I don't know what's going wrong, maybe somebody has encountered this kind of problem. 

 

Thanks 

 

hardware : ep4ce115f29c7, 128MB sdram issi, phy gigabit marvell 88e1111 configured in rgmii
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
747 Views

Sorry, I can't help in that special case. We use the same Phy from Marvell and I'm interested in the lwip stack in superloop mode. Which version you are using? 1.3.2? Which driver for the TSE Mac you have? Is the stack targeted for a special Quartus version? 

 

Jens
0 Kudos
Altera_Forum
Honored Contributor II
747 Views

i'm using qII 13.1 and lwip version is 1.3.2 for tse altera mac(look at the forum, there is a special version for it). No special tricks needed to make it work on de 2 115. Largely faster than iniche + uCOS2

0 Kudos
Reply