Forum Discussion

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

simple socket sever is running,but cann't ping/telnet

Hi,

I have meet a problem when use the simple socket sever templet in the niosii ide ecilipse,with weeks work but have no solution,so I post a thread here,maybe I could get help.

My situation is here:

hardware: cIII 120 develop board

software: QII 9.1 sp2, Nios II 9.1 sp2

What i have done:

1. copy triple_speed_ethernet_design in the install directory to my project fold and open with QII

2. open sopc builder and run generate

3. back to QII and compile to generate sof (time limited version)

4. open nios eclipse ide, create a new project with simple socket server template

******************************************

5. I disable DHCP in wizard and I use cross cable to connect board and PC directly.

6. run app as "Nios II hardware"

what I got:

=============== Software License Reminder ================

This software project uses an unlicensed version of the NicheStack TCP/IP

Network Stack - Nios II Edition. If you want to ship resulting object

code in your product, you must purchase a license for this software from

Altera. For information go to:

================================================== ===

InterNiche Portable TCP/IP, v3.1

Copyright 1996-2008 by InterNiche Technologies. All rights reserved.

prep_tse_mac 0

Static IP Address is 192.168.1.234

prepped 1 interface, initializing...

[tse_mac_init]

INFO : TSE MAC 0 found at address 0x08004000

INFO : PHY Marvell 88E1111 found at PHY address 0x12 of MAC Group[0]

INFO : PHY[0.0] - Automatically mapped to tse_mac_device[0]

INFO : PHY[0.0] - Restart Auto-Negotiation, checking PHY link...

INFO : PHY[0.0] - Auto-Negotiation PASSED

INFO : PHY[0.0] - Checking link...

INFO : PHY[0.0] - Link established

INFO : PHY[0.0] - Speed = 100, Duplex = Full

OK, x=1, CMD_CONFIG=0x00000000

MAC post-initialization: CMD_CONFIG=0x04000203

[tse_sgdma_read_init] RX descriptor chain desc (1 depth) created

mctest init called

IP address of et1 : 192.168.1.234

Created "Inet main" task (Prio: 2)

Created "clock tick" task (Prio: 3)

Simple Socket Server starting up

[sss_task] Simple Socket Server listening on port 30

Created "simple socket server" task (Prio: 4)

Everything looks smooth, but I cannot ping, telnet or whatever else.

When I ping, the RX light is flashing, but TX light not.

Thank you for your help!

2 Replies

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

    Hi,

    I am having EXACTLY this problem. I have used the standard design from the kit. I have had a field rep try the same thing, and get the same effect.

    It has been a very frustrating couple of weeks, and I am starting to doubt my sanity.

    I have tried the standalone lwip and I get a similar effect.

    Signal Tap shows packets correct on rgmii

    TSER_MAC statistics show correct broadcast ping statistics.

    Breakpoints in low level input show no packets received as always returning a null.

    Has anyone found a solution to this problem?

    Any advice appreciated!