Quality RTOS & Embedded Software

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


Loading

Can't read PHY ID on SAM7-EX256

Posted by Mikael Ostensson on December 11, 2008
Hi all,

I'm trying to get the Crossworks demo working on my olimex SAM7-EX256 board and have issues reading the PHY ID.
it always return 0x000FFFF rather than the expected id from the ksz8721bl (0x00221610).

Anyone with experience with this board that may have an idea whats going on?

RE: Can't read PHY ID on SAM7-EX256

Posted by Dave on December 11, 2008
Are you running the SAM7X interface in MII mode? RMII mode does not work.

RE: Can't read PHY ID on SAM7-EX256

Posted by Mikael Ostensson on December 11, 2008
No RMII as per the original demo:
#define USE_RMII_INTERFACE 0

The only changes I have done is to define a a new Phy ID type in mii.h :
#defineMII_KS8721BL_ID 0x00221610

and change the corresponding if statement in the SAM7_EMAC.c to detect it, but the call always returns FFFF.




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




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

Latest News

Meet us at Embedded World. Hall 3A-525.

Hear from Richard Barry at Embedded World. Feb 28, 16:00, Hall 4-428.

Video: Watch James Gosling & Richard Barry at re:Invent, Las Vegas 2017.

FreeRTOS kernel V10.0.1 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

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