Sign In

Don't have a Xilinx account yet?

  • Choose to receive important news and product information
  • Gain access to special content
  • Personalize your web experience on Xilinx.com

Create Account

Username

Password

Forgot your password?
XClose Panel
Xilinx Home
Reply
Regular Contributor
sxl630828191
Posts: 53
Registered: ‎02-13-2012
0

Can liblwip4.a be rebuilt?

Hey,everyone

 

       I am now using lwip. And I encountered one problem. I have to change the link speed. For several trials , I am sure I have to modify the source file under bsp. However , even if I changed the lwip source files , the liblwip4.o never changed,so what modification I have made makes no means.

 

      Anyone can help me ? Thanks a lot.

Expert Contributor
sushantm
Posts: 284
Registered: ‎04-02-2011
0

Re: Can liblwip4.a be rebuilt?

For changing the link speed you have to  work with EMAC interface i guess.

& also i guess it is nothing to do with source .c files you have to chage hardware for this and need to generate bit & bmm again. Then you should proceed with SDK devlopment.

--Sushant Mahajan
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Signature:

1.Have you ever tried typing your question into Google? If not you should before posting.
Too many results? Try adding site:www.xilinx.com
2.Read the datasheet and user guide. Have you read the user guide in detail ? Can you find the user guide?
3. Search the forums for similar topics.
4.I have neither found any similar thread in existing forum nor web-search is helpful to me.What should I do ?
Post your issue in detail comprehensive format on the relevant
forum.
5. Do not post the same question on multiple forums,please search and post it on relevant forum.
6. Do not raise a new topic or question on someone else's thread, start a new thread!
7. Students/Newbies: Copying code is not the same as learning to design.
8. "It does not work" is not a question which can be answered. Provide much details (with webaddress, datasheet links,etc..).
and make sure to be specific!
9. You are not charged extra fees for comments in your code,It will help others to understand well.
10.If someone answers your question, mark the post with "Accept as solution". If you see a particularly good and informative post, consider giving it Kudos (the star on the left).
Regular Contributor
sxl630828191
Posts: 53
Registered: ‎02-13-2012
0

Re: Can liblwip4.a be rebuilt?

Hello,

 

        Thanks for your reply.

     

        I know I have to change one bit of the register in the phy to set the link speed according to the datasheet. And I do this in the peripheral_test successfully. I set the PHY_REG0_SPD_100_MASK from 0x2000 to 0x0000, then the link speed changes to 10Mbps.截图1.png

 

       I want to do this in the lwip,But it doesnot work.

    

       And you asked me to modify the hardware design , I don't kown how to do that. There are no options  to do with the link speed  in the hardware .

 

       Waiting for your reply.