Forum Discussion
Altera_Forum
Honored Contributor
19 years agocommunication ethernet between two FPGAs
Hi to all, I'm a new member of this forum, which, I'm sure, will be very usefull for my problem. So, I'm working with two Cyclon II fpga connected each other by the ethernet cable and I'm tryi...
Altera_Forum
Honored Contributor
19 years agoThank you,
actually I'm working with a switch enabled to the auto_negotiation. The problem is that the fpga seems to properly performs the auto_negotiation but It cannot go on because it is not able to set the IP adrress even if I manually set it as explained in the Simple Socket Server example providerd by Altera. The message I get from the console is the following: Your Ethernet MAC address is 00:07:ed:0f:09:9b Static IP Address is 192.168.1.234 prepared 1 interface, initializing... Created "Inet main" task (Prio: 2) Created "clock tick" task (Prio: 3) [my message: waiting for iniche_net_ready...] smsc91c111 Auto-negotiation: 100 Mbps, Full Duplex SMSC ethernet Rev: 0x3392, ram: 8192 IP_INIT ERROR: can't alloc route table ip_exit: calling func 0x300312b0 netclose: closing iface SMSC 9100 series ethernet ip_exit: calling func 0x30013a64 inet startup error: unable to initialize IP dtrap - needs breakpoint panic: IP ip_exit: calling func 0x0 ip_exit: calling func 0x0 As one can see, the IP address is (apparently) set but the error is still on the IP initialization. However I have also say that sometimes I dont get this IP_INIT error but it stops just after the message: smsc91c111 Auto-negotiation: 100 Mbps, Full Duplex SMSC ethernet Rev: 0x3392, ram: 8192 The static IP assignment is done bye the same get_ip_addr() definition used in the Simple Socket Server example. The system used is a full featured and the environment is the quartus 7.1. If I attach the code, does anybody read it? thank you.