Forum Discussion

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

Tcp_ip, Sopc

hello,

i have a bord STRATIX II EP2S60, i use quartus 2 v7.2.

i would like to use nichestack tcp/ip for nios 2, I don't know if i must use the MicroC/OS for this or i can avoid it (i don't know if i have the choice or no).

thanks.

14 Replies

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

    Hi, on an other project, I try to use InterNiche Stack in superloop mode and I have the same problem noticed in http://www.alteraforum.com/forum/showpost.php?p=9433&postcount=8 (post# 8) but with a DP83848C PHY.

    --- Quote Start ---

    prepped 0 interfaces, initializing...

    inet startup error: unable to find any working interfaces

    panic: IP

    dtrap - needs breakpoint

    --- Quote End ---

    Do I need to use ETH_OCM_INSTANCE() elsewhere ?

    i use quartus and nios ii ide 9.0sp2 , internichestack in superloop mode, ethernet opencore mac (and dp83848c phy)
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I found the mistake : :D

    I use a crossed cable between PC <-> board and DHCP was enabled.

    simply disable dhcp and it seems to work.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    I found the mistake : :D

    I use a crossed cable between PC <-> board and DHCP was enabled.

    simply disable dhcp and it seems to work.

    --- Quote End ---

    Hi, how can you make it work. And what do you mean disable DHCP. I tried to make it by set the variable

    *use_dhcp = 0;

    but it didn't work for me. I am still getting the error

    inet startup error: unable to find any working interfaces (using cross cable PC and DE2-70 board)

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

    I am using the 13.1 version of both NIOS-II EDS and the Quartus-II Programmer. I am also seeing the same problem described in this thread. Ethernet device is not being detected. The version of BSP that I have calls "ALTERA_AVALON_SGDMA_INIT" from "alt_sys_init()" which looks like a ethernet subsystem but I still don't see any ethernet devices.

    Has this issue been resolved by anybody? Can somebody provide me with some pointers?

    Thanks,

    -Srinath