FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [December 2006 Threads] xEMAC Init (SAM7X, IAR, uIP)Posted by Nobody/Anonymous on December 19, 2006 Hello,
a glance over the source code for PHY and EMAC initialisation revealed a strange wait sequence for PHY auto init. The PHY layer on my board is DAVICOM DM9161A. In xEMACInit, before auto negotiation and rest of init work, at the bare beginning there is sequence:
/* Wait for PHY auto init end (rather crude delay!). */ vTaskDelay( emacPHY_INIT_DELAY );
This delay is 5s, and it is not connected to integrated SAM7X MAC layer. I wrote to DAVICOM but ( after rading their documentation ) but they did not answer.
This delay is, as quoted rather crude for my app, so i need to figure out the minimal Ethernet rise time (ready for use, and possibly without uIP).
This part of code is taged as 'supplied by Atmel (and reformated)'. On their web site i did not found examples for SAM7X, so if anybody have the original EMAC init code i would be thankfull, for sendig it.
If there is anybody familiar with this issue, thanks in advance for any help or advice.
RE: xEMAC Init (SAM7X, IAR, uIP)Posted by Nobody/Anonymous on December 19, 2006 I don't think they supply the original code anymore, having updated it from the FreeRTOS code ;-)
RE: xEMAC Init (SAM7X, IAR, uIP)Posted by Nobody/Anonymous on December 19, 2006 Maybe this helps http://www.at91.com/package_patch_driver/at91sam7x256_iar/at91sam7x256_iar.zip
RE: xEMAC Init (SAM7X, IAR, uIP)Posted by Nobody/Anonymous on December 19, 2006 Thanks, it helps much!
And Atmel Tech support sended me today this link:
http://www.at91.com/Pages/products/EvaluationBoard/SAM7XEK/at91sam7xek.html
Cheers
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|