Forum Discussion
DE2_115 Board not respond to ping request
I have run the simple_socket_server example on ALtera De2_115 board , though my code run's without any error but wont respond to my ping request from other PC it says Host unreachable. i have attached the print screen of run time console of Eclips.
please help me out where i am wrong... regards kaushal29 Replies
- Altera_Forum
Honored Contributor
Still not found any solution for this....issue
- Altera_Forum
Honored Contributor
It is really hard to give a generic answer, it could come from a lot of different places.
If you try with the standard design delivered with the kit, does it work? Is the IP address shown there a static one that you gave the card or is it coming from dhcp? Can you use a sniffer tool such as Wireshark to see if anything is going to the board or coming from it? If you set signaltap probes on the avalon streams to/from the TSE is there anything going on there? - Altera_Forum
Honored Contributor
Yes !, I am working with standard simple_socket_server example design come along with Kit with little modification like IP address and Gatway.
i haven't get any signal from DE2-115 board as seen from wire-shark, except whatever i am sending toward DE2-Board during PING I have assign my own IP address, my Board LED status shows that RX LED: Blinking TX LED: Never Blink or Glow SPEED : 100 MOD : Duplex. - Altera_Forum
Honored Contributor
What about the hardware project? Are you using the .sof image provided with the kit or did you recompile/modify the design?
What about Signaltap? - Altera_Forum
Honored Contributor
It looks like the software is crashing and boots again. I don't think this is a hardware problem, because if the FPGA reconfigured itself for some reason, then the console would have lost contact with the Jtag UART.
What do you mean by "activity"? Are you sending a lot of packets? Is there a special type of packet that makes the application crash? What exactly happens after the "Sending Data at RS232 port at 115kbps..." ? Did you try to run that part of the code with a debugger? - Altera_Forum
Honored Contributor
I'm in the same situation like kaushal:
I have an Altera/terasic DE2-115 Development-Board with the corresponding CD (SYSTEM CD). I'm using the demo-project DE2_115_demonstrations/DE2_115_Web_Server/DE2_115_WEB_SERVER_RGMII_ENET0 from the CD. I generated the SOPC again, synthesized the gateware (= Verilog ?!) as it is with Quartus 12.1sp1 and used the project template "Web Server (RGMII)" with Nios II Software Build Tools for Eclipse 12.1.1.243. The project template uses MicroC/OS-II RTOS and NicheStack TCP/IP Stack. All the files from DE2_115_WEB_SERVER_RGMII_ENET0 are done with Quartus 10, but I'm using Quartus 12.1sp1 (newest one). So I had to change some constants, ex. web_server.c: LED_PIO_BASE => LEDR_BASE, network_utilities.c: EXT_FLASH_NAME => CFI_FLASH_NAME When I finished programming the gateware (SOF file), all the 7-segments turn on, but no LED or LCD (16x2) is active. Then I uploaded the software (Web Server (RGMII)) and captured all frames coming out of port 0: they come, but Wireshark don't like them!! It should be DHCP packets (UDP/IP packets), but it isn't. And request a ping from remote to my DE2-115 didn't get an answer... I also tested another TCP/IP stack without an OS: lwip I used the project from [can't link], again with a DHCP-Client on NIOS II and almost the same results: very same ethernet frames coming out of port 0. Any ideas why this is not working? Nios II Console: 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:d6:87 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 = 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 : 0.0.0.0 Created "Inet main" task (Prio: 2) Created "clock tick" task (Prio: 3) DHCP timed out, going back to default IP address(es) Created "web server" task (Prio: 4) Web Server starting up - Altera_Forum
Honored Contributor
- Altera_Forum
Honored Contributor
This sounds like maybe a tool version compatibility problem.
You might want to get a sanity check and see if the files supplied on the CD function correctly when you use the version of the tools that were used when the CD was created. (Which looks like it was v10.0) - Altera_Forum
Honored Contributor
I generate, synthesize and compile everything with Quartus 12.1sp1. Why it shouldn't work? Do you have any experience in version incompatibility?
I will use Quartus 10.0 tomorrow at work, if I can still download it. - Altera_Forum
Honored Contributor
--- Quote Start --- It looks like the software is crashing and boots again. I don't think this is a hardware problem, because if the FPGA reconfigured itself for some reason, then the console would have lost contact with the Jtag UART. What do you mean by "activity"? Are you sending a lot of packets? Is there a special type of packet that makes the application crash? What exactly happens after the "Sending Data at RS232 port at 115kbps..." ? Did you try to run that part of the code with a debugger? --- Quote End --- Hello Daixiwen activity mean , my software suppose to get data from other Board in RS422 format (data along with clock), when ever data comes it re-initialize itself, some time it pinging some time not, so board behavior is not stable. hardware: i am using is the nios-ii comes with DE2-115 CD , i have strip out unwanted interfaces like USB, 7-Seg, AUD, EE_I2S_CLK and EE_I2S_DATA, SD card, TV etc and many more. Software: i am using simple_socket server example and edit it as per my requirement like giving IP address and adding VIC etc. attached is my SOPC file for refrence