Re: [lwip-users] change PHY and strange behaviour

2014-06-26 Thread pcu
Thank you all for your responses. Finally I found the solution: long time ago I had problem with ETH_IRQHandler and I disabled High priority task woken void ETH_IRQHandler(void) { portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE; /* Frame received */ if (

[lwip-users] change PHY and strange behaviour

2014-06-12 Thread pcu
Hello, I changed my PHY from DP83848 in MII to LAN8720 in RMII. Initialisation in code seems correct, and signals also (REFCLOCK...) But I got a strange ping answer starts at 500ms, decrease to 1ms and roll again. I test my webserver and it is also very slow.

Re: [lwip-users] change PHY and strange behaviour

2014-06-12 Thread Sergio R. Caprile
Hi, this is the kind of problem I love to figure out and not have it myself... ;^) 1) I would put a wireshark or equivalent to really see what is going on, those text reports can be lots of non-related stuff. I guess packets have an id number and so lost packets are detected, but I don't see that

Re: [lwip-users] change PHY and strange behaviour

2014-06-12 Thread George Ruinelli
Hi pcu I am also using the LAN8720 in RMII, together with an STM32F4 and FreeRTOS. I also had an issue with lost packages. That was solved by a patch provided in this list. Have a look at the thread at http://lists.gnu.org/archive/html/lwip-users/2013-09/msg00025.html With this fix lwIP works

Re: [lwip-users] change PHY and strange behaviour

2014-06-12 Thread Noam weissman
+noam=silrd@nongnu.org [mailto:lwip-users-bounces+noam=silrd@nongnu.org] On Behalf Of pcu Sent: Thursday, June 12, 2014 6:20 PM To: lwip-users@nongnu.org Subject: [lwip-users] change PHY and strange behaviour Hello, I changed my PHY from DP83848 in MII to LAN8720 in RMII. Initialisation

Re: [lwip-users] change PHY and strange behaviour

2014-06-12 Thread Noam weissman
Message- From: lwip-users-bounces+noam=silrd@nongnu.org [mailto:lwip-users-bounces+noam=silrd@nongnu.org] On Behalf Of George Ruinelli Sent: Thursday, June 12, 2014 7:28 PM To: 'Mailing list for lwIP users' Subject: Re: [lwip-users] change PHY and strange behaviour Hi pcu I am also using

Re: [lwip-users] change PHY and strange behaviour

2014-06-12 Thread deft
pcu wrote I changed my PHY from DP83848 in MII to LAN8720 in RMII. Hi Just to clear things out here, you are saying you didn't change anything in the ethernetif layer and interrupt/DMA handling when you changed PHY? Just based on the strange pattern on those wraparound delays it looks to me