Hi all,
I have a problem that I have seen lots or users straggling with, but
without any real solution.
I am trying to send data in a loop. I have triad closing NAGLE as
follows:
// this should shut down the NAGLE algorithm
pcb-flags |= TF_NODELAY | TF_ACK_NOW;
I am
.
-Original Message-
From: lwip-users-bounces+noam=silrd@nongnu.org
[mailto:lwip-users-bounces+noam=silrd@nongnu.org] On Behalf Of
goldsi...@gmx.de
Sent: א 27 מרץ 2011 15:22
To: Mailing list for lwIP users
Subject: Re: [lwip-users] enqueing problem
Noam weissman:
I have a problem that I
Hi Kieran,
I have a new/old problem.
I am running a simple TCP terminal server that works like a telnet server but
with no
Protocol. Actually a s simple TCP server. I use raw TCP terminal.
It works ok but as far as I was able to spot I have memory leaks inside the
LWIP stack.
My server
I have a new/old problem.
I am running a simple TCP terminal server that works like a telnet
server but with no Protocol. Actually a s simple TCP server. I use raw
TCP terminal.
It works ok but as far as I was able to spot I have memory leaks inside
the LWIP stack.
My server accepts a
Hi,
I have a new/old problem.
1.
I am running a simple TCP terminal server that works like a telnet
server but with no Protocol.
It works ok but as far as I was able to spot I have memory leaks inside
the LWIP stack. This was observed
when lots of data was sent to the server.
My
Hi,
Take a look there a newer version of LwIP … 1.41
You may need to port the sys_arch.c as it was changed
Beside that it should be compatible.
BR,
Noam.
From: lwip-users-bounces+noam=silrd@nongnu.org
[mailto:lwip-users-bounces+noam=silrd@nongnu.org] On Behalf Of
Hi,
I just loaded the FreeRTOS demo in LwIP mode and I do not like the way they did
it.
In general when you go to main you have:
#ifdef STACK_LWIP
/* Create the lwIP task. This uses the lwIP RTOS abstraction
layer.*/
vlwIPInit();
Hi,
Were you able to work with the LwIP ??
BR,
Noam.
-Original Message-
From: lwip-users-bounces+noam=silrd@nongnu.org
[mailto:lwip-users-bounces+noam=silrd@nongnu.org] On Behalf Of ajinkya
Sent: ה 04 אפריל 2013 13:23
To: lwip-users@nongnu.org
Subject: Re: [lwip-users] STR912
Hi,
I have attached a simple UDP server working in RAW mode.
This code is based on a discovery server I made.
The code was stripped from my own data code. I left all the functional code.
Take a look. I hope this will help you. Take into consideration that this code
will probably
not compile
Hi,
You should not add any members to anything inside the LwIP. Treat it as a close
black box with interface.
If you need any parameters this should be defined inside your own code. The
simplest will be defining your
own structure and when you get a new connection you assigne it to the
Hi,
The example code I sent you works in RAW mode.
That means you do not create any task or threads. Your functions are being
called
by the TCP stack.
Please check again your code. In function vBasicWEBServer you need to call a
function
that creates the UDP server and assigns your own call
Hi,
As far as I see in your code.
In line 240
udp_recv(my_pcb, udp_echo_recv, NULL);
change it to:
udp_recv(my_pcb, udp_echo_recv, my_pcb);
This is what I am doing in my code.
Hope that helped.
BR,
Noam.
-Original Message-
From: lwip-users-bounces+noam=silrd@nongnu.org
Hi,
Were you able to run the UDP eventually ?
I have just checked a project I have that uses TIM2 for FreeRTOS
The rest are not used by LwIP.
As far as I know LwIP does not uses any hardware timers in this application
Hope that helped.
Noam.
-Original Message-
From:
Hi,
Ethernet LED's blink because it is hardware related (PHY).
This sounds strange as we work we with timers all the time. Check your code and
see.
there something else that happens.
I can suggest commenting all the code and just leave the timer interrupt
function.
See if the TCP hangs. If
Hi,
Under UDP there should be a time out as there is no connection.
When you work with TCP it is normal to have some kind of timeout and that is
to avoid unused connections.
Noam.
-Original Message-
From: lwip-users-bounces+noam=silrd@nongnu.org
-users-bounces+bauerbach=arrayonline@nongnu.org] On Behalf Of
Noam weissman
Sent: Monday, April 22, 2013 9:05 AM
To: Mailing list for lwIP users
Subject: Re: [lwip-users] STR912 lwIP + Freertos demo
Hi,
Under UDP there should be a time out as there is no connection.
When you work with TCP
Hi,
I do not see all your code so it is a problem understanding.
Are you aware that when you create a TCP server you get one PCB (the listening
PCB) and a different
PCB for connection... they are different ?
In your init server you call the following:
pcb = tcp_new(); // this is local PCB
Hi,
Yes it make sense adding a time out mechanism in the poll call back.
You define a time out value/variable and update it in every poll call.
Every time you get some data or send some data reset that time out
counter. If you reach the time out value you close the connection.
BR,
Hi,
I have basic projects for IAR and Keil for the STM32F4x7 running on the
STM3240G-EVAL
The code uses static IP, one UART ... The code uses LwIP 1.41 and FreeRTOS 7.4
The code includes a few company modules that I cannot share.
Let me know what you need and I'll try and see what I can send
Hi,
I sent you directly two RAR files. I was not sure I can send 2M attachment here.
Let me know if you got it.
Noam.
-Original Message-
From: lwip-users-bounces+noam=silrd@nongnu.org
[mailto:lwip-users-bounces+noam=silrd@nongnu.org] On Behalf Of kerem
Sent: ה 30 מאי 2013
Hi,
I have used the latest LwIP 1.41 and the added SMTP basic code that you
can find in the 1.41 contribute package.
I did not try it with 1.32 but as far as I see it should be compatible.
First you need to have a working TCP stack than add the SMTP code.
Add ARP resolution options and enable
Hi,
Good luck and thanks for the work done so far.
BR,
Noam.
-Original Message-
From: lwip-users-bounces+noam=silrd@nongnu.org on behalf of Kieran Mansley
Sent: Fri 6/7/2013 9:27 PM
To: Mailing list for lwIP users
Subject: [lwip-users] Standing down as project leader
Hi lwIP
Hi Marty,
You are absolutely correct it is system dependent.
As you can see from my reply, I used a 7K bytes pool for LwiP.
16M byte is a super computer compared with what I do. I worked with ARM9 with
96K RAM :-)
With just 7K RAM dedicated to LwIP pool I was able to run a WEB server with
Hi,
It depends on what you do and what are the available resources (RAM/ROM).
LwIP is small but it has its limitations.
I am working with a system that has a WEB server, UDP and TCP connections and
bridging to UART
all is running at real time.
If you do not need exceptional throughput its
Hi,
I.41 is more or less the same as 1.32 The main difference is the sys_arch.c
file.
This file has been changed.
Try and find someone that already ported this file to your processor.
BR,
Noam.
From: lwip-users-bounces+noam=silrd@nongnu.org
Hi,
I am working with LwIP for more than two years now. I am only working in RAW
mode.
As far as I see people that work in embedded use either RAW or netconn. BSD
simply takes
more resources.
What STM32 do you intend to use ?
BR,
Noam.
-Original Message-
From:
Hi,
First of all its RAW and not ROW :-)
The simplest will be to download STM32F example code for their
evaluation board.
you will have a full example including a basic HTTP server.
Download also the contribution package for LwIP. It has lots of examples.
Actually the RAW mode is easy to use
Hi,
Try these links:
http://www.st.com/web/en/catalog/tools/FM116/SC959/SS1532/PF250374
Download the code here:
http://www.st.com/web/en/catalog/tools/PF257879#
also Its best to take the latest FreeRTOS from their site:
www.freertos.org
Hope that helps. Feel free to ask if you need
Hi Ivan,
The RN171 can be used in raw mode via fast UART as a network interface.
BR,
Noam.
-Original Message-
From: lwip-users-bounces+noam=silrd@nongnu.org
[mailto:lwip-users-bounces+noam=silrd@nongnu.org] On Behalf Of Ivan
Delamer
Sent: Tuesday, December 10, 2013 7:14 PM
To:
Hi Dave,
Attached please find the low level driver I used. This is a bit modified
driver
based on inputs I found over the net.
Try to use it and see if it is better for you.
BR,
Noam.
-Original Message-
From: lwip-users-bounces+noam=silrd@nongnu.org
Hi,
Either you made a typo or you do things in the wrong order.
You wrote “Join multicast group, create and bind pcb;”
You cannot join an IGMP group before you have a network live and connected.
That means
you first need to bind…
This is the code I use. I omitted private
Hi,
First of all DP83484 has a few versions. I worked with the DP83484M and
DP83484C. I also worked with Marvel
Switch 88E6071
I found that all standard IEEE compliant PHY's have 32 registers and the
general purpose code supplied by ST
should work with all of them. However when I triad
Hi,
I found a different patch for ethernetif_input function
void ethernetif_input( void * pvParameters )
{
struct pbuf *p;
for( ;; )
{
if(xSemaphoreTake(Ethernet_xSemaphore,
emacBLOCK_TIME_WAITING_FOR_INPUT) == pdTRUE)
{
TRY_GET_NEXT_FRAGMENT:
p = low_level_input(
Hi,
Ethernetif or similar is just the low level driver connecting LwIP with
your ETH or hardware.
As for writing data you have tcp_write function or similar.
You need to read LwIP documentation and get to understand it. LwIP can
work in 3 different operation mode.
You can work with
Hi,
Some hints...
If you work with FreeRTOS normally the LwIP stack uses its own heap.
Define a heap for OS at around 40-50K and memory and LwIP at around 10-12K
you should not have any problems.
One important thing. The OS uses an interrupt. The porting for LwIP made by ST
uses
semaphores.
Hi,
You should take an example and first run something that works.
First of all you must check your lwipopts.h file. This is per project.
Check if #define TCP_LISTEN_BACKLOG is set to 1 or not
Check if #define NO_SYS is set to 1 or not
Check if #define MEM_SIZE ???
Check
Hi,
I am working on HTTP server code that needs login.
I wonder if there is a way to add a polling call back function to the
server own PCB ?
I triad to add a polling call back to the server own PCB but it is not
called. It is probably not called
as polling is intended to do client
Hi TT,
You have a working WEB server in the LwIP contribution core.
No need to reinvent things.
It is not perfect but it is a good base to work with.
BR,
Noam.
-Original Message-
From: lwip-users-bounces+noam=silrd@nongnu.org
[mailto:lwip-users-bounces+noam=silrd@nongnu.org]
Hi,
The web server I mentioned is an LwIP module running in RAW mode. It is
not related
to the fact that you use an OS or not. It should work with either.
It is not the WEB server module that runs with or without and OS it is
the TCP stack itself
that is running with or without an OS
See this:
Hi,
When you put ZERO in the lat argument of tcp_write that means that the buffer
you use
to send the data from should be static.
Putting ZERO as the last parameter means data is from volatile memory, normally
from
FLASH or a static buffer. The reason is that the TCP stack will not copy the
Hi,
As a continuation to my last mail. I wrote volatile memory but I meant none
volatile
memory, sorry for that error !
BR,
Noam.
-Original Message-
From: lwip-users-bounces+noam=silrd@nongnu.org on behalf of Noam weissman
Sent: Mon 8/18/2014 11:21 PM
To: Mailing list for lwIP
.
Dominik
2014-08-18 22:23 GMT+02:00 Noam weissman n...@silrd.com:
Hi,
As a continuation to my last mail. I wrote volatile memory but I meant none
volatile
memory, sorry for that error !
BR,
Noam.
-Original Message-
From: lwip-users-bounces+noam=silrd@nongnu.org on behalf of Noam
Hi,
ST micro has an example on how to use it. Check their latest examples for
STM32F4
Hope that helped,
Noam.
-Original Message-
From: lwip-users-bounces+noam=silrd@nongnu.org on behalf of Sergio R.
Caprile
Sent: Fri 8/29/2014 9:02 PM
To: lwip-users@nongnu.org
Subject: Re:
Hi,
You must check interrupt priorities and your FreeRTOSConfig definition
file
Here is my interrupt settings from the FreeRTOSConfig .h file:
/* Cortex-M specific
] On Behalf Of Simon
Goldschmidt
Sent: Tuesday, September 02, 2014 6:07 PM
To: Mailing list for lwIP users
Subject: Re: [lwip-users] Current Time and date
Noam weissman wrote:
I can send you a preliminary NTP client.
You do know that there is an SNTP client available in contrib, do you?
Simon
after some data transferred
Thanks Noam. I have interrupt priorities set exactly as you have written.
The problem must be somewhere else.
Best regards,
Grzegorz Niemirowski
Noam weissman n...@silrd.com napisal(a):
Hi,
You must check interrupt priorities and your FreeRTOSConfig definition
Hi,
In TCP there should not be such an issue. Packets will be received in
the order they were sent.
TCP is a stream.
BR,
Noam.
-Original Message-
From: lwip-users-bounces+noam=silrd@nongnu.org
[mailto:lwip-users-bounces+noam=silrd@nongnu.org] On Behalf Of
Richner Simon
Sent:
-
From: lwip-users-bounces+zradouch=irobot@nongnu.org [mailto:lwip-
users-bounces+zradouch=irobot@nongnu.org] On Behalf Of Noam
weissman
Sent: Tuesday, September 09, 2014 11:49 AM
To: Mailing list for lwIP users
Subject: Re: [lwip-users] packet order with tcp_recv
Hi,
In TCP
Hi,
As a continuation to the reply written by -uwe if it is not clear let me
elaborate.
You have a few callback function that can be used in a connection
based server using RAW mode.
You have the tcp_sent, tcp_poll and the tcp_err callback's
You use these as follows:
tcp_sent is called
Hi,
Normally closing a connection involves freeing memory or some
other tasks as well.
LwIP has a clean way to do this. Every connection has a poll
callback option. If you assign a function to the connection (tcp_pool)
it will be called every poll interval.
If you set poll interval to two it
Hi,
You may need to change lwipopts.h file.
Create more PBUF, more PCB's reduce the MSS size etc...
This way it will be more optimized for smaller chunks of data.
Also you may check the TCP window and buffer size before trying to send
some data out. You need a way to control how you use the
Hi Lee,
LwIP has 3 flavers, meaning you can use it in 3 different modes:
1. RAW mode
2. NetCon
3. BSD
I have only experience with RAW mode, were you use the callbacks J
BSD is similar to any other system like Linux etc..
NetCon is a socket based API but different
Hi Lee,
Do you use FreeRTOS or any other OS or no OS ?
Working with LwIP in RAW mode is a bit tricky. You have just one thread
that run everything.
This is not so obvious at first. Let me explain:
If you have a packet received in your receive call back and you try to
send something back it
Hi Lee,
You are talking on a client application. That's a bit different.
Yes you are correct you do not need to use recvd but you must use the
tcp_sent callback to be able to know when to send more.
You can also check the amount of RAM left in the sent queue so you can
send and send until you
Hi Lee,
In one of my previous mails I wrote that you can use the tcp_sent call-bak.
If you are able to send one packet simply take you code that creates the reply
and put it in your own function.
Call this function either from the recv call back or from the tcp_sent call-back
For every packet
Hi Paul, Lee,
Calling tcp_output after tcp_write will notify the TCP stack to send the
data immediately but if
You do not exit the call-back function it will not be sent.
Noam.
-Original Message-
From: lwip-users-bounces+noam=silrd@nongnu.org
Hi,
In application I have written we run multiple servers without any problems.
On a home automation controller I run:
HTTP server
TCP (telnet) server
UDP (terminal)server
6 UDP or TCP bridges (UART - TCP)
All running together.
Your are doing something wrong. It should work.
BR,
Noam.
Hi,
You mean one user, not one connection. HTTP creates multiple connections
to load a page.
I have implemented this by adding a session ID. That means that you need
to change the web server
to support that.
In general you create a login page and after successful login you return
a session ID
Hi,
I am using FreeRTOS running under STM32F427
Yep 1.41
I am not freeing any sent PBUF's its a TCP connection. It should be freed by
the TCP
stack itself ??
Any new PBUF inside the recv call back is freed after processing
I do free any PCB's of PBUF's if connection fails or closes
Thanks
Hi,
Yes I should not but it happens :-(
I am working with LwIP for more then 4 years now. I created several modules
but the memory leak issue seems to lark there...
Previously I head instability problems till I found a better example from ST
on how to define IRQ levels together with LwIP +
Hi,
I am facing a strange problem.
I am using LwIP with a TCP server (like telnet). All seems ok, but ...
After some time that I am sending request to the server and getting
replies I get the following:
tcp_receive: valid queue length
After some more send and receive I am
Hi,
I have checked my code and I made some changes to it. I am sure that I
am freeing
all the buffers I am getting in recv but still I am getting the folloing
message:
tcp_receive: valid queue length
tcp_write: pbufs on queue = at least one queue non-empty
Also I am getting into an endless
Hi,
PROBLEM SOLVED :-)
As mentioned earlier by Sergio we should not call LwIP code from within
other threads.
I must call tcp_write and other functions from a separate thread. This
is the implementation.
My TCP stack has the highest task priority in the system. As a result
calling tcp_write
Hi,
I briefly checked your lwipopts.h file
I am using a fraction of the RAM that you use and I find it strange that
you defined so little PCB's ?
I am using LwIP 1.41 with STM + FreeRTOS, I need to send small chunks of
data so I set MSS size to 536 that
is LwIP default. In your case you use
Hi,
First of all they do not need to type port number as default is 80 for
HTTP, unless you use
a private port at your WEB server.
As for discovery it depends what you want to achieve. If it is only and
always local network
you can run a simple UDP server that listens on a specific port for a
Dear Sylvain,
All my modules are RAW API including the WEB server.
Using critical section in pin point location is not wrong. Any other
implementation will
Have to use a more complicated queuing mechanism.
Complicated, maybe. Slower, maybe but not stupid, sorry :-)
BR,
Noam.
-Original
Hi,
I am not familiar with atxmega128a3u so I hope my input here will help and not
confuse you.
I never had problems with UARTS but I did have problems with LwIP when
interrupts priorities were
not defined properly versus the FreeRTOS interrupt.
1.
Check that your interrupts are
Hi,
The code I placed was just an example.
In any case the RTOS timer interrupt should run at a higher
priority then ETH. The reason is that if you have critical
section in your code they will not be homered.
Just my two cents input...
BR,
Noam.
-Original Message-
From:
anywhere about minimal
requirements and after seeing project called lwip-avr (or something like that)
i thought that it should run on xmega - right now i think that's what's wrong
with my application.
raw lwip without os should work on my chip ?
2015-07-28 18:27 GMT+02:00 Noam weissman [via
-users] Questions about how to get a robust lwIP TCP Raw API
server application.
There is an OS, but LWIP (and the associated application) runs as an
independent task (NO_SYS=1).
Cheers
DP.
On Wed, Nov 4, 2015 at 5:47 PM, Noam Weissman
<n...@silrd.com<mailto:n...@silrd.com>> wrote:
Hi,
inputs and internal states and calls
tcp_write if needed. The receive callback simply updates the state (or stores
data) for my_own_poll to check and do its job.
Cheers
DP
On Wed, Nov 4, 2015 at 12:40 PM, Noam Weissman
<n...@silrd.com<mailto:n...@silrd.com>> wrote:
Hi DP,
If you
OK :-)
-Original Message-
From: lwip-users-bounces+noam=silrd@nongnu.org
[mailto:lwip-users-bounces+noam=silrd@nongnu.org] On Behalf Of Sergio R.
Caprile
Sent: Wednesday, November 04, 2015 5:31 PM
To: lwip-users@nongnu.org
Subject: Re: [lwip-users] Questions about how to get a
Hi DP,
If you mean calling a function and handling data out of the callback itself but
from the same context
It is OK
I mean for example:
err_t foo(void *arg, struct tcp_pcb *pcb)
{
Return tcp_write(pcb, [DataSent], SendData, TCP_WRITE_FLAG_COPY);
}
err_t tcp_recv(void *arg, struct
Hi Karl,
In general you should not call any call back function out of the TCP context.
One way is raise a flag externally and in the poll call back check this flag.
If it is set
call the tcp_close … inside the poll call back
BR,
Noam.
From: lwip-users-bounces+noam=silrd@nongnu.org
On Tue, Jun 7, 2016 at 6:09 PM, Noam Weissman
<n...@silrd.com<mailto:n...@silrd.com>> wrote:
Dear,
I am sorry if I was not clear but you should not do what you did. No need to
copy the data and process it
In the poll function.
I meant that if you get a request (like in HTTP)
Hi,
Why are you calling malloc inside the thread ? if you allocate a buffer once,
there is no need to use malloc
define it as an array.
malloc allocates memory from the micro's heap, not from the FreeRTOS heap.
Check that you heap has sufficient memory. Normally in an average STM example
the
les out there where connections are persistent and messages
can come at any given time ?
Mihai
On Fri, Jun 3, 2016 at 10:21 AM, Noam Weissman
<n...@silrd.com<mailto:n...@silrd.com>> wrote:
In order to use RAW API efficiently you can use the poll call back to send more
data. What do
er conto
di Noam Weissman
Inviato: venerdì 3 giugno 2016 09:04
A: Mailing list for lwIP users <lwip-users@nongnu.org>
Oggetto: Re: [lwip-users] R: R: R: ping slow down
Hi Rastislav,
We talked about it before but let me summarize it once more.
Interrupt are triggered as they
Hi,
I never used netconn so I just thinking out loud you use the same conn for
listening
and to connect ?... can you it ?
here is an example that may help.
BR,
Noam.
From: lwip-users on behalf of
Danil
Hi,
LwIP RAW API is simple once you understand it.
You do not create separate threads, all the connections are handled in one
thread !
The way to have multiple connections is to add a user ARG value. Every
connection has
its own PCB. Meaning for every connection the TCP stack will
fewer RTOS task levels -- maybe 5
or 7 at most. (That is set with configMAX_PRIORITIES.)
There's an art to interrupts and priorities, which makes it a little hard to
describe in an E-mail. So please ask if you have more questions.
Good luck!
-- G
From: lwip-users [mailto:lwip-users-bounces+gsmi
Hi,
I started my experience with LwIP 1.32 running on an ARM9 with 96Kbyte RAM. For
LwIP we had 7K if I remember correctly. This was running a WEB server, 3 TCP <>
RS232 bridges, TCP terminal server, UDP terminal server... all that with 7-8
Kbyte and RAW API.
And all that while using
Hi Rastislav,
Check the following link if they have some info that may help you.
http://www.freertos.org/Infineon-ARM-Cortex-M4-XMC4000-RTOS.html
http://www.freertos.org/FreeRTOS-for-Infineon-XMC4000-Cortex-M4.html
BR,
Noam.
From: lwip-users
Hi,
Questions:
1. What mode are you using: RAW API, Netconn or Socket ?
2. Is the web server something you wrote or some code from the
contribution ?
You can either use STM32 has own IWDG hardware or create some task that
monitors activity.
BR,
Noam.
From: lwip-users
functunallity later for settings. But now I want
to be sure about how it functions with web server together. For now web server
functions well even after http client stops.
Thank you
On Thursday, June 16, 2016 2:17 PM, Noam Weissman
<n...@silrd.com<mailto:n...@silrd.com>> wrote:
Hi,
Hi,
LwIP and FreeRTOS are popular because they are open source and free.
If you understand how an OS works and have background in TCP/IP you should
not have a problem learning other TCP stack’s and/or other OS.
Finding a job is not only finding to work with something you are familiar with
but
N.
Vancouver, Canada area where I live in has a few opportunities for doing that.
There are more opportunities for only software side like Linux Kernel, so as
for electrical/electronics guy like me it is hard to get into that side.
Again, I really appreciate your suggestions.
Regards,
Jin
On
Hi,
You need to call pbuf_free(pcb) after you finish processing the data.
Also you need to call tcp_recived after you handled the data. You call it NOT
with the pcb that you get inside the recv call back but rather your SERVER pcb.
The one created after calling listen.
I am not at my
Hi,
As far as I understand (maybe not) DHCP is not related to netif. DHCP is a
protocol you choose to use or not to use.
You need to control it from your own software. Meaning you decide if you want
to assign a static IP or get one via DHCP
Maybe I did not understand your question ?
BR,
at 14:34 +, Noam Weissman wrote:
> Just a small addition. You can change net_if.hwaddr[] on the fly for
> testing etc but I think it is better t reboot after that.
You can change MAC address on your PC, so I'm wondering whether this is
possible and easy with lwIP. "Easy&quo
-users-bounces+noam=silrd@nongnu.org
[mailto:lwip-users-bounces+noam=silrd@nongnu.org] On Behalf Of Freddie
Chopin
Sent: Thursday, April 07, 2016 6:52 PM
To: lwip-users@nongnu.org
Subject: Re: [lwip-users] Changing MAC address of network interface?
On czw, 2016-04-07 at 14:51 +, Noam
derstanding I cannot. Can anyone help with this ?
BR,
Noam.
Best Regards,
Noam Weissman
Software Engineer.
[cid:image005.jpg@01D19340.897DFB60]
[cid:image006.jpg@01D19340.897DFB60]
Contact information:
Office: 972-4-9954915
Fax: 972-4-9550115
Mobile: 972-52-5786135
Email: n...@silrd.com
Web: www.s
, Noam Weissman wrote:
> Hi,
>
>
>
> I am working with LwIP for somewhat 5 years now. I always used it in
> RAW mode.
>
> Now I need to start using SSL/TLS and all the code I can find uses BSD
> Socket's.
>
>
>
> I am working with STM32F4xx/2xx
>
Hi Andrea,
Can you send me your code to see, or at the minimum send me your
FreeRTOSConfig.h + lwipopts.h
I have never worked with the auto created cube code. I work with my own
settings, the old school :-)
It can either be problems with driver code, config file settings or wrong usage
of
Hi,
I have never run LwIP over SPI or RS232 but that does not mean it will not work.
LwIP needs a way to send and receive data, hens the driver.
MAC address is set in software when you initialize netif interface
Modern SPI interfaces can run at 30Mbs
As LwIP running on a small micro is not
Simon,
Sorry to jump in. I think what you wrote needs some clarification to those that
do not understand it in full.
In a normal Ethernet connection we have the ETH connector from one side and the
micro or TCP stack on the other side.
>From the ETH connector it is connected to a transformer,
Hi,
Why do you need so much RAM for MEM_SIZE ?
I think it is not a problem of RAM it is something in you code that does not
handle properly the data. You are maybe not freeing buffers properly ?
Do you use LwIP in RAW mode or in Socket mode ?
BR,
Noam.
From:
Hi,
I never worked with netcon. Almost all the modules I have written are in RAW
mode.
Just now I made the first module with Sockets.
I suggest running something much simpler like the echo server to start with.
Can you ping to the board ?... If you can try running ping -t and see if it
Hi,
For some reason we cannot add attachment files. So simply
write to me directly and I will send you my sys_srch files
write to n...@silrd.com
BR,
Noam.
-Original Message-
From: lwip-users [mailto:lwip-users-bounces+noam=silrd@nongnu.org] On
Behalf Of Sergio R. Caprile
Sent:
Hi,
I do not know who answered you but there should be no problems streaming data
with RAW API.
RAW API is faster but trickier to handle. If you know what you are doing take a
working module
and use it. If you do not have experience in TCP IP you may start with Socket
API as it is safer
1 - 100 of 266 matches
Mail list logo