Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


Loading

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


[ Back to the top ]    [ About FreeRTOS ]    [ Privacy ]    [ Sitemap ]    [ ]


Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

Meet Richard Barry and learn about running FreeRTOS on RISC-V at FOSDEM 2019

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


Careers

FreeRTOS and other embedded software careers at AWS.



FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Renesas

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS

Xilinx Microblaze and Zynq partner