Forum Discussion
Altera_Forum
Honored Contributor
16 years agoHi!
Many thanks to Bill for useful example and step-by-step pass-throw. I successfully compiled lwIP_NIOS_II_Example in EDS 10.0. A couple of minor issues I faced with: 1) steps 25-40. I tried to set paths and symbols through the GUI, but this didn't work. The workaround was to edit lwIP_NIOS_II_Example/Makefile manually. Also, to get “INFO” output like in Readme.txt ALT_DEBUG must be defined for lwIP_NIOS_II_Example_bsp project. 2) TSE-related components in SOPC must have standard names: 'tse_mac', 'sgdma_tx', 'sgdma_rx' and 'descriptor_memory'. If different names are used the code successfully compiles, but does not function. Without any modifications the example runs on DBM3C40 devboard (Cyclone III + Marvell 88E1119R PHY) at 100Mbit. It gets address via DHCP and serves nice html page from port 80. Unfortunately the board hangs at DHCP stage if I plug it into 1000M network. The output is following: INFO : TSE MAC 0 found at address 0x00002000 INFO : Multi Channel = No INFO : MDIO Shared = No INFO : MAC Type = 10/100/1000 Ethernet MAC INFO : MAC Address = 0x00002000 INFO : MAC Device = tse_mac_device[0] ERROR : MAC Group[0] - No PHY connected! ERROR : PHY[0.0] - No PHY connected! Speed = 100, Duplex = Full Waiting for link...OK Waiting for DHCP IP address... I suspect that 1000M operation or autonegotiation must be configured somehow, but I have zero experience in Ethernet development and don't know how to move on. Any help will be appreciated. Thank you in advance, Igor