cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
weeky
Visitor
Visitor
4,368 Views
Registered: ‎10-11-2009

build soflware application projiect "lwipdemo" with xps_ll_temac MII interface on ML507 evaluation board

    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:
                             http://192.168.1.10

                             -----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.

  

  

0 Kudos
Reply
4 Replies
cooleafbinye
Newbie
Newbie
2,956 Views
Registered: ‎07-16-2013

I have the same problem,did you solve it?

0 Kudos
Reply
wide_road
Visitor
Visitor
2,954 Views
Registered: ‎05-29-2013

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.

0 Kudos
Reply
wide_road
Visitor
Visitor
2,951 Views
Registered: ‎05-29-2013

I want to implement the ethernet communication.

Is the xapp 1082 can direct me to implement the design?

 

0 Kudos
Reply
wide_road
Visitor
Visitor
2,950 Views
Registered: ‎05-29-2013

I have used the similar webserver before.  The PC side local network tcp/ip address must be set to according the webserver side.

for example:

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.

0 Kudos
Reply