LWIP + FreeRtos + STM32 + Optimization Problem

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

LWIP + FreeRtos + STM32 + Optimization Problem

bengofetechnik
Hello,

im running the LWIP Stack on Freertos on a STM32. Evertyhing runs fine until
the optimization -o1

when turning on -o2 and higher some problems occur. At First a mailbox error
is detected with the message type "75" (0x4b) . After that only Arp packages
(0x608 , 1544) are incoming and detected, no ipv4 packets.

So i cant use any ipv4 Features. Is this a known bug?

Using Version 2.0.3
/** X.x.x: Major version of the stack */
#define LWIP_VERSION_MAJOR      2
/** x.X.x: Minor version of the stack */
#define LWIP_VERSION_MINOR      0
/** x.x.X: Revision of the stack */
#define LWIP_VERSION_REVISION   3



--
Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html

_______________________________________________
lwip-users mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/lwip-users
Reply | Threaded
Open this post in threaded view
|

Re: LWIP + FreeRtos + STM32 + Optimization Problem

Dave Nadler
You haven't said which STM32.
Different series have differing Ethernet drivers, many very buggy.
Have you reviewed: https://community.st.com/s/question/0D50X0000BOtfhnSQB/how-to-make-ethernet-and-lwip-working-on-stm32
Hope that helps!

On 2/18/2020 2:21 PM, bengofetechnik wrote:
Hello,

im running the LWIP Stack on Freertos on a STM32. Evertyhing runs fine until
the optimization -o1

when turning on -o2 and higher some problems occur. At First a mailbox error
is detected with the message type "75" (0x4b) . After that only Arp packages
(0x608 , 1544) are incoming and detected, no ipv4 packets. 

So i cant use any ipv4 Features. Is this a known bug? 

Using Version 2.0.3 
/** X.x.x: Major version of the stack */
#define LWIP_VERSION_MAJOR      2
/** x.X.x: Minor version of the stack */
#define LWIP_VERSION_MINOR      0
/** x.x.X: Revision of the stack */
#define LWIP_VERSION_REVISION   3 

--
Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html
_______________________________________________
lwip-users mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/lwip-users


-- 
Dave Nadler, USA East Coast voice (978) 263-0097, [hidden email], Skype 
 Dave.Nadler1

_______________________________________________
lwip-users mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/lwip-users