Post Go back to editing

BF548:  LAN9218 driver

I need to rebuild the LAN9218 driver with the base address changed.   I do not see the LAN9218 driver source code inside the C:\Program Files\Analog Devices\VisualDSP 5.0\Blackfin\Examples\ADSP-BF548 EZ-KIT Lite

Is the source available somewhere? 

ELse is there a way to change the base address without compiling the driver again??

Thanks in advance

Krishna

Parents
  • Hi Craig,

    As suggested by you, I have rebuilt the LAN9218 driver. 

    I built a standard application and the Ethernet driver works, as the LAN Get Phy Regs API returns the correct values from PHY regs.  The Link Up and Link Down status comes clearly.

    BUT,

    When I use this newly built driver with the LWIP example applications (all of them)  the execution remains in the while loop waiting for Link Up inside the system_init function.

    When I probed I find that the ethernet PHY CSR remains "busy". 

    What is difference between the standard application and the LWIP, vis-a-vis the ethernet driver usage??  Why different behavior on the same board? 

    -Krishna

Reply
  • Hi Craig,

    As suggested by you, I have rebuilt the LAN9218 driver. 

    I built a standard application and the Ethernet driver works, as the LAN Get Phy Regs API returns the correct values from PHY regs.  The Link Up and Link Down status comes clearly.

    BUT,

    When I use this newly built driver with the LWIP example applications (all of them)  the execution remains in the while loop waiting for Link Up inside the system_init function.

    When I probed I find that the ethernet PHY CSR remains "busy". 

    What is difference between the standard application and the LWIP, vis-a-vis the ethernet driver usage??  Why different behavior on the same board? 

    -Krishna

Children
No Data