Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
21 years ago

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.gif

9 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    What application do you have running on your system? Are you using LWIP? Linux?

    If I&#39;m not mistaken, it&#39;s the IP stack that responds to ping requests.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    yes linux, but i don&#39;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's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    It&#39;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's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    yes i provided an ip but the ping doesn&#39;t arrive the target. only the arp request has been answered. now i tried also with support of the lwip, but it&#39;s the same. it doesn&#39;t matter whether i do it with support of lwip or not. but i don&#39;t know what&#39;s the easy way http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/wink.gif

    thx
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hmm... if the arp request has been answered, then it sounds like there&#39;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's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored 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's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored 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