cancel
Showing results for 
Search instead for 
Did you mean: 

Lwip is not working in CMSIS_V2

spate.2
Associate III

I am using stm32f756zg. In which i configure LWIP with FREERTOS cmsisv2. I am getting hard faults when ping devices from other devices.

It works fine when I change FREERTOS cmsis v1 and increase the default task stake.

9 REPLIES 9
Imen.D
ST Employee

Hello @spate.2​ and welcome to the Community 🙂

Please have a look at this article: How to create project for STM32H7 with Ethernet and LwIP stack working.

I advise you to check this post: how-to-make-ethernet-and-lwip-working-on-stm32

Hope this help you.

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
spate.2
Associate III

@Imen DAHMEN​ 

I go through the first article which you suggested and found that that article uses FREERTOS CMSIS V1. But I want to make it work with FREERTOS CMSIS V2.

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

Please provide more details on your case in order to be able to help you.

Can you please share the steps and scenario that you follow, and which tools are used (CubeMx, IDE)?

Make sure to use the latest version of tools and software.

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
spate.2
Associate III

I am using STM32CUBEIDE 1.12.0.

Scenario: I want to create a TCP server with FREERTOS CMSISV2.

Steps that i follow,

Step 1: configure ethernet.


_legacyfs_online_stmicro_images_0693W00000biUtgQAE.pngStep 2: freertos configuration


_legacyfs_online_stmicro_images_0693W00000biUu5QAE.png
_legacyfs_online_stmicro_images_0693W00000biUuAQAU.png
_legacyfs_online_stmicro_images_0693W00000biUqEQAU.pngStep 3: LWIP configuration.


_legacyfs_online_stmicro_images_0693W00000biUuFQAU.png
_legacyfs_online_stmicro_images_0693W00000biUuPQAU.png
_legacyfs_online_stmicro_images_0693W00000biUuZQAU.png
_legacyfs_online_stmicro_images_0693W00000biUujQAE.png 

Step 4:coretex m7 configuration.


_legacyfs_online_stmicro_images_0693W00000biUv8QAE.png 

Imen.D
ST Employee

Please make sure to use latest version of STM32CubeMX v6.8 and x-cube-freertos v1.0.1, as it may be due to the known issue with previous version of x-cube-freertos pack which is already fixed on the latest version.

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
spate.2
Associate III

@Imen DAHMEN​ 

Thanks for your response.

I would able to find a version of STM32CubeMX which is V6.8. But I would not able to find a version of x-cube-freertos. Can you please help me to find it?

spate.2
Associate III

@Imen DAHMEN​ 

I am using the following version of freeRtos.


_legacyfs_online_stmicro_images_0693W00000biYheQAE.png

Imen.D
ST Employee

You can check the pack version in the "Software Packs"


_legacyfs_online_stmicro_images_0693W00000bigSSQAY.png 


_legacyfs_online_stmicro_images_0693W00000bigUJQAY.png

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
spate.2
Associate III

Thanks @Imen DAHMEN​ ,

I checked x-cube-freertos version which is v1.0.1.Although it is not working.