Re: [lwip-users] Timeout wraparound bug

2017-02-20 Thread Fotis Panagiotopoulos
As it seems there was a bug in my sys_now(), wrapping-around at the wrong value. Now it works perfectly, thank you. *Fotis Panagiotopoulos* Mechatronics Engineer *AMCO **Α**.**Β**.**Ε**.**Ε**.* Αμφιαράου 25,, Τ.Κ. 104 42, Αθήνα, Ελλάδα Τηλ : +30 210 5907000 – ext. 28 | Fax: +30 210 5912711

Re: [lwip-users] Timeout wraparound bug

2017-02-18 Thread Fotis Panagiotopoulos
overflow of my sys_now() function. I assume that it wraps around at 2^32-1, but I will cross check it. *Fotis Panagiotopoulos* Mechatronics Engineer *AMCO **Α**.**Β**.**Ε**.**Ε**.* Αμφιαράου 25,, Τ.Κ. 104 42, Αθήνα, Ελλάδα Τηλ : +30 210 5907000 – ext. 28 | Fax: +30 210

[lwip-users] Timeout wraparound bug

2017-02-17 Thread Fotis Panagiotopoulos
Hi, I have a problem with LWIP, where after some time of normal operation, all TCP communications die. After lots of headbanging, I found that tcp_tmr() stops beeing called. I examined the functions sys_check_timeouts() and sys_timeout(), and found out that there is a problem when sys_now wraps a

Re: [lwip-users] LPC1769 ethernet problem

2016-09-09 Thread Fotis Panagiotopoulos
, but also I used my own computer's MAC (after disconnecting it from the network), and no luck. Only this specific MAC address works correctly, all other do not work on the WAN. Currently I am waiting our new hardware that utilizes an EEPROM preprogrammed with a MAC address. *Fotis Panag

Re: [lwip-users] LPC1769 ethernet problem

2016-08-16 Thread Fotis Panagiotopoulos
e the response, thus it keeps sending the same request again and again. (This time for some reason the microcontroller does not send the ARP request at all... Only responds) Again the controller sends the UDP packet with no response. *Fotis Panagiotopoulos* *--* *AMCO S.A.* 25 Amfiaraou s

Re: [lwip-users] LPC1769 ethernet problem

2016-08-16 Thread Fotis Panagiotopoulos
C and tries to send the UDP packet, again with no response. Obviously this will happen at a random time (the app 30 secs delay I mentioned above). It seems that the router has something personal with my microcontroller... *Fotis Panagiotopoulos* *--* *AMCO S.A.* 25 Amfiaraou st. PO 10442, A

Re: [lwip-users] LPC1769 ethernet problem

2016-08-16 Thread Fotis Panagiotopoulos
The ARP request is valid. It is a normal broadcast send to ff:ff:ff:ff:ff:ff:, and the source is the MAC address that I have set to the code. As it seems there is no problem there. *Fotis Panagiotopoulos* *--* *AMCO S.A.* 25 Amfiaraou st. PO 10442, Athens, Greece Tel: +30 210 5907000 ext

Re: [lwip-users] LPC1769 ethernet problem

2016-08-12 Thread Fotis Panagiotopoulos
as no problems, resolving the address of the other local computers. Any hints? *Fotis Panagiotopoulos* *--* *AMCO S.A.* 25 Amfiaraou st. PO 10442, Athens, Greece Tel: +30 210 5907000 ext. -34 <%2B30%20210%205907000%20ext.%20-36> | Fax: +30 210 5912711 e-mail: f.pa...@amco.gr | web: http://www.

Re: [lwip-users] LPC1769 ethernet problem

2016-08-12 Thread Fotis Panagiotopoulos
normally. *Fotis Panagiotopoulos* *--* *AMCO S.A.* 25 Amfiaraou st. PO 10442, Athens, Greece Tel: +30 210 5907000 ext. -34 <%2B30%20210%205907000%20ext.%20-36> | Fax: +30 210 5912711 e-mail: f.pa...@amco.gr | web: http://www.amco.gr On Mon, Aug 1, 2016 at 9:22 PM, goldsi...@gmx.de

Re: [lwip-users] LPC1769 ethernet problem

2016-07-29 Thread Fotis Panagiotopoulos
Aha... HUB... I missed that point... I 'll search for one. *Fotis Panagiotopoulos* *--* *AMCO S.A.* 25 Amfiaraou st. PO 10442, Athens, Greece Tel: +30 210 5907000 ext. -34 <%2B30%20210%205907000%20ext.%20-36> | Fax: +30 210 5912711 e-mail: f.pa...@amco.gr | web: http://www.amco

Re: [lwip-users] LPC1769 ethernet problem

2016-07-29 Thread Fotis Panagiotopoulos
Lending?? No I am asking for the brand/model number of the one that you are successfully using, to search for a new or used one. As you can image buying lots of switches in the hope that randomly one of them will have this functionality, is not an good idea :) *Fotis Panagiotopoulos

Re: [lwip-users] LPC1769 ethernet problem

2016-07-28 Thread Fotis Panagiotopoulos
next. As I stated I see no traffic, so I cannot be sure where the communication breaks. Seems I need a debugging device. *Fotis Panagiotopoulos* *--* *AMCO S.A.* 25 Amfiaraou st. PO 10442, Athens, Greece Tel: +30 210 5907000 ext. -34 <%2B30%20210%205907000%20ext.%20-36> | Fax: +30 21

Re: [lwip-users] LPC1769 ethernet problem

2016-07-28 Thread Fotis Panagiotopoulos
problems start when I want to reach an external server. *Fotis Panagiotopoulos* *--* *AMCO S.A.* 25 Amfiaraou st. PO 10442, Athens, Greece Tel: +30 210 5907000 ext. -34 <%2B30%20210%205907000%20ext.%20-36> | Fax: +30 210 5912711 e-mail: f.pa...@amco.gr | web: http://www.amco.gr On Mon,

[lwip-users] LPC1769 ethernet problem

2016-07-25 Thread Fotis Panagiotopoulos
Hi, I am using LWIP 1.4.1 for a microcontroller project, based on the NXP LPC1769 MCU. I do not use an RTOS and thus I am using the raw API. I created the device drivers mostly based on the examples provided by NXP. While a try any connection to my LAN, everything works perfect. However each tim