Forum Discussion
Altera_Forum
Honored Contributor
13 years ago --- Quote Start --- If you can ping the board, there's definitely no problem at the mac/phy levels, so I don't think you need to include that. Probably you have a wrong SSS code or made a mistake in tcp configuration: infact ping relies on UDP, while the server-client connection requires TCP which is a bit more complex. Using a network analyzer like Wireshark can easily help you to find out if connection initiates and where it fails before being established. --- Quote End --- Hi,Cris72 The output of NIOS II is: ************************************************** ************* InterNiche Portable TCP/IP, v3.1 Copyright 1996-2008 by InterNiche Technologies. All rights reserved. prep_tse_mac 0 Your Ethernet MAC address is 00:07:ed:ff:61:06 Static IP Address is 192.168.10.234 prepped 1 interface, initializing... [tse_mac_init] INFO : TSE MAC 0 found at address 0x0b442000 INFO : PHY Marvell 88E1111 found at PHY address 0x10 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 MARVELL : Mode changed to RGMII/Modified MII to Copper mode MARVELL : Enable RGMII Timing Control MARVELL : PHY reset INFO : PHY[0.0] - Checking link... INFO : PHY[0.0] - Link not yet established, restart auto-negotiation... INFO : PHY[0.0] - Restart Auto-Negotiation, checking PHY link... INFO : PHY[0.0] - Auto-Negotiation PASSED INFO : PHY[0.0] - Link established INFO : PHY[0.0] - Speed = 1000, Duplex = Full OK, x=0, CMD_CONFIG=0x00000000 MAC post-initialization: CMD_CONFIG=0x0400020b [tse_sgdma_read_init] RX descriptor chain desc (1 depth) created mctest init called IP address of et1 : 192.168.10.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) ************************************************** ****** I can send words or command via Telnet or Ping, when I use a router. However, I always failed when I directly connect the board and PC with a cross-over cable. I am really confused, I hope that you could help me. Have a good day!