10-11-2009 02:47 AM
I'm working with EDK 10.1 SP3 and ML507 evaluation board and I creat a project which contain the IP core xps_ll_temac ,the core works in the SDMA mode with MII interface.
I add a software application projiect "lwipdemo" and then build it. After I download the bitstream, I debug in the XMD, I typed
"dow microblaze_0/code/lwipdemo.elf" and then "con", I could see the output on the serial port :
Board IP: 192.168.1.10
Netmask : 255.255.255.0
Gateway : 192.168.1.1
-----lwIP test WebServer ------
Open up your favorite browser and type:
-----lwIP echo server ------
You can connect to the echo server @ port 7
-----lwIP TFTP Server ------
Upload or download files from the Memory File System to your localhost
e.g.: upload from WinXP host to the board:
tftp -i 192.168.1.10 PUT source [destination]
XLlTemac detect_phy: PHY detected.
auto-negotiated link speed: 100
index.html: ERROR: unable to locate index.html in MFS
Please check if Memory File System has been loaded,
and it has index.html file in root directory
But when I set the IP of PC to 192.168.1.1, and ping the IP 192.168.1.10 in the PC side , it shows "request timed out " .
Then I rebuild a project with xps_ll_temac which has a GMII interface , and others are the same. After I download the
bitstream and typed "dow microblaze_0/code/lwipdemo.elf " and "con" in the XMD ,I successed ping the 192.168.1.10 in
the PC side.
I don't know why this happened, and which I want know is "should I do anything special to get the application lwipdemo
to work with the MII interface".
Thank in advance.
07-16-2013 07:51 PM
I am preparing to do implement the ethernet communication based on lwip and ucos?
can you do me a favor?
I have create a xps project and then export it to the SDK , after that I create a SDK project with linux option.
what to do next?
thank you very much.
07-16-2013 08:04 PM
I have used the similar webserver before. The PC side local network tcp/ip address must be set to according the webserver side.
if the webserver's IP is 192.168.1.10, then the PC side should be set 192.168.1. *(this can be 0~255 different the exist ip)
hoping to help you a little.