Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
687 Views

Simple Socket Server Issue(TSE+Dp83865)

Hi all, 

 

I'am using the Triple Speed Ethernet component on sopc builder for the DP83865(PHY) interface, but i can't ping after Creating the "simple socket server" task . 

 

I had try 10/100Mb small Mac and 1000Mb small Mac at the core variation,but not success. 

 

 

=============== 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-2007 by InterNiche Technologies. All rights reserved. prep_tse_mac 0 Your Ethernet MAC address is a0:a0:a0:a0:a0:a0 Static IP Address is 192.168.1.16 prepped 1 interface, initializing... SGDMA desc memory cleared INFO : TSE MAC 0 found at address 0x0800bc00 INFO : PHY National DP83865 found at PHY address 0x02 of MAC Group INFO : PHY - Automatically mapped to tse_mac_device INFO : PHY - Restart Auto-Negotiation, checking PHY link... INFO : PHY - Auto-Negotiation PASSED INFO : PHY - Restart Auto-Negotiation, checking PHY link... INFO : PHY - Auto-Negotiation PASSED INFO : PHY - Checking link... INFO : PHY - Link established INFO : PHY - Gigabit = 0, Duplex = Full OK, x=0, CMD_CONFIG=0x01000000 MAC post-initialization: CMD_CONFIG=0x05000203 RX descriptor chain desc (1 depth) created IP address of et1 : 192.168.1.16 Created "Inet main" task (Prio: 2) Created "clock tick" task (Prio: 3) Simple Socket Server starting up Simple Socket Server listening on port 30 Created "simple socket server" task (Prio: 4)  

 

 

At this point,I can't ping ... 

 

Anyone has an idea of how to debug this problem? 

 

Thanks in advance !:) 

 

 

 

Edwin.Wu
0 Kudos
1 Reply
Altera_Forum
Honored Contributor I
22 Views

I have the same problem. 

I find that the program die at the function "select()" in the main receiving task before receive any packet, it can't break or return from the select() function, then, it did can't recieve any packet.... 

In fact, i scoped that the sgdma_rx has excuted correctly, but i can't find the descriptor_memory read from the signalTap II when ping the ip of this board. 

What parameters or setting items need to be modified when use dp83865 with a small 1000Mb GMII MAC without a DHCP? Any one can help me?