Re: [lwip-users] Binary file upload chrashes the program (lwip 1.4.1)

2018-11-30 Thread goldsi...@gmx.de
Am 30.11.2018 um 15:03 schrieb Pal Gabor: I'm working on a webserver with firmware update, and I use lwip 1.4.0 with atmel SAME54 , I have your problem too 1.4.0 is *really* old! There have been many bugs fixed since then! when I try to upload binary file. My problem was solved, when I overwrit

Re: [lwip-users] Binary file upload chrashes the program (lwip 1.4.1)

2018-11-30 Thread Pal Gabor
I'm working on a webserver with firmware update, and I use lwip 1.4.0 with atmel SAME54 , I have your problem too when I try to upload binary file. My problem was solved, when I overwrite the TCP window parameter from 4 to 1. ... // The size of a TCP window<0-10> // / multiple of TCP_MSS // /

Re: [lwip-users] Binary file upload chrashes the program (lwip 1.4.1)

2017-02-23 Thread goldsi...@gmx.de
Coming back to the 2nd mail of this thread: Vass Szabolcs: The problem is that my project is very large and complex so I wouldn't like to exchange my lwip libraries. So here's a problem in lwIP (or the handling of lwIP rather) and you don't want to use a fixed version... In my project I ne

Re: [lwip-users] Binary file upload chrashes the program (lwip 1.4.1)

2017-02-23 Thread Noam Weissman
lwIP users Subject: Re: [lwip-users] Binary file upload chrashes the program (lwip 1.4.1) Hi Mr. Weissman, Thank You for Your advice. If I understood good, I have to set the ethernet interrupt priority to the highest, and when I use the tcp_write(), or tcp_recved() have to mask all other

Re: [lwip-users] Binary file upload chrashes the program (lwip 1.4.1)

2017-02-23 Thread Vass Szabolcs
*treat (handle) the critical section 2017.02.23. 10:14 keltezéssel, Vass Szabolcs írta: Hi Mr. Weissman, Thank You for Your advice. If I understood good, I have to set the ethernet interrupt priority to the highest, and when I use the tcp_write(), or tcp_recved() have to mask all other inter

Re: [lwip-users] Binary file upload chrashes the program (lwip 1.4.1)

2017-02-23 Thread Vass Szabolcs
Hi Mr. Weissman, Thank You for Your advice. If I understood good, I have to set the ethernet interrupt priority to the highest, and when I use the tcp_write(), or tcp_recved() have to mask all other interrupts? So these are same with mutexes or semaphores under an operating system? And if I

Re: [lwip-users] Binary file upload chrashes the program (lwip 1.4.1)

2017-02-14 Thread Noam Weissman
p_pcb); > > pTcpUdpConData->tcp_pcb = NULL; >} > } > > > BR, > Noam. > > -Original Message- > From: lwip-users [mailto:lwip-users-bounces+noam=silrd....@nongnu.org] > On Behalf Of Noam Weissman > Sent: Monday, February 13, 2017 10

Re: [lwip-users] Binary file upload chrashes the program (lwip 1.4.1)

2017-02-13 Thread Vass Szabolcs
nongnu.org] On Behalf Of Noam Weissman Sent: Monday, February 13, 2017 10:28 AM To: Mailing list for lwIP users Subject: Re: [lwip-users] Binary file upload chrashes the program (lwip 1.4.1) Hi Szabolcs, Sure I am ok :-), we are all developers here. RAW API is very tricky. If you only use RAW API

Re: [lwip-users] Binary file upload chrashes the program (lwip 1.4.1)

2017-02-13 Thread Noam Weissman
m. -Original Message- From: lwip-users [mailto:lwip-users-bounces+noam=silrd@nongnu.org] On Behalf Of Noam Weissman Sent: Monday, February 13, 2017 10:28 AM To: Mailing list for lwIP users Subject: Re: [lwip-users] Binary file upload chrashes the program (lwip 1.4.1) Hi Szabolcs, Sure I am o

Re: [lwip-users] Binary file upload chrashes the program (lwip 1.4.1)

2017-02-13 Thread Noam Weissman
rd@nongnu.org] On Behalf Of Vass Szabolcs Sent: Monday, February 13, 2017 9:51 AM To: Mailing list for lwIP users Subject: Re: [lwip-users] Binary file upload chrashes the program (lwip 1.4.1) Hello, @Mr. Nielsen: I don't remember which version of Cube Mx was used when I gene

Re: [lwip-users] Binary file upload chrashes the program (lwip 1.4.1)

2017-02-12 Thread Vass Szabolcs
M To: Mailing list for lwIP users Subject: Re: [lwip-users] Binary file upload chrashes the program (lwip 1.4.1) Thank You for Your response. So I'm using the lwip 1.4.1 stack. To configure my controller I used the CubeMx from ST. The Cube Mx generated this library to my project (in 2016).

Re: [lwip-users] Binary file upload chrashes the program (lwip 1.4.1)

2017-02-12 Thread Noam Weissman
: [lwip-users] Binary file upload chrashes the program (lwip 1.4.1) Thank You for Your response. So I'm using the lwip 1.4.1 stack. To configure my controller I used the CubeMx from ST. The Cube Mx generated this library to my project (in 2016). I read that the ST is working on next upgrade of

Re: [lwip-users] Binary file upload chrashes the program (lwip 1.4.1)

2017-02-10 Thread Sergio R. Caprile
What your vendor offers belongs to your vendor, you should ask them for support. lwIP has several APIs, most of us can only help at the API level; although if you are lucky you'll find a fellow advocate who can guide you through your vendor nightmare. I still think your vendor's forums are a be

Re: [lwip-users] Binary file upload chrashes the program (lwip 1.4.1)

2017-02-10 Thread Jens Nielsen
Hi Which version of CubeMx? And are you using their ethernetif.c or did you get it somewhere else? I don't remember when it was fixed but old versions had the exact problem Sergio mentioned. Search for anything related to ST from a couple of years ago and you'll definitely find it BR /Jens

Re: [lwip-users] Binary file upload chrashes the program (lwip 1.4.1)

2017-02-10 Thread Vass Szabolcs
Thank You for Your response. So I'm using the lwip 1.4.1 stack. To configure my controller I used the CubeMx from ST. The Cube Mx generated this library to my project (in 2016). I read that the ST is working on next upgrade of Cube Mx that will contain the lwip 2.0. The problem is that my pr

Re: [lwip-users] Binary file upload chrashes the program (lwip 1.4.1)

2017-02-10 Thread Sergio R. Caprile
The crashes are your responsibility. Or your vendor's... If you clearly indicate which API are you using and how you use the stack, someone here might guide you. The dup acks are indicating your lwIP is not seeing some expected frames. This is usually a driver fault. Most common culprit is that

[lwip-users] Binary file upload chrashes the program (lwip 1.4.1)

2017-02-09 Thread Vass Szabolcs
Hello, I'm working on a webserver application, and I use the lwip 1.4.1 tcp/ip stack. I'm working on STM32F407 device. I implemented the binary file upload, but sometimes when I try to upload the files, get TCP retransmission and TCP Dup Ack error on network capture. Sometimes the file upload