Forum Discussion
Altera_Forum
Honored Contributor
12 years agoI post more details about the webserver example. attached is also an image with the current ip-address of the DE2-115-board.
ping request and responses (can be requested before and after a HTTP request... no TCP/IP-stack crashes or timeouts):$ ping 192.168.21.120
PING 192.168.21.120 (192.168.21.120) 56(84) bytes of data.
64 bytes from 192.168.21.120: icmp_req=1 ttl=64 time=0.340 ms
64 bytes from 192.168.21.120: icmp_req=2 ttl=64 time=0.302 ms
64 bytes from 192.168.21.120: icmp_req=3 ttl=64 time=0.319 ms
64 bytes from 192.168.21.120: icmp_req=4 ttl=64 time=0.320 ms
64 bytes from 192.168.21.120: icmp_req=5 ttl=64 time=0.380 ms
64 bytes from 192.168.21.120: icmp_req=6 ttl=64 time=0.321 ms
64 bytes from 192.168.21.120: icmp_req=7 ttl=64 time=0.319 ms
64 bytes from 192.168.21.120: icmp_req=8 ttl=64 time=0.324 ms nios2-Terminal Output of nios2-ide: nios2-terminal: connected to hardware target using JTAG UART on cable
nios2-terminal: "USB-Blaster ", device 1, instance 0
nios2-terminal: (Use the IDE stop button or Ctrl-C to terminate)
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...
INFO : TSE MAC 0 found at address 0x0b442000
INFO : PHY Marvell 88E1111 found at PHY address 0x10 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 - Checking link...
INFO : PHY - Link established
INFO : PHY - Speed = 1000, Duplex = Full
OK, x=0, CMD_CONFIG=0x00000000
MAC post-initialization: CMD_CONFIG=0x0400020b
RX descriptor chain desc (1 depth) created
mctest init called
IP address of et1 : 192.168.21.171
Created "Inet main" task (Prio: 2)
Created "clock tick" task (Prio: 3)
Acquired IP address via DHCP client for interface: et1
IP address : 192.168.21.120
Subnet Mask: 255.255.255.0
Gateway : 192.168.21.1
Created "web server" task (Prio: 4)
Web Server starting up
Acquired IP address via DHCP client for interface: et1
IP address : 192.168.21.120
Subnet Mask: 255.255.255.0
Gateway : 192.168.21.1
Fetching file: /mnt/rozipfs/index.html.
Fetching file: /mnt/rozipfs/style.css.
Fetching file: /mnt/rozipfs/logo1.png.
Fetching file: /mnt/rozipfs/alteraup.png.
Fetching file: /mnt/rozipfs/side.jpg.
Fetching file: /mnt/rozipfs/400X351_color.jpg.
Fetching file: /mnt/rozipfs/D5M_500_01.jpg.
Fetching file: /mnt/rozipfs/002_500.jpg.
Fetching file: /mnt/rozipfs/ADA-HSMC.jpg.
Fetching file: /mnt/rozipfs/001_500.jpg.
Fetching file: /mnt/rozipfs/favicon.ico.
Fetching file: /mnt/rozipfs/favicon.ico.
Acquired IP address via DHCP client for interface: et1
IP address : 192.168.21.120
Subnet Mask: 255.255.255.0
Gateway : 192.168.21.1
Acquired IP address via DHCP client for interface: et1
IP address : 192.168.21.120
Subnet Mask: 255.255.255.0
Gateway : 192.168.21.1
Acquired IP address via DHCP client for interface: et1
IP address : 192.168.21.120
Subnet Mask: 255.255.255.0
Gateway : 192.168.21.1