Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Ethernet support in u-boot for AT91SAM9G25
PostPosted: Mon Jul 02, 2012 3:16 pm 
Offline

Joined: Mon Dec 19, 2011 7:01 pm
Posts: 25
Hi,

I'm using AT91SAM9G25 based customized board.
We are trying to interface the ethernet with SMSC LAN8710Ai PHY chip.

In u-boot, I was able to read/write to the MII registers of the PHY chip (ID, Status, control etc). So I assume MII/RMII communication is fine.

Now the issue is, even though the Auto negotiation is initiated(through BMCR register of PHY) in the u-boot, Link is not coming up and auto negotiation is not happening.
Corresponding LINK and Auto negotiation bits in the PHY register BMSR were not up even after specified timeout/retries (in macb_phy_init and macb_phy_reset functions of macb.c in u-boot).

u-boot version: 2010.06
PHY_Addr = 0x01;
Mode = 111b; /* All capable, Auto-negotiation enabled*/


Please refer to the attached schematics.

Please help me in finding out whats going wrong.

Thanks in advance..


Attachments:
Eth_connections.rar [413.55 KiB]
Downloaded 21 times
Top
 Profile  
 
 Post subject: Re: Ethernet support in u-boot for AT91SAM9G25
PostPosted: Wed Jul 04, 2012 6:28 am 
Offline

Joined: Mon Dec 19, 2011 7:01 pm
Posts: 25
Could anybody help me in this issue please?
I am at the dead end on this and not able think of any solution.. :( :(

Please refer to the 8710Ai datasheet..
http://www.smsc.com/media/Downloads_Public/Data_Sheets/8710a.pdf


Thanks..


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: