Skip to main content
Rushit
Associate II
June 6, 2023
Question

STM32F767ZI LWIP FreeRTOS

  • June 6, 2023
  • 4 replies
  • 2795 views

Hello,

I am use Nucleo-F767ZI Board for TCP/IP Protocol in FreeRTOS. I try to ping my board but it not response.

I Try TCP/IP without FreeRTOS it work well.

What is difference between without RTOS & With RTOS ?

If any Program for Nucleo-F767ZI please share

Than you

This topic has been closed for replies.

4 replies

ST Technical Moderator
June 6, 2023

Hello @Rushit Dave​ and welcome to the Community :)

Did you try LwIP_HTTP_Server_Netconn_RTOS example within Nucleo-F767ZI ?

What version of FreeRTOS you are using?

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
Rushit
RushitAuthor
Associate II
June 6, 2023

Hello @Imen DAHMEN

I use CMSIS_V2.

Thank you

Piranha
Principal III
June 8, 2023

CMSIS-RTOS is not FreeRTOS...

> What is difference between without RTOS & With RTOS ?

If you have such a question, you don't have skills of software development with RTOS. It's not something that can be just enabled - you have to understand how multi-threading works. If you don't, everything you make will be full of race conditions, lack of locking and synchronization and otherwise broken like it is in a code developed by the HAL/Cube incompetent "geniuses".

https://community.st.com/s/question/0D50X0000BOtfhnSQB/how-to-make-ethernet-and-lwip-working-on-stm32

Pavel A.
June 8, 2023

> What is difference between without RTOS & With RTOS ?

Before the notorious "ETH driver rework", the ETH driver has two sets of TX/RX API: using interrupts (functions ending with _IT) and polling (without _IT).

The ST LwIP examples with FreeRTOS used the interrupt variant.

Examples without FreeRTOS used the polling variant.

After the rework the cheese moved around, the polling variant IIRC become deprecated .... and LwIP has other general RTOS adjustments mentioned by @Piranha.

For any real project you'd prefer the interrupt variant anyway (and it can be used even if you don't want a RTOS and to enable the ETH interrupt).