Quality RTOS & Embedded Software

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




Loading

cortex m3, lpc1768, code red rdb1768v2 phy

Posted by Ray Van De Walker on June 9, 2011
The uiptask hangs while trying to configure the (apparently old) phy. In particular it reads the phy ID registers, gets 65535 (all ones), then exits with an error. The task then retries.

Investigating further, the model of phy IC changed. Version 1 of the PCB defines a national part, version 2 of the PCB defines the phy as an SMSC LAN8720. I found the data sheet, and yes, indeed, it seems like the registers being accessed do not even exist on the new phy. That would explain why, on the scope, the signal just rises, with no data bits.

So, does anyone already have code? I will proceed, but it would be a help.

RE: cortex m3, lpc1768, code red rdb1768v2 phy

Posted by Richard on June 10, 2011
I would suggest looking at the examples provided by Code Red themselves for that target - they must provide a driver for the PHY on their own board.

Regards.

RE: cortex m3, lpc1768, code red rdb1768v2 phy

Posted by Ray Van De Walker on June 15, 2011
A clever helpful lurker, Rick Drolet, sent me a patch that works. I will attempt to post it.

RE: cortex m3, lpc1768, code red rdb1768v2 phy

Posted by Richard on June 16, 2011
It would be really helpful if you could post it here:

http://interactive.freertos.org/forums/104360-nxp (where you can upload code)

then I could link to it from the existing rdb1768 page on the FreeRTOS.org site.

Thanks and regards.

RE: cortex m3, lpc1768, code red rdb1768v2 phy

Posted by rick drolet on June 16, 2011
I created an account for the community and can browse the entries, but I can't seem to find the magic button for a new topic.

RE: cortex m3, lpc1768, code red rdb1768v2 phy

Posted by Richard on June 17, 2011
Have a look at the following screen shot - I have highlighted the link with a red box.

http://www.realtimeengineers.com/temp/interactive-screen-shot.jpg

Regards.

RE: cortex m3, lpc1768, code red rdb1768v2 phy

Posted by rick drolet on June 17, 2011
Contributed the file to:

http://interactive.freertos.org/entries/20203123-emac-for-lan8720-phy


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




Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.


Free TCP/IP and file system demos for the RTOS


Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

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

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

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

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists