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: Olimex AT91SAM7X256 and Micrel PHY KS8721 - lwIP
PostPosted: Sun Apr 05, 2009 7:57 am 
Offline

Joined: Sun Apr 05, 2009 7:50 am
Posts: 2
Hello.

As the title suggests, I am using the Olimex AT91SAM7X256 dev board with FreeRTOS v5.2 and LwIP, compiled in Crossworks.
Since this dev board uses the Micrel KS8721 PHY but the Atmel uses Davicom DM9161, the init code for the Emac needs to be modified. I have followed a few suggestions on this and other websites regarding changing the Pull-ups in the SAM7 but have had not luck. I just can't get the PHY to initialise. The Id of the PHY always comes back as 0xFFFF.
This URL: http://www.utasker.com/forum/index.php?topic=161.0 noted the differences for the two PHY's but was using a different RTOS.

Does anyone have some sample code or concise directions on how to make it work for the combination shown above (FreeRTOS v5.2, Crossworks, etc). Even IAR code might be helpful in showing what I am doing wrong.

Help is very appreciated.

Also, anyone tried eCos on this platform? I considering it as an alternative to FreeRTOS if no luck with the PHY.

cheers,
watterman.


Top
 Profile  
 
 Post subject: Re: Olimex AT91SAM7X256 and Micrel PHY KS8721 - lwIP
PostPosted: Sun Apr 05, 2009 1:05 pm 
Offline

Joined: Sun Apr 05, 2009 7:50 am
Posts: 2
Nevermind. Turns out it was the Power Down pin. This is inverted to the DM9161.

Still, I think Olimex should have provided a working example, rather than having to take what works for the Atmel AT91SAM7X-EK and need to modify it.


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: