Ethernet on RTOS

pradnya123 wrote on Monday, July 24, 2017:

I have implemented Ethernet code using RTOS on local LAN . it works fine.
Ethernet without RTOS with external world work fine.
But when i try to interface Ethernet on RTOS for communication with external world using Free RTOS and HAL libraries. code in stuck in ethernetif_input function.
p = low_level_input( netif ); here p is aalways NULL. Can any one tell me reason .

heinbali01 wrote on Monday, July 24, 2017:

Hi Pradnya, it sounds like you are using FreeRTOS in combination with lwIP. FreeRTOS now has its own TCP/IP stack and we stopped giving active support for lwIP.
You can find our TCP/IP stack here

pradnya123 wrote on Tuesday, July 25, 2017:

Can i get sample code for FreeRTOS using its own TCP/IP stack.

pradnya123 wrote on Tuesday, July 25, 2017:

What is the version of Cube MX used for FreeRTOS using its own TCP/IP stack.

heinbali01 wrote on Tuesday, July 25, 2017:

I assume that you’ve found example projects freertos.org/tcp ?

You will find the latest STM32F4/F7 drivers here

This thread might be interesting to read.

The +TCP drivers often have their own HAL driver, which is bases on the official driver provided by the chip factory.

In case of STM32F4, you will find a stm32f4xx_hal_eth.c which is based on the following version:

  * @version V1.3.2
  * @date    26-June-2015

But I don’t see problems if you mix it with HAL-modules that are newer.

Regards.

pradnya123 wrote on Wednesday, July 26, 2017:

i Tried the example but it is on STM32F4 . Im using STM32F2 .I tried to use Files from example code but Project is not getting build to some reason.
what changes need to be done to migrate the code.