• 0
Sophia_123

Testing echo server DHCP timeout

Question

Hi

I want to utilize sdk to test echo server lwip,fpga program and run configration are done.However,in console,there are some lines make me confused.

 

-----lwIP TCP echo server ------
TCP packets sent to port 6001 will be echoed back
link speed: 1000
DHCP Timeout
Configuring default IP of 192.168.1.10
Board IP: 192.168.1.10
Netmask : 255.255.255.0
Gateway : 192.168.1.1
TCP echo server started @ port 7

 

When I ping the board on PC,it displays "can't access the destination host"

My board is Zybo.The hardware been built in vivado 2014.3.1 is a Zynq7 System Processing Core.What makes wrongs?

Regards,

Sophia

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hello,

i have the same problem, i don't understand why my board can't be configured with an ip adress (not the default one after timeout) !

when i power off my board and run the program again it works fine ! i thought it 's a cahe problem , but when i debugged my code 

i found that my cache memory is flushed correctly thanks to this function call  ! :

                        Xil_DCacheFlushRange((UINTPTR)q->payload, (UINTPTR)q->len);

i tried also to flush all the cache memory  using

                                                 Xil_DCacheFlush(); 

but nothing resolved my problem ! i also disabled the cache ,  unfortunately it dosen't work 

please help ! 

Thank you 

Saif

Edited by faidi0708

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now