Quality RTOS & Embedded Software

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




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

FreeRTOS kernel V10 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