lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] mbed rtos+lwip1.4 with DM9161 PHY


From: frankvnk
Subject: [lwip-users] mbed rtos+lwip1.4 with DM9161 PHY
Date: Thu, 31 Jan 2013 09:21:35 -0800 (PST)

DM9161A PHY

I have a LPC1768 board fitted with another PHY (DM9161A) : Mini-DK (see
http://mbed.org/users/frankvnk/code/Mini-DK/).

I ported the EasyWeb application to this board, works fine, but i want to
switch to lwip+rtos.
I already created a lpc_phy_DM9161A.c file (see
http://mbed.org/users/frankvnk/code/lpc_phy_DM9161A/) and replaced the
lpc_phy_dp83848.c file with this file.

While autonegotiation and DHCP work fine, i’m having issues with the
ethernet communication: Perhaps the problem is situated in the EMAC-PHY
communication speed (timing issue)? - Is it possible to modify this timing?
If so, what file(s) do i need to modify in TCPSocket_HelloWorld
(http://mbed.org/users/mbed_official/code/TCPSocket_HelloWorld/). Wireshark
shows no communication besides DHCP. Only once, when i enabled lwip debug
options, the system went further - GET command was repeated continuously
(with reply that data was received) while it should have run only once (code
in TCPSocket_HelloWorld - main.cpp).

On the other hand, this Mini-DK board works fine with sample code provided
by the manufacturer: Dynamic webpage based on uCOSII2.91+lwip-1.3.2 code.
Since different lwip versions are used, i tried to search for the
differences but the lwip site has little info on the changes between lwip
1.3 and 1.4.

Note: The manufacturer released a newer board fitted with a 8720 PHY – this
works fine with the mbed code (changes according to
http://mbed.org/forum/mbed/topic/3684/?page=1#comment-18473).

Any ideas what is causing this?



--
View this message in context: 
http://lwip.100.n7.nabble.com/mbed-rtos-lwip1-4-with-DM9161-PHY-tp21077.html
Sent from the lwip-users mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]