cortex m3, lpc1768, code red rdb1768v2 phy

rgvandewalker wrote on Thursday, June 09, 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.

rtel wrote on Friday, 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.

rgvandewalker wrote on Wednesday, June 15, 2011:

A clever helpful lurker, Rick Drolet, sent me a patch that works.  I will attempt to post it.

rtel wrote on Thursday, 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.

cti190 wrote on Thursday, 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.

rtel wrote on Friday, 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.

cti190 wrote on Friday, June 17, 2011:

Contributed the file to:

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