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++

cannot get connection

Altera_Forum
Honored Contributor II
2,104 Views

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
0 Kudos
9 Replies
Altera_Forum
Honored Contributor II
993 Views

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.
0 Kudos
Altera_Forum
Honored Contributor II
993 Views

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??

0 Kudos
Altera_Forum
Honored Contributor II
993 Views

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?
0 Kudos
Altera_Forum
Honored Contributor II
993 Views

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
0 Kudos
Altera_Forum
Honored Contributor II
993 Views

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?

0 Kudos
Altera_Forum
Honored Contributor II
993 Views

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??
0 Kudos
Altera_Forum
Honored Contributor II
993 Views

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
0 Kudos
Altera_Forum
Honored Contributor II
993 Views

i use the maco-component for the builder.

0 Kudos
Altera_Forum
Honored Contributor II
993 Views

hi hans finally i got it working, ask me when you have problems http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/wink.gif

0 Kudos
Reply