2022-11-08 05:58 AM
i use STM32F107+LWIP(2.0.3)+freeRTOS
I wrote the program with the help of the following document :
After connecting the computer with the micro a few times, the information is correctly received by the micro.
But I don't send a reply to the computer. The tcp_server_recv callback function only turns one LED on and off for one second.
After sending information a few times, it stops receiving and I don't have ping anymore.
What advice can you give?
Solved! Go to Solution.
2024-03-21 06:48 AM
2024-03-21 07:53 PM
@HKabi.1 Are you able to ping STM107 when FreeRTOS + LWIP is used? If yes, could you please check my code attached? I am not able to ping the STM107 when I am using FreeRTOS and LWIP, but I can ping it when I use LWIP alone without FreeRTOS
2024-03-22 06:06 AM
Thanks for your reply. However, I already had this setting in FreeRTOS (Enable USE_NEWLIB_REENTRANT) and it was not the solution. A representative from ST helped out with this and the picture below explains the proper setup. The setting below in LWIP General Settings, must be set to "1" and this fixed the problem.
2024-03-24 11:59 PM
@spoatechThanks for the Update.
I'd like to like to know if you can ping the STM32F107. If possible, I'd appreciate guidance on configuring it for Ethernet functionality. In my case, I'm unable to ping the STM32F107 when using FreeRTOS and LWIP together, but I can ping it when using LWIP alone without FreeRTOS.
Hardware used : HAOYU Electronics STM107 Board
IDE: STMCubeIDE