Forum Discussion
cannot get connection
hi, i have a microtronix nios2 board and i use the opencore mac. everything went well during the compilation. when i start the sdk shell it shows me that the link is up but i cannot ping anything.
thx http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/huh.gif9 Replies
- Altera_Forum
Honored Contributor
What application do you have running on your system? Are you using LWIP? Linux?
If I'm not mistaken, it's the IP stack that responds to ping requests. - Altera_Forum
Honored Contributor
yes linux, but i don't use the lwip, i thought it is only for a daughterboard, but my mac is directly on the board. does it not work without the lwip??
- Altera_Forum
Honored Contributor
It'll work without LWIP, I just needed some more background before we went any further.
After you powered up your board, did you provide an IP address for your network adapter? Can you ping from your board to another IP address? - Altera_Forum
Honored Contributor
yes i provided an ip but the ping doesn't arrive the target. only the arp request has been answered. now i tried also with support of the lwip, but it's the same. it doesn't matter whether i do it with support of lwip or not. but i don't know what's the easy way http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/wink.gif
thx - Altera_Forum
Honored Contributor
Hmm... if the arp request has been answered, then it sounds like there's another board out there with the same ip address... all the other symptoms seem to point to the same conclusion. Maybe you should try using another IP address? Or working on an isolated network?
- Altera_Forum
Honored Contributor
ok, i work only with an laptop and the nios board with a direct crossover connection. tell me whether its right, but i thing the arp will be replied by the phy and not any upper layer?! but now i see the message that in register 1 the "remote fault"
oeth_phymac_synch:eth0 MR1: 0xD8C00215 Remote Fault Link OK: MODER: 0x0000A040 HalfD: MR18: 0xD8C00215 10BASE-T do you know it?? - Altera_Forum
Honored Contributor
hi,
can you tell me how you use the opencore ethernet mac? Do you use a Wishbone to Avalon bridge or do you use the maco-engineering port? Regards, Hans - Altera_Forum
Honored Contributor
i use the maco-component for the builder.
- Altera_Forum
Honored Contributor
hi hans finally i got it working, ask me when you have problems http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/wink.gif