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  [ 4 posts ] 
Author Message
 Post subject: sam9260 ethernet initialization failure
PostPosted: Fri Oct 29, 2010 12:13 am 
Offline

Joined: Tue Oct 19, 2010 2:43 pm
Posts: 4
I have been struggling to bring up the ethernet connection on a 9260-EK clone in Uboot. The board is a direct copy of the 9260EK and as such utilizes the same Davicom DM9161 PHY. It appears that Uboot can find the PHY, whether it is on address 0 or not I am unsure of. The PHY will make a connection to my PC and communication seems to occur across the TX/RX lines when looking with a scope, however the Link/Acct light is constantly flashing very erratically. I do get a "MAC: error during RMII initialization" during boot. I cannot tftp nor ping the PC that it is supposedly connected to. I have checked all pins of the PHY and matched them to what is seen on my EK board and all is fine except the TX/RX lines. If no cable is present the signal on the TX+/TX- and RX+/RX- lines is not a steady 2.4V as seen on the EK board. It seems to be jumping around on my board, pulsing if you will at the same rate as the Link light is flickering. The reset line is not asserted, and the pwrdwn line is pulled low.

Could it be possible the chip is continually trying to reconnect? I am not super familiar with ethernet and would greatly appreciate some assistance in diagnosing my issue.


Top
 Profile  
 
 Post subject: Re: sam9260 ethernet initialization failure
PostPosted: Fri Oct 29, 2010 5:35 pm 
Offline

Joined: Wed Jan 09, 2008 5:09 pm
Posts: 186
Location: Mounds View, MN
Thnis may sound dumb, but did you also copy the BOM? There are parts in the Ethernet circuit for an MII build option. Maybe you have some of these parts installed, when they should not be.

_________________
Tim Barr
Multitech Inc.


Top
 Profile  
 
 Post subject: Re: sam9260 ethernet initialization failure
PostPosted: Fri Oct 29, 2010 7:03 pm 
Offline

Joined: Tue Oct 19, 2010 2:43 pm
Posts: 4
I did copy the BOM, its a direct copy of the entire ethernet circuit so I must have some extra parts in there. I did notice on the DM9161 datasheet that there are several parts not connected to be in RMII mode, I disconnected these lines but still have same issue. Uboot seems to recognizes that there is a link present, as does my host machine, but still shows the RMII initialization error.


Top
 Profile  
 
 Post subject: Re: sam9260 ethernet initialization failure
PostPosted: Wed Apr 20, 2011 12:11 pm 
Offline
User avatar

Joined: Fri Jul 07, 2006 4:49 pm
Posts: 19
Location: L.A, West Sussex, UK.
Does you board have the DM9161AEP or DM9161EP
- I have the 'EP' version, and cant get it to work..


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


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:  
cron